"We are having trouble connecting to the server"
Bug description
Once or twice per week, I can't start workspaces due to the following error popup:
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:
- Use Brave for a few days until the error starts to show up
- Switch to Firefox for a few days until the error shows up there too
- Switch back to Brave
- 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
I see this again at the moment. Any URL at the https://gitpod.io root domain shows that alert after a few seconds.
I see this again at the moment. Any URL at the https://gitpod.io root domain shows that alert after a few seconds.
@mikenikles I think maybe there's something useful in your console logs to debug this issue for our webapp team. Could you try grabbing the logs when it happens next time :pray:?
I did that when I opened the issue, you can find it in the Bug description section above.
I did that when I opened the issue, you can find it in the Bug description section above.
Oh, very sorry 😅 I thought there's more in logs so maybe I failed to notice that.
Exact same error here on Brave (Windows 10)

I think it's brave related apparently as the site loads fine in Edge for instance. I disable the Shields (Brave's Tracker/Ad blocker), and any extension that could be an issue (LocalCDN, FastForward) to no avail

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm facing this on Brave. Any updates on how to resolve this? It worked well for a few days and then it couldn't connect anymore.
Having the same issue, here is the console in case it can helps the team, it's totally random, but I notice it mainly on Brave for the moment. I've disabled Bravhe shield & ad blockers on gitpod:

I have the same problem for a few days, I can't even work properly.
this is a serious problem guys.
Chrome Windows 11 same
Sidekick windows 11 same..

0: url:https://gitpod.io/api/gitpod content_type:null http_code:0 header_size:0 request_size:0 filetime:-1 ssl_verify_result:0 redirect_count:0 total_time:0 namelookup_time:0.017967 connect_time:0.048175 pretransfer_time:0 size_upload:0 size_download:0 speed_download:0 speed_upload:0 download_content_length:-1 upload_content_length:-1 starttransfer_time:0 redirect_time:0 redirect_url: primary_ip:34.120.231.152 certinfo:
{"error":"Error: unhandled request: GET /gitpod\nStack: Error: unhandled request: GET /gitpod\n at unhandledToError (/app/node_modules/@gitpod/server/dist/src/express-util.js:133:17)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/app/node_modules/express/lib/router/index.js:323:13)\n at /app/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12)\n at next (/app/node_modules/express/lib/router/index.js:275:10)\n at /app/node_modules/express/lib/router/index.js:641:15\n at next (/app/node_modules/express/lib/router/index.js:260:14)\n at Function.handle (/app/node_modules/express/lib/router/index.js:174:3)\n at router (/app/node_modules/express/lib/router/index.js:47:12)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/app/node_modules/express/lib/router/index.js:323:13)\n at /app/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12)\n at next (/app/node_modules/express/lib/router/index.js:275:10)\n at /app/node_modules/express/lib/router/index.js:641:15"}
https://gitpod.io/api/gitpod???
i have this exact same issue and it seems to be utterly random
My colleagues are still getting this issue too. Trying a different network such as running on a mobile hotspot also has no affect.
@the-nathan-smith What browser are you using?
@laushinka my colleague tried Edge and Chrome. They have never used Gitpod before either and don't have an account.
Any progress? I'm stuck on this.
@bam80 can you try in a different browser if it's still happening?
@axonasif It does work currently, thanks.
I am experiencing the same issue. What could be problem?