Hello n8n community,
I’m experiencing persistent WebSocket connection issues with n8n deployed on a VPS from Jino.ru hosting provider. The problem occurs specifically when running workflows - I get “Lost connection to the server” error.
Environment:
- n8n version: 1.118.2 (also tested in Docker)
- VPS: Jino.ru, Ubuntu 24.04, 1.5GB RAM
- Access: https://c4dae744e5e6.vps.myjino.ru/
Problem Description:
Workflows start but immediately fail with “Lost connection to the server”. This happens regardless of:
- Using nginx reverse proxy or direct connection
- Different n8n versions (native, Docker)
- Various WebSocket configurations
- EventBus backend (fallback to polling)
What I’ve Tried:
- Nginx with WebSocket support:
server {
listen 80;
server_name c4dae744e5e6.vps.myjino.ru;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
location / {
proxy_pass http://localhost:5678;
}
}
Different n8n configurations:
bash
N8N_PUSH_BACKEND=websocket N8N_PROXY_HOPS=1 n8n start
N8N_PUSH_BACKEND=eventbus n8n start
Environment variables:
bash
N8N_HOST=c4dae744e5e6.vps.myjino.ru
WEBHOOK_URL=https://c4dae744e5e6.vps.myjino.ru
N8N_PROTOCOL=https
Error Logs:
Origin header does NOT match the expected origin.
ResponseError: Invalid origin!
Suspicion:
The hosting provider (Jino.ru) might be blocking or interfering with WebSocket connections, despite standard configurations working elsewhere.
Questions:
Has anyone successfully deployed n8n on Jino.ru VPS?
Are there known issues with specific hosting providers blocking WebSocket?
Any workarounds for WebSocket connectivity issues?
Could this be n8n configuration issue or definitely hosting-related?
The application is accessible via HTTPS, but WebSocket handshake seems to fail. Any help or insights would be greatly appreciated!
Thank you!