Skip to content

Claude Code ConnectionRefused #16331

Description

@alaireselene

Bug Description
Previously my Claude code work normally, but today it tell me that ConnectionRefused. I use all default option, no firewall, no VPN, ping to claude endpoint worked. And Claude Code on web also not work for me, infinite loop. Can you guys help me check it out?

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.0.76
  • Feedback ID:

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/sonnt/.local/share/claude/versions/2.0.76 (expected in multi-process scenarios)\n    at JKA (/$bunfs/root/claude:2430:2165)\n    at uwL (/$bunfs/root/claude:2430:1885)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-05T09:14:18.596Z"},{"error":"SyntaxError: JSON Parse error: Property name must be a string literal\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:78:751)\n    at L (/$bunfs/root/claude:11:6978)\n    at j79 (/$bunfs/root/claude:2563:26855)\n    at async mS1 (/$bunfs/root/claude:2563:29641)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-05T09:14:19.239Z"},{"error":"Error: Connection error.\n    at makeRequest (/$bunfs/root/claude:801:4548)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-05T09:14:20.184Z"},{"error":"Error: 1P event logging: 131 events failed to export\n    at queueFailedEvents (/$bunfs/root/claude:190:35345)\n    at doExport (/$bunfs/root/claude:190:34453)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-05T09:14:23.595Z"},{"error":"Error: {\"message\":\"Failed to export 131 events\",\"originalLine\":\"190\",\"originalColumn\":\"34532\",\"line\":\"190\",\"column\":\"34532\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 131 events\\n    at doExport (/$bunfs/root/claude:190:34532)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:1618:25028)\n    at <anonymous> (/$bunfs/root/claude:189:61116)\n    at IY$ (/$bunfs/root/claude:189:61660)\n    at <anonymous> (/$bunfs/root/claude:190:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-05T09:14:23.595Z"},{"error":"Error: 1P event logging: 58 events failed to export\n    at queueFailedEvents (/$bunfs/root/claude:190:35345)\n    at doExport (/$bunfs/root/claude:190:34453)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-05T09:14:30.418Z"},{"error":"Error: {\"message\":\"Failed to export 58 events\",\"originalLine\":\"190\",\"originalColumn\":\"34532\",\"line\":\"190\",\"column\":\"34532\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 58 events\\n    at doExport (/$bunfs/root/claude:190:34532)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:1618:25028)\n    at <anonymous> (/$bunfs/root/claude:189:61116)\n    at IY$ (/$bunfs/root/claude:189:61660)\n    at <anonymous> (/$bunfs/root/claude:190:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-05T09:14:30.418Z"},{"error":"Error: 1P event logging: 1 events failed to export\n    at queueFailedEvents (/$bunfs/root/claude:190:35345)\n    at doExport (/$bunfs/root/claude:190:34453)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-05T09:14:36.163Z"},{"error":"Error: {\"message\":\"Failed to export 1 events\",\"originalLine\":\"190\",\"originalColumn\":\"34532\",\"line\":\"190\",\"column\":\"34532\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 1 events\\n    at doExport (/$bunfs/root/claude:190:34532)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:1618:25028)\n    at <anonymous> (/$bunfs/root/claude:189:61116)\n    at IY$ (/$bunfs/root/claude:189:61660)\n    at <anonymous> (/$bunfs/root/claude:190:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-05T09:14:36.163Z"},{"error":"Error: 1P event logging: 8 events failed to export\n    at queueFailedEvents (/$bunfs/root/claude:190:35345)\n    at doExport (/$bunfs/root/claude:190:34453)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-05T09:14:41.996Z"},{"error":"Error: {\"message\":\"Failed to export 8 events\",\"originalLine\":\"190\",\"originalColumn\":\"34532\",\"line\":\"190\",\"column\":\"34532\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 8 events\\n    at doExport (/$bu

Note: Error logs were truncated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions