#8318·gitpod

"We are having trouble connecting to the server"

Author: mikeniklesCreated Feb 18, 2022Updated Jan 15, 2025
Labelstype: bugcomponent: dashboardmeta: never-staleteam: webapp

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