[Bug] Unable to open VM console
Hey there! 👋 Thanks for taking the time to report this bug — we appreciate it!
Please keep in mind: PegaProx is developed and maintained entirely by volunteers in our free time. We do our best, but we can't work magic 🪄 — please be patient, we'll get to your issue as soon as we can.
Want to help keep PegaProx alive?
- ⭐ Star the project — it's free and helps a lot!
- 💖 Become a Sponsor — helps us dedicate more time to development
- 🤝 Contributing code or docs is always welcome too!
Describe the bug
VM Web Console fails to open
Steps to Reproduce
- Select VM
- Click Console
- Error
Expected behavior
Remote Web console for VM should open
Environment
- PegaProx Version: 0.98.1
- Installation Method: Image download
- OS: Image provided
- Browser: Latest Chrome and Firefox in windows
- Behind Reverse Proxy? No
- UI? Corporate
Logs
Failed to open a WebSocket connection: invalid Connection header: keep-alive.
You cannot access a WebSocket server directly with a browser. You need a WebSocket client.
## Screenshots
<!-- If applicable, add screenshots to help explain the problem. -->
## Checklist
- [ ] I have searched existing issues to make sure this is not a duplicate
- [ ] I am using the latest version of PegaProx
Hey @LowAir2000 — that error comes from our WebSocket server when something between your browser and pegaprox strips the Upgrade header out and leaves only keep-alive. Classic transparent-proxy / HTTPS-scanning AV behavior even when you don't think one's in the path.
Quick check that'd narrow it down: F12 → Network tab → filter "WS" → click Console on the VM → paste the response headers (Status code + Connection / Upgrade lines from both the request and response). And anything in the path: VPN, corporate proxy, AV with TLS inspection, browser extensions that touch headers? Those are the usual suspects — they'd kill the upgrade handshake.
Are you reaching pegaprox directly via https://<ip-or-host>:5000 from that browser, or through some kind of CDN / wrapper?
Marcus
Btw, I reach Pegaprox via port 443 as it was changed after the first setup script via SSH login.
Below is what I think you've asked for as a response header for the name 'token'. If you're looking for something different please let me know
content-length 61 content-security-policy default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdn.jsdelivr.net; font-src 'self' data: https://fonts.gstatic.com https://fonts.googleapis.com; img-src 'self' data: blob:; connect-src 'self' wss: ws: https://cdn.jsdelivr.net; frame-ancestors 'none'; base-uri 'self'; form-action 'self' content-type application/json date Tue, 28 Apr 2026 14:47:02 GMT permissions-policy geolocation=(), microphone=(), camera=() referrer-policy strict-origin-when-cross-origin strict-transport-security max-age=31536000; includeSubDomains
vary Accept-Encoding x-content-type-options nosniff x-frame-options DENY x-xss-protection 1; mode=block
Hi, i have the same issue, i use pegaprox via port 5000
Hi @Nekima ,
any chance you are using some kind of deep inspection or AV on your system? I've noticed that the other day in support call with a user.
If you are using Firefox and then press F12 you will likely see that the we socket connection will be dropped instantly.
Hi @MrMasterbay
Not at all, I'm on a Fedora Desktop
Hi guys, I have same issue, and I noticed that it depends on Proxmox version. Issue related only for last two pve versions 9.1.8-9.1.9. On any older version console works as usual.
Hello guys I have the same issue. PegaProx version PegaProx Beta 0.9.8.1 ports: Web Interface: https://192.168.X.X:5000 VNC WebSocket: https://192.168.X.X:5001 SSH WebSocket: https://192.168.X.X:5002
Proxmox version 3 nodes on 8.4.19.
Web browsers used: Brave Chrome Edge
I hope this helps
Hey — @eugen-optimus nailed it, thanks for the pinpoint. Proxmox tightened up the WS handshake handling in 9.1.8/9.1.9 (the Connection header gets normalised in a way that strips the Upgrade token before it hits us), and our strict parser was bouncing those. Got a lenient handshake recovery patch ready that handles it transparently — going out in the next release, no config change needed on your side.
Sorry for the false-trail on the proxy/AV theory earlier in the thread — that was my first guess before eugen's comment landed. If anyone wants to help keep stuff like this getting fixed, https://opencollective.com/pegaprox is much appreciated 🙏
— Marcus
It's working for me with the new version 0.9.8.2 :)
I had to turn off ublock-origin