Skip to content
Discussion options

You must be logged in to vote

Hey! I've seen this issue come up a few times and it's usually one of these causes:

1. Check your Codespace timeout settings

Go to your GitHub settings and make sure the idle timeout is set high enough:

Settings → Codespaces → Default idle timeout

Set it to at least 30 minutes to rule out premature disconnections.

2. Try the VS Code Desktop app instead of browser

Browser-based Codespaces are more sensitive to network fluctuations. Install VS Code locally and connect via the GitHub Codespaces extension instead:

# Install the GitHub Codespaces extension in VS Code desktop
ext install GitHub.codespaces

This alone fixes the disconnection issue for most people.

3. Check your network stability

E…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by luffynokaizoku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
2 participants