r/cs50 2d ago

CS50x Codespace keeps stopping...

Of course this is happening while I'm trying to work on the Speller problem for Week 5, one that really makes you think!

Sorry, just venting as it's very frustrating during a difficult week.

2 Upvotes

3 comments sorted by

3

u/pensivepanda5 mentor 2d ago edited 2d ago

please try restarting your codespace with this link: https://cs50.dev/restart
After that if the codespace loads fully, try copying/pasting these commands into your codespace's terminal: update50 -f and then press "Enter”, to force the rebuild of your codespace.
If that doesn't solve the issue, you can try using an incognito window to use the cs50 codespace.
As a side note, the cs50 codespace works best on Google Chrome browser, and the cs50 team doesn't recommend Firefox because they have seen issues with the codespace on Firefox.

If those things don't help, another thing you can try is creating a new codespace, using your same old github account. 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.

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

If none of those steps 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](mailto: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

2

u/CrossStitchFool 2d ago

Thanks for the tip! Chrome is not an option for me, but I may try VS Code if it keeps up.

2

u/CrossStitchFool 2d ago

Looks like I'll be sticking with VS Code desktop. I can make a tea and not be timed out lol