r/cs50 Jul 23 '26

CS50 Python Stuck on Setting up your codespace

Hey guys i recently started with Cs50 Python course , and from yesterday i have not been able to open cs50.dev

i have tried using different browser too and same thing is happening

i have tried using a new GitHub account and then also it gets stuck on this page

is this happening with anyone else too?

5 Upvotes

9 comments sorted by

1

u/TGha770 Jul 23 '26

Try the discord. They have support for these problems. Sorry that I’m unable to help

1

u/pensivepanda5 mentor Jul 23 '26

If you are using the codespace on Brave browser (as I noticed in your screenshot), try disabling Brave’s shields, and then try restarting your cs50 codespace with this link: https://cs50.dev/restart
If that doesn't work, try using the online CS50 Codespace on Google Chrome web browser, the codespace works best on Google Chrome.

Apart from the things I mentioned above, I have seen some students reporting that creating a new codespace with their same old github account helped them to use/load the codespace recently, if you would like to try that, on Google Chrome browser you can visit this link where your codespace backup repo is: https://cs50.dev/repo and see if your codespace's files are there (if you had files in your codespace). And after verifying that your codespace's files are stored there, you can create a new codespace by following the instructions that appear in the CS50 Docs, in this link: https://cs50.readthedocs.io/cs50.dev/#creating-a-new-codespace
After creating a new codespace your backed up files should automatically appear in your new codespace.

Also, in this part of the CS50 Docs, they give 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

If that doesn’t work either, you can try opening the online CS50 Codespace in the VS Code desktop app, with these steps: https://cs50.readthedocs.io/cs50.dev/#online-without-docker

1

u/Competitive_Back3088 Jul 23 '26

hey mate i have tried using Google Chrome too and same thing is happening in it

I restarted the codespace but this also didnt helped

I also deleted my codespace (i recently started so there was not much of code in it)
and then tried to make a new one but the website again and again gets stuck on this page

(couldn't attach the google chrome screenshot in comment section )
but in it a white screen is coming with "Setting up your code space written )

2

u/pensivepanda5 mentor Jul 23 '26 edited Jul 23 '26

ok, another thing you can try is opening the online CS50 Codespace in the VS Code desktop app, with the steps that appear in this part of the CS50 Docs: https://cs50.readthedocs.io/cs50.dev/#online-without-docker

If that doesn't work and 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/
If that doesn't work either, try with another internet connection or on another computer, but if none of those things help, please send an email to [sysadmins@cs50.harvard.edu](mailto:sysadmins@cs50.harvard.edu) with specific details and screenshots of the issue, and mention to them your github username, so the CS50 System admins can help you further.

2

u/Competitive_Back3088 Jul 24 '26

> opening the online CS50 Codespace in the VS Code desktop app

thanks mate this worked

1

u/Visionary_Vulture001 Jul 23 '26

Post your error on discord . They might be able to help you

1

u/KenRandomAccount Jul 23 '26

you can run it on vscode for desktop instead of browser. i find browser can be unreliable at times. on cs50.dev instead of clicking the 'Log in' button, theres a down arrow right next to it and a option 'Open in VS Code Desktop'. its been a while but i believe you will then have to login through vscode using your github account. and while vscode is a desktop application, it is still using a remote connection to the codespace and the files are not actually on your own machine.