-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
high-priorityThis issue needs to be resolved ASAPThis issue needs to be resolved ASAP
Milestone
Description
OS/Web Information
- Web Browser: Google Chrome 97.0.4692.71
- Local OS: windows 11
- Remote OS: centos 8
- Remote Architecture: amd64
code-server --version
: 4.0.1
same of #1884
INFO [Service Worker] registered
log.ts:301 INFO [remote-connection][ExtensionHost][1a408…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:301 INFO [remote-connection][ExtensionHost][1a408…][reconnect] resolving connection...
log.ts:301 INFO [remote-connection][ExtensionHost][1a408…][reconnect] connecting to 10.1.1.182:443...
log.ts:301 INFO [remote-connection][ExtensionHost][1a408…][reconnect] reconnected!
log.ts:301 INFO [remote-connection][ExtensionHost][1a408…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:301 INFO [remote-connection][ExtensionHost][1a408…][reconnect] resolving connection...
log.ts:301 INFO [remote-connection][ExtensionHost][1a408…][reconnect] connecting to 10.1.1.182:443...
log.ts:301 INFO [remote-connection][ExtensionHost][1a408…][reconnect] reconnected!
log.ts:313 ERR Error received from starting extension host (kind: Remote)
log.ts:313 ERR The remote extenion host took longer than 60s to send its ready message.
log.ts:301 INFO [remote-connection][ExtensionHost][1a408…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:301 INFO [remote-connection][ExtensionHost][1a408…][reconnect] resolving connection...
log.ts:301 INFO [remote-connection][ExtensionHost][1a408…][reconnect] connecting to 10.1.1.182:443...
log.ts:313 ERR [remote-connection][ExtensionHost][1a408…][reconnect][10.1.1.182:443] received error control message when negotiating connection. Error:
log.ts:313 ERR Error: Connection error: Unknown reconnection token (seen before)
at W (remoteAgentConnection.ts:732:17)
at remoteAgentConnection.ts:327:17
at l.fire (event.ts:577:16)
at u.fire (ipc.net.ts:511:19)
at r._receiveMessage (ipc.net.ts:873:27)
at ipc.net.ts:818:73
at l.fire (event.ts:577:16)
at d.acceptChunk (ipc.net.ts:284:21)
at ipc.net.ts:245:51
at browserSocketFactory.ts:197:39
log.ts:313 ERR [remote-connection][ExtensionHost][1a408…][reconnect] A permanent error occurred in the reconnecting loop! Will give up now! Error:
log.ts:313 ERR Error: Connection error: Unknown reconnection token (seen before)
at W (remoteAgentConnection.ts:732:17)
at remoteAgentConnection.ts:327:17
at l.fire (event.ts:577:16)
at u.fire (ipc.net.ts:511:19)
at r._receiveMessage (ipc.net.ts:873:27)
at ipc.net.ts:818:73
at l.fire (event.ts:577:16)
at d.acceptChunk (ipc.net.ts:284:21)
at ipc.net.ts:245:51
at browserSocketFactory.ts:197:39
abstractExtensionService.ts:644 Extension host (Remote) terminated unexpectedly. Code: 0, Signal: null
Steps to Reproduce
- edit
config.yaml
and add this:
bind-addr: 127.0.0.1:8080
auth: password
password: "12345"
cert: true
- run code-server:
code-server
Expected
code-server can be accessed via HTTPS and all expected features work.
Actual
Browser complains about about SSL certificate says "Cannot reconnect"
Screenshot
lorenz, JtMotoX, ochen1, ColoeusEdward, binhex and 12 more
Metadata
Metadata
Assignees
Labels
high-priorityThis issue needs to be resolved ASAPThis issue needs to be resolved ASAP