Claude Code only processes one prompt per session, then times out until restart (WSL)

Resolved 💬 12 comments Opened Apr 19, 2025 by tomazbc Closed May 8, 2025

Environment

  • Platform (select one):
  • [x ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • Claude CLI version: 0.2.74 (Claude Code)
  • Operating System: Ubuntu 22.04.5 LTS (under Windows Subsystem for Linux)
  • Terminal: WSL

Bug Description

This started 2 days ago all of a sudden.
https://status.anthropic.com/ reports "All Systems Operational" during this whole time.
After starting Claude, I can send one prompt successfully. However, all subsequent prompts fail with a timeout error. The system enters a retry loop such as:

API Error (Request timed out.) · Retrying in 1 seconds… (attempt 1/10)

Eventually, it fails entirely or says Claude is offline. Restarting the session allows one more prompt to go through before the issue occurs again.

Steps to Reproduce

  1. Start Claude CLI inside WSL.
  2. Send a prompt — works as expected.
  3. Send another prompt — fails with timeout.
  4. Restart Claude — issue resets and repeats.

Expected Behavior

Claude should continue to process multiple prompts in a session without timing out after the first one.

Actual Behavior

Only the first prompt works. Every subsequent prompt times out and enters a retry loop, making it unusable without restarting each time.

Additional Context

  • Consistently reproducible.
  • No network issues observed on the host system.
  • Running inside Windows 11 using WSL (Windows Subsystem for Linux).
  • Happy to provide logs or additional environment details if needed.

View original on GitHub ↗

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