Codespaces opens then fails saying "Oh no, it looks like you're offline!" #170375
Replies: 4 comments 3 replies
-
Hi jmusone, The “Oh no, it looks like you’re offline!” message usually means the browser or Codespace client can’t reach the Codespaces backend. A few things to check:
If these steps don’t help, the attached console logs can be shared with GitHub support—they can inspect backend errors for your specific Codespace. |
Beta Was this translation helpful? Give feedback.
-
For anyone using Firefox that comes across this issue: Changing |
Beta Was this translation helpful? Give feedback.
-
Try another browser or open Codespaces in private/incognito mode. Disable or adjust privacy/tracking protections (in Firefox or any browser) to see if that changes things. Check logs/console for any specific error messages (like certain resources failing to load, certificate errors, CORS errors, etc.). Check whether your network or firewall might be blocking *.github.dev or the Codespaces backend domains. If possible try a different network. Stop / restart the codespace via GitHub → Codespaces dashboard. Clear cookies / log out of GitHub, then log in fresh. Check the GitHub status page to see if Codespaces services are experiencing outages. If none of these resolve it, collect console logs and any error response codes, then open a ticket with GitHub Support, including the codespace name (“symmetrical-engine-g7r74prxvx6c96wg”) and the logs. |
Beta Was this translation helpful? Give feedback.
-
Hi there - thanks for sharing the details and the console logs, that helps. tl;drIn short: the From what I can see, the error isn't coming from your code directly but rather from the Codespaces instance URL itself. When you spin up a Codespace, GitHub gives it a temporary subdomain like:
That URL only works while the Codespace is actively running. If the Codespace is stopped, suspended, or has timed out, any API call to it will return network/unauthorized style errors (since the backend container is literally offline). A few things you can try:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Frankly I just don't know how to resolve this issue. My codespace is called symmetrical-engine-g7r74prxvx6c96wg and the first failing API call is POST
https://symmetrical-engine-g7r74prxvx6c96wg.github.dev/diagnostic?cors=true&content-type=application/x-json-stream&w=0
I've attached the console logs. I also checked the troubleshooting guide and none of it seemed to apply to me, but maybe I'm misinterpreting. Would appreciate any help!
console-export-2025-8-19_21-37-56.log
Beta Was this translation helpful? Give feedback.
All reactions