Skip to content

/browser or /chrome not working #508

Closed

Description

@astanciu

What version of Code is running?

code 0.6.16

Which model were you using?

gpt-5.2-codex

What platform is your computer?

Darwin 25.2.0 arm64 arm

What steps can reproduce the bug?

I am unable to get either /browser or /chrome working

Image

Current settings:
Image

Then I chose "Use internal browser" and retried, same issue:

Image

I also tried starting chrome with debug port:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222

then /chrome 9222, but that gives me:

 » ❌ Failed to connect to Chrome: CDP error: Failed to discover Chrome WebSocket on port 9222 within 15s: CDP error: Failed to connect to Chrome debug port: error sending request for url
   (http://127.0.0.1:9222/json/version)

Chrome cli shows:

[28222:151711404:0109/091529.921115:ERROR:google_apis/gcm/engine/registration_request.cc:292] Registration response error message: DEPRECATED_ENDPOINT
[28285:151712643:0109/091536.186393:VERBOSE1:chrome/updater/app/app.cc:53] Shutdown: 0
[28285:151712643:0109/091536.186662:VERBOSE2:chrome/updater/event_history.cc:227] Emitted a UPDATER_PROCESS END event to the history log
[28285:151712643:0109/091536.186675:VERBOSE1:chrome/updater/updater.cc:468] UpdaterMain (--wake) returned 0.
[28282:151712639:0109/091536.226066:VERBOSE1:chrome/updater/app/app_wakeall.cc:66] `/Users/alex/Library/Application Support/Google/GoogleUpdater/145.0.7569.0/GoogleUpdater.app/Contents/MacOS/GoogleUpdater --wake` exited 0
[28282:151712627:0109/091536.226193:VERBOSE1:chrome/updater/app/app.cc:53] Shutdown: 0
[28282:151712627:0109/091536.226467:VERBOSE2:chrome/updater/event_history.cc:227] Emitted a UPDATER_PROCESS END event to the history log
[28282:151712627:0109/091536.226480:VERBOSE1:chrome/updater/updater.cc:468] UpdaterMain (--wake-all) returned 0.

Chrome seems to have deprecated or severely limited CDP functionality.

How is any of this supposed to work?

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Activity

  1. GoatInAHat commented on Jan 12, 2026

    @GoatInAHat

    Same issue, browser seems to still work on 0.6.11

  2. added a commit that references this issue on Jan 13, 2026
    c714db0
  3. zemaj commented on Jan 13, 2026

    @zemaj

    Fix is up in PR #522 (branch fix/issues-508-473).

    • Treat chromiumoxide "oneshot canceled" as non-fatal in the CDP handler (prevents browser sessions from being torn down on benign cancels).
    • Ignore proxy env vars for localhost CDP /json/version discovery.
    • Adds a regression test covering proxy env vs discovery.

    This PR includes "Fixes #508" and will auto-close on merge: #522

  4. added a commit that references this issue on Jan 14, 2026
    bfd1533
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions