unable to run codespace due to Failed to start VS Code Remote server #38410
-
|
Hey, we are constantly getting the following error when launching codespace: An unexpected error occurred that requires a reload of this page. And after reload, it still doesn't work and there is not indication of a downtime in the status page Any ideas what could be the problem? |
Beta Was this translation helpful? Give feedback.
Replies: 18 comments 58 replies
-
|
Do you have a lot of browser extensions installed? |
Beta Was this translation helpful? Give feedback.
-
|
Some more context:
Any help would be appreciated :) |
Beta Was this translation helpful? Give feedback.
-
|
@moshederri Are you currently hosting it on docker? If you are, it seems like it could be related to docker/wsl being down. What are the results from running the |
Beta Was this translation helpful? Give feedback.
-
|
Same issue now, I tried to open it on firefox, chrome and safari, and I get the same issue.
|
Beta Was this translation helpful? Give feedback.
-
|
I am presently seeing this issue. I have a codespace and a backup on opposite regions. First codespace worked, then couldn't start it again. Switched to other, worked shut it down, then couldn't start it again. |
Beta Was this translation helpful? Give feedback.
-
|
I am having this issue while trying to log into https://cs50.dev/. I get the error message: An unexpected error occurred that requires a reload of this page. The workbench failed to connect to the server (Error: exception was thrown by handler. exception: failed to start vs code remote server.) |
Beta Was this translation helpful? Give feedback.
-
|
I am having the exact same issue. I found this webpage to look at the status of cs50.dev. https://cs50.statuspage.io/ |
Beta Was this translation helpful? Give feedback.
-
|
For a temporary work-around, opening the codespace in JupyterLab (Beta) seems to be working for me. Seems to be working for me as of 7/18/24 9:51 PM CDT |
Beta Was this translation helpful? Give feedback.
-
|
An unexpected error occurred that requires a reload of this page. today plz help |
Beta Was this translation helpful? Give feedback.
-
|
same issue for me - codespaces seems down |
Beta Was this translation helpful? Give feedback.
-
|
I am facing this issue today. Is there a solution for this? |
Beta Was this translation helpful? Give feedback.
-
|
I am facing this issue today. Is there a solution for this? |
Beta Was this translation helpful? Give feedback.
-
|
No
…On Thu, Aug 8, 2024, 8:00 PM moeedcaesar ***@***.***> wrote:
did your problem resolved?
—
Reply to this email directly, view it on GitHub
<#38410 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BED7H7Z7Y3VW2A3EUMZ7D5LZQOBYXAVCNFSM6AAAAAARYMEJHGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRXGY3TMOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
I am searching on it
…On Thu, Aug 8, 2024, 8:02 PM moeedcaesar ***@***.***> wrote:
I am also facing this issue, is there any solution around?
—
Reply to this email directly, view it on GitHub
<#38410 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BED7H72RP6HG6LMNWOUAOEDZQOCAVAVCNFSM6AAAAAARYMEJHGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRXGY3TQNI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the help, I was actually quite worried on what to do or what not
…On Mon, Aug 12, 2024 at 9:36 PM jaroslav25 ***@***.***> wrote:
working. It usually takes a day or two, or a few hours and starts to work
on its own.
—
Reply to this email directly, view it on GitHub
<#38410 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJFBGHCJAGIBG4MMUZJWOI3ZRDP7RAVCNFSM6AAAAAARYMEJHGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZRGY3TEMY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
It's internet connection problem. try to restart your router, that works for me. |
Beta Was this translation helpful? Give feedback.
-
|
It is the year 2025. The world is on fire and so is Codespaces ...again. The error "failed to start VS Code remote server" haunts our developers. Two weeks ago, this error appeared, apparently with no changes to our devcontainer setup. The error persists across repositories, GH organisations, even a blank devcontainer fails to start. It happens across browsers, work locations (home on private network but still corporate firewall/Windows group policy, VPN, work intranet, phone hotspot), browser extensions and privacy blocks (all off). No solutions found on the web worked. It felt like a networking problem, but no logs and no debugging gave us any actionable insight. We ended up figuring out that the reason for our breakage was ...our corporate firewall blocking dodgy domains used by "beta" host images. The solution was:
A runner-up would have been "VS Code settings sync" for the possibility of the beta image using a newer VS Code version which might incompatible with the older settings. (The second problem we experience is that a Codespace, once stopped and re-started, loses its DNS settings and cannot reach GitHub.) |
Beta Was this translation helpful? Give feedback.
-
|
We had |
Beta Was this translation helpful? Give feedback.

hey,
In our Dockerfile we had ENV HOME pointing to
/root(without overridingremoteUser). We didn't understand why after we removed it, codespaces started working again, and after reading your comment, it all makes sense now.thank you @jkeech !