Dispatch/Cowork: ECONNRESET when connecting to API

Resolved 💬 5 comments Opened Mar 28, 2026 by mapecha Closed Apr 28, 2026

Description

Getting API Error: Unable to connect to API (ECONNRESET) when trying to run dispatch for cowork.

Environment

  • Claude Code version: 2.1.86
  • OS: macOS (Darwin 25.1.0)
  • Auth method: OAuth token (first party)
  • ANTHROPIC_BASE_URL: https://api.anthropic.com

Debugging done

  • Direct API connectivity works fine (curl to api.anthropic.com succeeds, TLS handshake completes, returns proper responses)
  • DNS resolves correctly (160.79.104.10)
  • No proxy environment variables set
  • Auth status shows logged in
  • Claude Code is on latest version (2.1.86)
  • Anthropic status page shows all systems operational
  • Uninstalled Cisco AnyConnect VPN — issue persists
  • Multiple utun interfaces present (macOS system tunnels)

Expected behavior

Dispatch/cowork should connect to the API successfully.

Actual behavior

Connection resets with ECONNRESET error immediately.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗