microsoft / microsoft/vscode

Intermittent session disconnects and automatic page refreshes in GitHub Codespaces

Open
#331,108 0 comments 0 reactions 1 assignee Claimed by @osortega View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

ADD ISSUE DESCRIPTION HERE

​Problem Description:
While actively working in GitHub Codespaces (VS Code in the browser), the connection intermittently drops without warning. The editor loses connection to the remote environment and automatically reloads/refreshes the page, causing brief workflow interruptions and unsaved state resets.
​Steps to Reproduce:
​Open any repository in GitHub Codespaces using the browser-based VS Code interface.
​Work continuously on a project (editing files, running terminal commands, or navigating code).
​After a period of active use, the connection indicator flags a disconnect, and the browser automatically reloads the session.
​Expected Behavior:
The Codespaces session should maintain a stable, persistent connection during active work without sudden disconnects or automatic page reloads.
​Actual Behavior:
The session frequently disconnects mid-work and forces a browser page refresh, disrupting the active workspace environment.

Version: 1.133.0
Commit: a5b500951314efd502d07465bd138dfbd714a960
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36
Embedder: codespaces

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.