-
Notifications
You must be signed in to change notification settings - Fork 234
Description
Summary
The Dev Browser extension won’t connect to the local relay server. The extension UI stays on “Connecting,” while the relay server continues to report extensionConnected: false.
Environment
- OS: macOS
- Dev Browser skill path: /Users/jordyvandomselaar/.codex/skills/dev-browser
- Relay server URL: http://localhost:9000 (extension endpoint ws://localhost:9000/extension)
- Node: v22.13.1
Steps Tried
-
Started relay server with npm run start-extension in skills/dev-browser.
-
Verified relay output:
[relay] CDP relay server started
[relay] HTTP: http://localhost:9000
[relay] CDP endpoint: ws://localhost:9000/cdp
[relay] Extension endpoint: ws://localhost:9000/extension
[relay] Waiting for extension to connect... -
Checked relay status via client API (getServerInfo), which returned:
{
wsEndpoint: 'ws://localhost:9000/cdp',
mode: 'extension',
extensionConnected: false
} -
Restarted the relay server multiple times; extension still shows “Connecting.”
-
Suggested client-side steps (toggle connect, reload extension, confirm endpoint), but still no connection.
Expected
Extension should connect and relay should show extensionConnected: true.
Actual
Extension UI stays “Connecting” and relay stays “Waiting for extension to connect…”.
Notes
- Initial relay startup required elevated permissions in the sandbox to bind IPC (EPERM when sandboxed).
- If needed, I can provide logs or run additional diagnostics.