This guide covers common issues you might encounter when using PinchTab and how to resolve them.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pinchtab/pinchtab/llms.txt
Use this file to discover all available pages before exploring further.
Installation Issues
Command not found: pinchtab
Command not found: pinchtab
Problem: Shell can’t find the If not found, add the installation directory to your PATH:Or use the full path:
pinchtab command after installation.Solution:Check if the binary is in your PATH:Chrome not found
Chrome not found
Problem: PinchTab can’t locate Chrome/Chromium.Solution:Install Chrome or Chromium:Or specify the Chrome binary path:
Connection Issues
Connection refused (port 9867)
Connection refused (port 9867)
Problem: Can’t connect to PinchTab server.Solutions:
-
Check if PinchTab is running:
-
Check if port is already in use:
If another process is using it, either stop that process or change PinchTab’s port:
-
Check firewall settings:
CDP connection failed
CDP connection failed
Problem: Can’t connect to remote Chrome via CDP_URL.Solutions:
-
Verify Chrome is running with remote debugging:
If this fails, start Chrome with debugging enabled:
-
Check the CDP_URL format:
-
Get the correct CDP_URL:
Chrome Launch Issues
Chrome crashes on startup
Chrome crashes on startup
Problem: Chrome crashes immediately after launch.Solutions:
-
Check Chrome version compatibility:
PinchTab requires Chrome 90+.
-
Try with additional flags (especially in Docker):
-
Clear profile directory:
-
Check available memory:
Chrome requires at least 512MB RAM. If low on memory, try headless mode:
Invalid memory address error
Invalid memory address error
Problem: Crash with “invalid memory address” error.Solutions:
-
Ensure Chrome has at least one window/tab:
-
Clear state and restart:
-
Use fresh start:
Chrome zombie processes
Chrome zombie processes
Problem: Chrome processes remain after PinchTab exits.Solution:Kill orphaned Chrome processes:To prevent this, always shut down PinchTab gracefully:
Runtime Issues
Navigation timeout
Navigation timeout
Tab limit reached
Tab limit reached
Problem: Can’t create more tabs.Solutions:
-
Close unused tabs:
-
Increase tab limit:
High memory usage
High memory usage
Problem: PinchTab/Chrome consuming too much memory.Solutions:
-
Reduce max tabs:
-
Block heavy content:
-
Use headless mode:
-
Close idle tabs programmatically:
-
Monitor memory usage:
Testing Issues
Tests failing with timeout
Tests failing with timeout
Problem: Integration tests timing out.Solution:Increase test timeout:Or run tests with verbose output to see where it hangs:
Pre-commit hooks failing
Pre-commit hooks failing
Problem: Git commit blocked by pre-commit hooks.Solutions:
-
Install pre-commit:
-
Setup hooks:
-
Format code:
-
Run hooks manually:
-
Update hooks:
Docker/Container Issues
Chrome won't start in Docker
Chrome won't start in Docker
Problem: Chrome fails to start in containerized environment.Solution:Use required Chrome flags for containers:Or in docker-compose:Explanation:
--no-sandbox: Required in most Docker setups (no kernel sandboxing)--disable-dev-shm-usage: Fixes/dev/shmsize issues--disable-gpu: Containers often lack GPU accessshm_size: 2gb: Increases shared memory (fixes crashes)
Port conflicts in Docker
Port conflicts in Docker
Problem: Port 9867 already in use on host.Solution:Map to a different host port:Or change PinchTab’s port:
Instance/Profile Issues
Instance won't start
Instance won't start
Problem: Instance creation fails or hangs.Solution:
-
Check available ports:
-
Check instance limit:
Default limit is 100 instances (ports 9868-9968).
-
Manually stop stuck instances:
-
Clear state directory:
Profile corruption
Profile corruption
Problem: Chrome profile is corrupted, causing crashes or weird behavior.Solution:Delete and recreate profile:For specific profiles:
Debugging
Enable Debug Logging
Check Health Endpoint
Inspect Running Instances
Monitor Chrome Processes
Check Port Usage
Test Script
Quick validation script:test-pinchtab.sh
Getting Help
If you’re still stuck:-
Check the logs:
- Search existing issues: https://github.com/pinchtab/pinchtab/issues
-
Open a new issue:
Include:
- PinchTab version (
pinchtab --version) - Chrome version (
google-chrome --version) - Operating system
- Configuration (environment variables)
- Full error logs
- Steps to reproduce
- PinchTab version (
-
Community support:
- GitHub Discussions
- Discord server (link in README)
Common Gotchas
Remember:
- Always use
exportfor environment variables - Environment variables override config file
- Use
BRIDGE_TOKENwhen exposing to network - Chrome requires 512MB+ RAM
- Docker requires
--no-sandboxflag - CDP port has no auth (secure it!)
- Headless mode uses less memory
- Clean up orphaned Chrome processes