r/cs50 • • 19d ago

CS50x CS50.dev codespace stuck on "Setting up your codespace" – tried deleting and recreating, still no luck

Post image

Hi everyone,

I'm having trouble getting my CS50.dev terminal to open. My codespace has been stuck on the "Setting up your codespace" message for a very long time and never finishes loading.

Here's what I've already tried:

- Deleted the stuck codespace and created a new one (as suggested by cs50.ai)

- Cleared my browsing history and cache

- Switched from Microsoft Edge to Google Chrome

- Confirmed my internet connection is stable

- Checked the GitHub status page and the CS50 status page, and both show all systems operational

The new codespace shows the exact same message in both browsers and never gets to the terminal.

Has anyone run into this before? Is there anything else I can try, such as changing codespace settings or something specific to the CS50 setup?

Any help would be really appreciated. Thanks in advance!

5 Upvotes

4 comments sorted by

3

u/pensivepanda5 mentor 18d ago

As our classmate Lelouch_ORV suggested in his reply, you could try opening the online CS50 Codespace in the VS Code desktop app, in this part of the CS50 Docs they give the steps for that: https://cs50.readthedocs.io/cs50.dev/#online-without-docker , it has worked for various students.

If that doesn't work, try with another internet connection or on another computer.
Also, if in your country is legal to use a VPN, in that case you could try using a VPN to use the codespace: https://cs50.dev/
Apart from that, in this part of the CS50 Docs they shared the link to a list of domains that shouldn't be blocked by our Firewall to be able to use the codespace:  https://cs50.readthedocs.io/cs50.dev/#i-m-seeing-oh-no-it-looks-like-you-are-offline-error-message

But if none of those steps help to solve the issue, please send an email to sysadmins@cs50.harvard.edu with specific details and screenshots of the issue, and mention to them your Github username, so the CS50's system admins can help you further.

1

u/Davidchase4267 18d ago

Thanks for the suggestion! Quick update: I deleted my old GitHub account and created a brand-new one just for CS50, but the new codespace got stuck on the same "Setting up your codespace" message. Since nothing else has worked, I'm going to do the coursework offline using the Docker method that CS50.ai suggested. Hopefully that works. I'll update this thread if I learn anything new, and if anyone finds a fix for the codespace issue, I'd still love to hear it.

1

u/pensivepanda5 mentor 18d ago

ok, regarding https://cs50.dev/ , I would still recommend emailing to sysadmins@cs50.harvard.edu with specific details and screenshots of the issue, and mention to them your Github username, so the CS50's system admins can help you further, they usually reply within a day or 2.

3

u/Lelouch_ORV 18d ago

Go to codespaces in github then choose open in vscode. That's what I did when I encountered this. After that I'm not opening it in web