Bug Report
Resolved 💬 4 comments Opened Oct 3, 2025 by tjazevedo Closed Jan 7, 2026
Bug Description
503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.0.5
- Feedback ID: 199cee50-5d0a-46b6-970e-5b673c4fe56b
Errors
[{"error":"AbortError: The operation was aborted.\n at unknown\n at abortChildProcess (node:child_process:871:42)\n at onAbortListener2 (node:child_process:35:24)\n at abort (unknown)","timestamp":"2025-10-03T02:44:43.628Z"},{"error":"Error: Failed to create shell snapshot: Command failed: C:\\Program Files\\Git\\bin\\bash.exe -c -l SNAPSHOT_FILE='C:\\Users\\tjaba\\.claude\\shell-snapshots\\snapshot-bash-1759459471424-j747af.sh'\n # No user config file to source\n \n # First, create/clear the snapshot file\n echo \"# Snapshot file\" >| \"$SNAPSHOT_FILE\"\n \n # When this file is sourced, we first unalias to avoid conflicts\n # This is necessary because aliases get \"frozen\" inside function definitions at definition time,\n # which can cause unexpected behavior when functions use commands that conflict with aliases\n echo \"# Unset all aliases to avoid conflicts with functions\" >> \"$SNAPSHOT_FILE\"\n echo \"unalias -a 2>/dev/null || true\" >> \"$SNAPSHOT_FILE\"\n \n echo \"shopt -s expand_aliases\" >> \"$SNAPSHOT_FILE\"\n \n \n # Check for rg availability\n echo \"# Check for rg availability\" >> \"$SNAPSHOT_FILE\"\n echo \"if ! command -v rg >/dev/null 2>&1; then\" >> \"$SNAPSHOT_FILE\"\n echo ' alias rg='\"''\\''C:\\Users\\tjaba\\.local\\bin\\claude.exe'\\'' --ripgrep'\" >> \"$SNAPSHOT_FILE\"\n echo \"fi\" >> \"$SNAPSHOT_FILE\"\n \n # Add PATH to the file\n echo \"export PATH=\\$PATH\" >> \"$SNAPSHOT_FILE\"\n \n \n # Exit silently on success, only report errors\n if [ ! -f \"$SNAPSHOT_FILE\" ]; then\n echo \"Error: Snapshot file was not created at $SNAPSHOT_FILE\" >&2\n exit 1\n fi\n \n at <anonymous> (B:/~BUN/root/claude.exe:1378:142)\n at <anonymous> (B:/~BUN/root/claude.exe:1376:1780)\n at exitHandler (node:child_process:109:27)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:758:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-03T02:44:44.838Z"},{"error":"Error: request ended without sending any chunks\n at new W5 (unknown:1:28)\n at Z (B:/~BUN/root/claude.exe:736:8735)\n at _createMessage (B:/~BUN/root/claude.exe:736:4742)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-03T02:45:17.531Z"},{"error":"Error: 503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused\n at new W5 (unknown:1:28)\n at new _Y (B:/~BUN/root/claude.exe:732:18247)\n at new bW0 (unknown:1:28)\n at generate (B:/~BUN/root/claude.exe:732:18946)\n at makeRequest (B:/~BUN/root/claude.exe:871:5359)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-03T02:51:11.545Z"},{"error":"Error: 503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused\n at new W5 (unknown:1:28)\n at new _Y (B:/~BUN/root/claude.exe:732:18247)\n at new bW0 (unknown:1:28)\n at generate (B:/~BUN/root/claude.exe:732:18946)\n at makeRequest (B:/~BUN/root/claude.exe:871:5359)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-03T02:51:13.515Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n at <parse> (:0)\n at parse (unknown)\n at <anonymous> (B:/~BUN/root/claude.exe:568:9937)\n at W (B:/~BUN/root/claude.exe:535:13292)\n at e$G (B:/~BUN/root/claude.exe:896:37007)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-03T02:51:13.517Z"},{"error":"Error: 503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused\n at new W5 (unknown:1:28)\n at new _Y (B:/~BUN/root/claude.exe:732:18247)\n at new bW0 (unknown:1:28)\n at generate (B:/~BUN/root/claude.exe:732:18946)\n at makeRequest (B:/~BUN/root/claude.exe:871:5359)\n at processTicksAndRejections (native:7:3
Note: Error logs were truncated.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗