Skip to content

Websocket connection failed on community edition #3826

Discussion options

You must be logged in to vote

I've solved it.

I added this:

proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";

To the location / block in nginx vhost where proxy_pass is set.

With the above setting active it does then support websockets.

Replies: 14 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@svandeneertwegh
Comment options

@ruslandoga
Comment options

@svandeneertwegh
Comment options

Answer selected by svandeneertwegh
@kurdin
Comment options

@ruslandoga
Comment options

@kurdin
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #3824 on February 25, 2024 10:41.