desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Claude code connexion not working + Codex false positive

Open fborensz opened this issue 6 months ago • 5 comments

OS : Windows11 Installed with .exe Added chrome profile

Can't connect Claude Code account : When I click "Sign in", turns in "waiting..." and no browser opens to log in.

Says "Signed in with Codex" when I didn't do it. And obviously when I launch an agent using codex, it returns "Codex is not installed". As it is false positive, I can't connect it either.

Thanks guys for your work

fborensz avatar May 06 '26 21:05 fborensz

Fixing this! Thanks so much

Cheggin avatar May 07 '26 02:05 Cheggin

hey @fborensz can you check now on latest version?

Cheggin avatar May 11 '26 01:05 Cheggin

Yes Claude OAuth works fine now and no more false positive on Codex. Thanks !

fborensz avatar May 13 '26 09:05 fborensz

I’m seeing a related Codex status flap on Windows with Browser Use Desktop 0.0.31.

Local Codex is installed and callable:

codex path: C:\Users\baris\AppData\Roaming\npm\codex.ps1
codex --version: codex-cli 0.128.0

But Browser Use Desktop repeatedly alternates status results in app.log.

Examples from C:\Users\baris\AppData\Roaming\Browser Use\logs\app.log:

{"ts":"2026-05-16T20:49:07.141Z","level":"info","channel":"app","msg":"sessions.engine-status.result","engineId":"codex","installed":true,"authed":true}
{"ts":"2026-05-16T20:49:11.479Z","level":"info","channel":"app","msg":"sessions.engine-status.result","engineId":"codex","installed":false,"installedError":"Timed out after 5000ms","authed":true}
{"ts":"2026-05-16T20:49:19.514Z","level":"info","channel":"app","msg":"sessions.engine-status.result","engineId":"codex","installed":true,"authed":true}
{"ts":"2026-05-16T20:49:40.736Z","level":"info","channel":"app","msg":"sessions.engine-status.result","engineId":"codex","installed":false,"installedError":"Timed out after 5000ms","authed":true}

This repeats within seconds while the app is open. From the outside it looks like Desktop recognizes Codex as the assigned agent, then disconnects or marks it unavailable again.

This looks like the UI/status layer may be treating transient 5s detection timeouts as real disconnect/uninstalled states, even though Codex is present and authenticated.

Environment:

  • OS: Windows
  • Browser Use Desktop: 0.0.31
  • GitHub: ancientagent
  • Discord: voider

ancientagent avatar May 16 '26 20:05 ancientagent

The status flap example looks like a probe problem, not a real install-state transition.

If codex --version is stable locally, I’d treat a 5s detection timeout as probe_unknown or probe_timed_out, not installed=false. Otherwise the UI collapses a transient check failure into a false disconnect/uninstalled story.

We’ve run into the same class of issue around agent control loops: transport or probe uncertainty should stay separate from task/runtime state or the operator ends up debugging the wrong layer.

Keesan12 avatar May 17 '26 23:05 Keesan12