Proxmox console not working while using Bunkerweb

Hi everyone,

I’m running into an issue with Proxmox when BunkerWeb is enabled.

failed waiting for client: timed out
TASK ERROR: command ‘/usr/bin/termproxy 5901 --path /vms/104 --perm VM.Console – /usr/bin/dtach -A /var/run/dtach/vzctlconsole104 -r winch -z lxc-console -n 104 -e -1’ failed: exit code 1

When I try to open the console for an LXC, I get the following error:

If I disable BunkerWeb, the console works fine.

I have already enabled WSS in the BunkerWeb service section, but the issue still persists.

Setup:

  • Proxmox VE (include version if needed)

  • LXC VM ID: 104

  • BunkerWeb reverse proxy in front of the Proxmox web interface

Question:
Has anyone experienced this before, or knows what additional settings are needed in BunkerWeb to get the Proxmox console working over WSS?

Any help would be appreciated!

Thanks!

RAW config
IS_DRAFT=no
SERVER_NAME=
USE_TEMPLATE=high
USE_ANTIBOT=javascript
AUTH_BASIC_USER=shawnfaleiro
AUTH_BASIC_PASSWORD=shawn21
BAD_BEHAVIOR_THRESHOLD=90
USE_CORS=yes
CORS_ALLOW_ORIGIN=*
KEEP_UPSTREAM_HEADERS=Content-Security-Policy Strict-Transport-Security X-Frame-Options X-Content-Type-Options Referrer-Policy Upgrade Connection
LIMIT_CONN_MAX_HTTP1=120
LIMIT_CONN_MAX_HTTP2=400
LIMIT_CONN_MAX_HTTP3=400
LIMIT_REQ_RATE=6r/s
MAX_CLIENT_SIZE=50m
USE_REVERSE_PROXY=yes
PROXY_NO_CACHE=no
REVERSE_PROXY_HOST=https://10.10.10.200:8006/
REVERSE_PROXY_WS=yes
REVERSE_PROXY_KEEPALIVE=yes
`SSL_PROTOCOLS=TLSv1.3

Hi,

I had the same issue and no solution so far :confused:

They, I read your post and realised I didn’t allow WSS.

It works now ! Thanks to you :slight_smile:

Here is my config

IS_DRAFT=no
SERVER_NAME=pve.mydomain.tld
USE_TEMPLATE=low
BAD_BEHAVIOR_THRESHOLD=30
BAD_BEHAVIOR_BAN_TIME=3600
USE_CORS=yes
CORS_ALLOW_ORIGIN=*
USE_CROWDSEC=yes
USE_DNSBL=no
KEEP_UPSTREAM_HEADERS=*
CONTENT_SECURITY_POLICY=
REFERRER_POLICY=no-referrer-when-downgrade
PERMISSIONS_POLICY=
COOKIE_FLAGS=* SameSite=Lax
AUTO_LETS_ENCRYPT=yes
LIMIT_CONN_MAX_HTTP1=25
LIMIT_CONN_MAX_HTTP2=200
LIMIT_CONN_MAX_HTTP3=200
LIMIT_REQ_RATE=5r/s
ALLOWED_METHODS=GET|POST|HEAD|OPTIONS|PUT|DELETE|PATCH
MAX_CLIENT_SIZE=100m
USE_REVERSE_PROXY=yes
REVERSE_PROXY_HOST=https://10.1.2.3:8006
REVERSE_PROXY_WS=yes
REVERSE_PROXY_KEEPALIVE=yes
WHITELIST_IP=10.0.0.0/8

I think it has to be something to do with WSS, but I’m not sure

I edited my reply after I saw a mistake on my config :slight_smile:

I had another proxy manager where I forgot to enable WSS now enabled and all good.

1 Like