gitpod-io / gitpod-io/gitpod

"We are having trouble connecting to the server"

Open
#8,318 25 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component: dashboard meta: never-stale team: webapp type: bug
Dominant language
TypeScript
Stars
13.8k
Forks
1.4k
Avg merge
17h 58m
Merged PRs (30d)
5

Description

Bug description

Once or twice per week, I can't start workspaces due to the following error popup:

image

In the browser console, I see the following:

WebSocket connection to '<URL>' failed: WebSocket is closed before the connection is established.

t {target: e, type: 'error', message: 'TIMEOUT', error: Error: TIMEOUT
    at e._handleTimeout (https://gitpod.io/static/js/10.5f2ca1ce.chunk.js:2:762935)
…}
Steps to reproduce

No reliable steps yet. I did notice though the browser I use doesn't matter. Here's my workflow:

  1. Use Brave for a few days until the error starts to show up
  2. Switch to Firefox for a few days until the error shows up there too
  3. Switch back to Brave
  4. Repeat
Workspace affected

No response

Expected behavior

I can start workspaces consistently without the need to change browsers.

Example repository

No response

Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the browser console and the reported WebSocket timeout while following the workspace-start workflow across Brave and Firefox. Since no reliable reproduction or workspace is identified, first establish a reproducible failure and trace it through workspace startup; done means the connection failure is explained and workspaces start consistently without changing browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cloud, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.