Skip to content

Upgrading coder v0.19.2 -> v0.20.0 results in code-server becoming inaccessible (blank page on load) #6746

Closed
@edmondsiu0

Description

@edmondsiu0

Hi Coder team, first of all, thanks for Coder!

I have noticed an issue with the latest version of Coder v0.20.0, after upgrade the following features results in (near) blank page stuck forever loading:

image

  • code-server
  • Terminal

image

No network activities were captured by Chrome while it sits there waiting to load (screenshot below shows code-server).

image

With that being said, some activities were seen on the container with code-server running, indicating "invalid initiation message".

2023-03-23 08:06:24.838 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Sending handshake initiation
2023-03-23 08:06:25.034 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Received handshake initiation
2023-03-23 08:06:25.034 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - ConsumeMessageInitiation: handshake replay @ 2023-03-23 08:06:25.016777216 +0000 UTC
2023-03-23 08:06:25.034 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Sending handshake response
2023-03-23 08:06:25.034 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] Received invalid initiation message from ee673a36eec77a8bb35c94328b0e331b35ed66eb3d300493831ea31d8bf91d05
2023-03-23 08:06:30.051 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Handshake did not complete after 5 seconds, retrying (try 2)
2023-03-23 08:06:30.051 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Sending handshake initiation
2023-03-23 08:06:30.303 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Received handshake initiation
2023-03-23 08:06:30.303 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Sending handshake response
2023-03-23 08:06:30.304 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Received handshake initiation
2023-03-23 08:06:30.304 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Sending handshake response
2023-03-23 08:06:35.166 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Handshake did not complete after 5 seconds, retrying (try 3)
2023-03-23 08:06:35.572 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Received handshake initiation
2023-03-23 08:06:35.572 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Sending handshake response
2023-03-23 08:06:35.572 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - ConsumeMessageInitiation: handshake replay @ 2023-03-23 08:06:35.536870912 +0000 UTC
2023-03-23 08:06:35.572 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] Received invalid initiation message from ee673a36eec77a8bb35c94328b0e331b35ed66eb3d300493831ea31d8bf91d05
2023-03-23 08:06:36.728 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/userspace.go:1254>	(*userspaceEngine).Ping	ping(fd7a:115c:a1e0:4ae8:a38a:2d92:c807:8a7c): sending disco ping to [7mc6N]  ...
2023-03-23 08:06:36.894 [DEBUG]	<./codersdk/agentsdk/agentsdk.go:196>	(*Client).Listen.func1	got coordinate pong	{"took": "41.230589ms"}
2023-03-23 08:06:40.792 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Received handshake initiation
2023-03-23 08:06:40.792 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Received handshake initiation
2023-03-23 08:06:40.792 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Sending handshake response
2023-03-23 08:06:40.792 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [v2] [7mc6N] - Sending handshake response
2023-03-23 08:06:40.792 [DEBUG]	(tailnet.wgengine)	<./../../../tailscale.com/wgengine/wglog/wglog.go:81>	NewLogger.func1	wg: [7mc6N] - Failed to create response message: handshake initiation must be consumed first

I was able to replicate this issue on both my existing coder installation, as well as a fresh upgrade from a clean v0.19.2.

Metadata

Metadata

Assignees

Labels

s0Major regression, all-hands-on-deck to fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions