Skip to content

The workbench failed to connect to the server (Error: WebSocket close with status code 1006) #4886

Answered by cxw620
CoBool asked this question in Q&A
Discussion options

You must be logged in to vote

Using CDN? Some CDN don't support websocket and I met with same problem, for I used qiniu dynamic CDN at first and it didn't support websocket. Later I make use of ECDN of Tencent CDN and it works. You can try to connect to code-server with ip:port directly, if problem still exists, code-server itself may be to blame and you can open an issue. If not, check your apache config refering to official docs.
I notice this SSLProtocol all -SSLv2 -SSLv3. Try to change it to SSLProtocol +TLSv1.2?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CoBool
Comment options

Answer selected by jsjoeio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants