project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Bug]

Open ivoIT1 opened this issue 5 months ago • 2 comments

Describe the bug

I am not sure if it is Bug , I am still fighting with console's on WAN and even LAN, the internal console is very slow ( big delay ) not much usable, if not only for clicking some 1 button, and it is failing in 90% cases , and in 100% cases till 15second. But there is button "External" which tries to connect directly to proxmox and console there, which woks fine except there is one strange parameter , if it is opened from pegaprox it is called with /?console=qemu&novnc=1&vmid= But natively Proxmox opens local console as /?console=kvm&novnc=1&vmid= So first example is actually not getting connection, ( noVNC encountered an error: )
but if I just retype qemu >> kvm all is nice and forks like a charm. Is there something in my setup which cause problem ?
Or is there way to have there automatically kvm and not qemu ?

Steps to Reproduce

Expected behavior

Ideal woulf be to have in the link console=kvm

Environment

  • PegaProx Version: 0.9.13
  • Installation Method: Docker ( compiled from git clone ) Airgaped !
  • OS: Ubuntu 24.04.4 LTS
  • Browser: Version 139.0.7258.67
  • Behind Reverse Proxy? No
  • UI? Corporate

Logs


Screenshots

Checklist

  • [ X ] I have searched existing issues to make sure this is not a duplicate
  • [ X ] I am using the latest version of PegaProx

ivoIT1 avatar Jun 16 '26 12:06 ivoIT1

Good find, and you're spot-on — fixed. The "Open in Proxmox" (External) button was building the URL with console=qemu (that's our internal VM type), but PVE's noVNC wants console=kvm for QEMU guests, so it never connected; I've pushed the qemu→kvm mapping to Testing, so it'll be correct in the next build (lxc is unchanged). On the slow/failing internal console — that's a separate thing: the embedded console is noVNC over a WebSocket (ports 5001/5002 straight from your browser to the PegaProx host), so latency or anything throttling those WS ports on the WAN path makes it sluggish and tends to drop inside ~15s. Since you're airgapped with no reverse proxy, worth confirming the browser can reach those WS ports directly with low latency — and the now-fixed External link is the more robust route in the meantime. opencollective.com/pegaprox keeps the volunteer effort going if PegaProx earns its keep for you. — Marcus

mkellermann97 avatar Jun 16 '26 15:06 mkellermann97

Going to close this one out — the actual bug (the External button sending console=qemu) is fixed and lands in the next build. The slow/dropping internal console is latency on the noVNC WebSocket path on your network side rather than something PegaProx can fix from its end, so I'll treat that as environment. Once you're on the new build, give the External console a go — reopen here if it still misbehaves and we'll pick it back up. — Marcus

mkellermann97 avatar Jun 16 '26 15:06 mkellermann97