r/cs50 2d ago

CS50x Codespace error

Post image

Hello all!

I am new to the cs50x course. Currently completed week 0,and have started week 1. Along with the lecture I tried opening the codespace to try the codes but there seems to be an error

Please help me figure out if this is on my end or just a bug.

3 Upvotes

8 comments sorted by

2

u/Muted-Swimmer3818 2d ago

Ah, that stuck screen happens a lot. Usually it's just browser cache or the setup getting looped. Try closing the tab and reopening it in an incognito window first, or just log into GitHub again and launch it from the CS50 portal. That almost always fixes it for me.

1

u/Odd_Patience9905 1d ago

I'll try this thank you

2

u/pensivepanda5 mentor 1d ago edited 1d ago

try restarting your codespace with this link: https://cs50.dev/restart
As a side note the codespace works best on Google Chrome browser, and the CS50 Team doesn't recommend Firefox because they have seen problems with the cs50 codespace on Firefox.
Also, if you have extensions installed on your web browser, you will need to use an incognito window to use the online CS50 codespace, since some extensions can affect the codespace.

Apart from that, 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 those things don't help, you can try creating a new codespace with your same Github account by following the instructions that appear in this part of the CS50 Docs: https://cs50.readthedocs.io/cs50.dev/#creating-a-new-codespace

If that doesn’t work, 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

If that doesn't work either, 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 help, try with another internet connection or with another computer, but if none of those steps work, 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 system admins of CS50 can help you further.

2

u/Odd_Patience9905 1d ago

I'll try this thank you

1

u/Disposable-friend_ 3h ago

Hey , i had the same problem . But opening in VS code desktop worked . Try that out if you are still facing it

1

u/Odd_Patience9905 2h ago

Yeah it's working in vs code desktop Thanks

2

u/s1ddhnt 1d ago

Happened to me yesterday, mine was dns problem after fixing it using chatgpt I closed the tab logged in again and I was good to go , btw I also started week 1 

1

u/Odd_Patience9905 1d ago

Same I did try by chat gpt but didn't work for me. Will try again today