WebSocket (SocketIO) HTTP/3 400 Bad Request

I use SocketIO for websockets. On HTTP/2 all works fine, but if browser (Firefox 75) can use HTTP/3 websockets become unavailable.

nginx:

location /socket.io/ {
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_pass http://127.0.0.1:3001/socket.io/;
}

frontend:

socket = io('/', {
    transports: ['websocket']
});

HTTP/2 example: https://imgur.com/a/c6rzc7g
HTTP/3 example: https://imgur.com/a/APVYJ3p

This topic was automatically closed after 14 days. New replies are no longer allowed.