Even the smoothest remote workspace can hit a snag. This guide walks you through the quickest fixes for the most common remote workspace issues.

Quick Reference

CategoryTypical Symptoms
Workspace Creation“Provisioning” forever, cloning errors, devcontainer upload fails
ConnectionCan’t attach from session, pairing spinner never stops, “Machine unavailable”
PerformanceSlow rebuilds, high latency in terminal, laggy editor
DevcontainerBuild errors, “command not found”, ports not reachable
General UsageGit asks for credentials, disk full, permission denied

1. Workspace Creation Issues


2. Connection Problems

1

Check Machine Selector

In your session, click the CPU icon → ensure Cloud Machine is selected.
If it shows Local Machine, switch to Cloud Machine and pick the workspace.

2

Browser & Network

  • Use Chrome or Edge (other browsers may block WebSocket upgrades).
  • Disable VPN/proxy to rule out WebSocket filtering.
  • Reload the session tab (⌘R / Ctrl-R).

3. Performance & Speed

SymptomFix
Rebuild takes > 5 min• Add .dockerignore for node_modules, *.pyc, build outputs• Use a lighter base image (e.g., alpine)
Terminal latency• Close unused browser tabs with heavy JS• Check local bandwidth (>5 Mbps recommended)• Pause real-time spell-checker extensions
Editor lag• Disable file watchers in dev tools (nodemon, webpack --watch) unless needed• Use auto-save only when collaborating

4. Devcontainer Configuration Errors


5. General Usage Troubles

IssueResolution
Git prompts for credentialsMake sure the repo integration is connected; remote workspace injects HTTPS tokens automatically.
Disk quota exceededClear package caches (npm cache clean --force, pip cache purge), remove large build artifacts, or rebuild workspace.
Permission denied on file saveFile is outside the repo workspace; save inside /workspaces/<repo>/.
Cannot install global packagesUse npm install -g or pip install --user. If still blocked, add commands to postCreateCommand.
History lost after rebuildAnything outside /workspaces is cleared during rebuild. Commit important scripts or store them inside the repo.

Need More Help?

A quick rebuild fixes 80 % of issues—don’t hesitate to click Rebuild when in doubt.