ERROR -- : Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: close, HTTP_UPGRADE: )

Used Zammad version: 6.5.1-1756460400.0430e4e6.noble
Used Zammad installation type: Package
Operating system: Ubuntu 24.04.3 LTS
Browser + version: Firefox 142.0.1 (64-Bit)

Expected behavior:

No error message on the mobile site.

Actual behavior:

The connection to the server was lost.

No mistake:

Desktop page also no error.

Find: ERROR – : Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: close, HTTP_UPGRADE: )

Steps to reproduce the behavior:

Tested with tool test screen size Firefox.

Best regards

hume

Is solved. it was upstream zammad-railsserver {
server 127.0.0.1:3000;
}

upstream zammad-websocket {
server 127.0.0.1:6042;
}

action cable

location /cable {
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
    proxy_set_header Host $http_host;
    proxy_set_header CLIENT_IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_read_timeout 86400;
    proxy_pass http://zammad-railsserver;

Was not in Nginx

Best regards

hume

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.