GitHub Codespaces stuck at “Setting up your codespace” — multiple JavaScript assets return 404 #212361
Replies: 4 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
Additional technical information — November 8, 2026 I am experiencing the same intermittent GitHub Codespaces startup issue. I have collected browser console logs from both failed and successful attempts, as well as a read-only diagnostic of the Codespace startup logs. Environment (yes I know)Desktop client
Mobile client
GitHub Codespace
The same Codespace worked normally before these recent issues. 1. JavaScript assets returning HTTP 404When startup fails, Firefox reports 16 JavaScript files returning HTTP 404 from
Opening the last file directly returns HTTP 404 on both my desktop and mobile devices. Clearing Firefox's cache and cookies has not permanently resolved the problem. 2. Intermittent startup failuresThe Codespace frequently remains stuck on "Setting up your codespace", even when GitHub reports its state as Active or Available. On two occasions, I managed to restore desktop access after reconnecting to the same Codespace from my Android phone and then performing a forced browser reload ( Today, the mobile client initially reported a connection loss / fetch error. After reconnecting from mobile and refreshing the desktop browser, the Codespace worked again. I cannot determine whether the mobile reconnection actually triggered recovery or whether this was coincidental. 3. Comparison with a successful startupDuring a successful startup on November 8, the previously observed 16 HTTP 404 errors were absent from the browser console. The SSH tunnel was successfully authenticated, the WebSocket connections returned However, several errors remained: The successful web client initialization reported approximately 33 seconds across its measured startup phases. 4. Codespace startup diagnosticsA read-only investigation of the Codespace's internal logs identified an unexplained interval of 6 minutes and 27 seconds between the estimated Linux machine boot time and the first recorded Codespaces configuration activity. Once configuration started, the recorded operations were relatively fast:
The available logs do not identify what caused the initial unexplained delay. 5. Request for investigationCould the GitHub Codespaces team please investigate:
I can provide redacted browser console logs and Codespaces startup logs if necessary. Important: This Codespace contains uncommitted and untracked development files, local Codex sessions, and other persistent data. Please do not rebuild, reset, or delete the Codespace without my explicit approval. |
|
I reproduced the same startup hang on November 8–9, 2026. My existing Codespace stalled on “Setting up your codespace” in Chrome and the ChatGPT in-app browser, and I saw the same behavior on a second laptop. Restarting the existing Codespace did not resolve it. For a clean reproduction, I created a fresh 2-core Codespace from GitHub’s official Blank template at github.com/codespaces. The dashboard showed it as Active, but the web editor stayed on the setup screen even after a refresh. The test had no project-specific setup. My personal Free account had included compute and storage remaining, and GitHub Status showed Codespaces as operational when I checked. I haven’t independently confirmed the JavaScript 404s in the original report. Is there a diagnostic that would help determine whether the Blank-template hang has the same cause? |
|
+1 |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
Hi GitHub Community,
I’m experiencing an issue where multiple existing GitHub Codespaces are permanently stuck at “Setting up your codespace”. The browser-based VS Code editor never finishes loading.
This affects multiple Codespaces across different repositories, including private repositories.
Environment
Technical findings
Browser Developer Tools (Network tab) shows multiple JavaScript assets failing with HTTP 404.
Example failing asset:
https://assets.github.dev/static/commons-bootstrap~pfHelper-index.js.c50a5df21e8e36ed835b.js
HTTP response:
The Codespace startup logs indicate successful container initialization:
This suggests the issue may occur during web editor initialization rather than container startup.
Troubleshooting already performed
The issue persists across these tests.
Expected behavior
Existing Codespaces should load the browser-based VS Code editor successfully.
Actual behavior
The editor remains indefinitely at “Setting up your codespace”, while multiple required JavaScript assets return HTTP 404.
Questions
I would prefer not to delete or rebuild the affected Codespaces because they may contain uncommitted work.
I can provide exact Codespace identifiers and additional diagnostic logs privately to GitHub Support if needed.
Thanks for any help!
All reactions