You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Request failed due to a transient API error" on Ubuntu WSL using Copilot CLI #363
I am experiencing a persistent issue while using the GitHub Copilot CLI within my Ubuntu WSL environment. When attempting to execute a prompt, the CLI repeatedly throws a "transient API error" and gets stuck retrying, failing to return a response.
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
✗ Sorry, you've hit a rate limit that restricts the number of Copilot model requests you can make within a specific time period. Please try again in 1 minute. Please review our Terms of Service (https://docs.github.com/site-policy/github-terms/github-terms-of-service).
GitHub Copilot v1.0.4
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.4 LTS
Release: 24.04
Codename: noble
Issue:#363 — "Request failed due to a transient API error" on Ubuntu WSL using Copilot CLI Assigned to: Flight (Lead) Reason: No specific domain match — assigned to Lead for further analysis
@copilot evaluation: No strong capability match — routed to squad member.
WSL networking can sometimes cause connection issues. Try:
\wsl --update\ to ensure you're on the latest WSL version
Set
etworkingMode=mirrored\ in .wslconfig\ (WSL 2.0+)
Test with --no-pager\ flags if the issue is with output buffering
What Squad Does NOT Contribute To:
✅ Squad does NOT make excessive API calls during init/spawn
✅ Squad does NOT bypass Copilot CLI's rate limiting
✅ Squad does NOT modify how Copilot CLI retries transient errors
The retry loop you're seeing is Copilot CLI's internal behavior, not Squad's. Squad only interacts with the CLI via the @github/copilot-sdk\ adapter after the CLI is already running.
Recommendation:
This is a platform/environment issue rather than a Squad bug. I recommend:
Try the workarounds above
If the issue persists, file a report with GitHub Copilot Support (include your WSL version, Ubuntu version, and the full error trace)
Monitor for WSL/Copilot CLI updates that may address connectivity stability
I'll label this as
ot-a-bug\ (upstream issue) and
eeds-docs\ to add troubleshooting guidance for WSL users. Let me know if any of the workarounds help!
Update: Attempted to add a
ot-a-bug\ label but that label doesn't exist in this repo. I've added \ ype:docs\ to track the documentation improvement needed (WSL troubleshooting guide).
If you'd like to close this issue since it's an upstream platform issue, feel free to do so after trying the workarounds. Otherwise, we can keep it open to track the documentation task.
Thanks for reporting this! This isn't a Squad issue — it's the GitHub Copilot CLI hitting API rate limits. The error message confirms it: you've hit a rate limit.
What to do:
Wait 1-2 minutes and retry (the rate limit resets quickly)
If persistent, check your Copilot subscription tier
Make sure you're on the latest Copilot CLI version
This is upstream Copilot behavior, not something Squad can control. Closing — feel free to reopen if you believe there's a Squad-specific angle.
Activity
github-actions commentedon Mar 13, 2026
🏗️ Squad Triage — Flight (Lead)
Issue: #363 — "Request failed due to a transient API error" on Ubuntu WSL using Copilot CLI
Assigned to: Flight (Lead)
Reason: No specific domain match — assigned to Lead for further analysis
@copilot evaluation: No strong capability match — routed to squad member.
Team roster:
squad:flightsquad:proceduressquad:eecomsquad:fidosquad:paosquad:capcomsquad:controlsquad:surgeonsquad:boostersquad:gncsquad:networksquad:retrosquad:incosquad:guidosquad:telemetrysquad:voxsquad:dskysquad:simssquad:handbooksquad:ralphsquad:copilotbradygaster commentedon Mar 15, 2026
Analysis: Transient API Error on Ubuntu WSL
Hi @matheuszhs, thanks for reporting this. I've investigated our codebase to determine if Squad is contributing to this issue.
Finding: This is an upstream Copilot CLI/API issue
The "transient API error" followed by rate limiting is coming from the GitHub Copilot API platform itself, not Squad. Here's what I found:
Squad SDK implements robust retry logic:
The error pattern you're seeing suggests:
Workarounds to Try:
WSL-Specific Considerations:
WSL networking can sometimes cause connection issues. Try:
etworkingMode=mirrored\ in .wslconfig\ (WSL 2.0+)
What Squad Does NOT Contribute To:
✅ Squad does NOT make excessive API calls during init/spawn
✅ Squad does NOT bypass Copilot CLI's rate limiting
✅ Squad does NOT modify how Copilot CLI retries transient errors
The retry loop you're seeing is Copilot CLI's internal behavior, not Squad's. Squad only interacts with the CLI via the @github/copilot-sdk\ adapter after the CLI is already running.
Recommendation:
This is a platform/environment issue rather than a Squad bug. I recommend:
I'll label this as
ot-a-bug\ (upstream issue) and
eeds-docs\ to add troubleshooting guidance for WSL users. Let me know if any of the workarounds help!
CAPCOM (SDK Expert)
bradygaster commentedon Mar 15, 2026
Update: Attempted to add a
ot-a-bug\ label but that label doesn't exist in this repo. I've added \ ype:docs\ to track the documentation improvement needed (WSL troubleshooting guide).
If you'd like to close this issue since it's an upstream platform issue, feel free to do so after trying the workarounds. Otherwise, we can keep it open to track the documentation task.
github-actions commentedon Mar 15, 2026
🏷️ Issue type updated →
type:docsmatheuszhs commentedon Mar 15, 2026
@bradygaster thanks for the reply, it was probably an instability with Copilot or the gh CLI
fix: safe filenames — replace colons in timestamps for Windows compat (…
bradygaster commentedon Mar 20, 2026
Thanks for reporting this! This isn't a Squad issue — it's the GitHub Copilot CLI hitting API rate limits. The error message confirms it: you've hit a rate limit.
What to do:
This is upstream Copilot behavior, not something Squad can control. Closing — feel free to reopen if you believe there's a Squad-specific angle.
bradygaster commentedon Mar 20, 2026
Closing — this is a Copilot CLI rate limit, not a Squad issue.