Welcome! Log In Create A New Profile

Advanced

Re: Nginx Configuration for websocket: Error during WebSocket handshake: Unexpected response code: 403

Sergey Kandaurov
June 10, 2021 10:12AM
> On 10 Jun 2021, at 16:04, raphy <nginx-forum@forum.nginx.org> wrote:
>
> Hi Sergey
>
> The nginx configuration I used for /xmpp-websocket location, taken from
> here: https://prosody.im/doc/websocket , follows the official nginx
> indications: https://nginx.org/en/docs/http/websocket.html
>
> If nginx doesn't support bootstrapping WebSockets with HTTP/2, what should
> I do?

Are you actually using HTTP/2 ?
What if you try disabling http2 in the listen directive, to be sure.

"Unexpected response code: 403" could mean misconfiguration on backend side.

--
Sergey Kandaurov

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx Configuration for websocket: Error during WebSocket handshake: Unexpected response code: 403

raphy June 10, 2021 06:14AM

Re: Nginx Configuration for websocket: Error during WebSocket handshake: Unexpected response code: 403

Sergey Kandaurov June 10, 2021 08:02AM

Re: Nginx Configuration for websocket: Error during WebSocket handshake: Unexpected response code: 403

raphy June 10, 2021 09:04AM

Re: Nginx Configuration for websocket: Error during WebSocket handshake: Unexpected response code: 403

Sergey Kandaurov June 10, 2021 10:12AM

Re: Nginx Configuration for websocket: Error during WebSocket handshake: Unexpected response code: 403

Maxim Dounin June 10, 2021 10:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 310
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready