You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Paris and Sydney wsproxies would have been connected to coderd at the time of the rollout restart happening; the restart would have interrupted the persistent websocket connection for those wsproxies while the others most likely were connected to the new coderd replicas.
Curiously, the workspace proxy healthcheck reported no issues:
The logs on the Paris fly.io wsproxy had already rotated, but we observed the following in the Sydney fly.io wsproxy's log output:
2024-01-04T05:34:06Z app[918577d4bd5538] syd [info]Started HTTP listener at http://0.0.0.0:3000
2024-01-04T05:34:06Z app[918577d4bd5538] syd [info]View the Web UI: https://sydney.fly.dev.coder.com
2024-01-04T05:34:08Z app[918577d4bd5538] syd [info]==> Logs will stream in below (press ctrl+c to gracefully exit):
2024-01-04T05:34:35Z app[918577d4bd5538] syd [info]2024-01-04 05:34:35.000 [warn] net.workspace-proxy.servertailnet: broadcast server node to agents ...
2024-01-04T05:34:35Z app[918577d4bd5538] syd [info] error= write message:
2024-01-04T05:34:35Z app[918577d4bd5538] syd [info] github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk.(*remoteMultiAgentHandler).writeJSON
2024-01-04T05:34:35Z app[918577d4bd5538] syd [info] /home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxysdk/wsproxysdk.go:524
2024-01-04T05:34:35Z app[918577d4bd5538] syd [info] - failed to write msg: WebSocket closed: failed to read frame header: EOF
The text was updated successfully, but these errors were encountered:
(TODO: write a better issue title)
After #11366 was merged, I observed 502 errors when attempting to open vscode-web on my workspace:
and alternately, upon refresh:
I observed this behaviour with:
But not with:
After restarting paris.fly.dev.coder.com, the issue was apparently resolved.
Current theory is that there is a bug in the retry logic.
This appears to be supported by the following timeline of events:
The Paris and Sydney wsproxies would have been connected to coderd at the time of the rollout restart happening; the restart would have interrupted the persistent websocket connection for those wsproxies while the others most likely were connected to the new coderd replicas.
Curiously, the workspace proxy healthcheck reported no issues:
The logs on the Paris fly.io wsproxy had already rotated, but we observed the following in the Sydney fly.io wsproxy's log output:
The text was updated successfully, but these errors were encountered: