I'm using a reverse proxy to expose the PVE web interface at https://localhost:8006 so that it is reachable at pve1.bastionhost.com. I can log into the web interface, create VMs and edit settings, but when click on the Start or Shutdown buttons for an active VM I get the error message "Connection error - server offline?" right after the confirmation dialog. When I check the request with the browsers dev tools, I can see a request to https://pve.bastionhost.com/api2/extjs/nodes/pve1/qemu/102/status/shutdown with the following response:
When I try to open the console with xterm.js on a running VM I get a red bar on top of the console canvas saying "Connection failed (Error 501: )" and I can see a POST request to https://pve.bastionhost.com/api2/json/nodes/pve1/termproxy with the response:
When I access the PVE web interface directly, everything is working fine. But I can't figure out why the reverse proxy is causing this issue, especially because I had this working without issues before.
Every hint on debugging or solving this issue is greatly appreciated.
JSON:
{"status":501,"data":null,"success":0,"message":"Method 'GET /nodes/pve1/qemu/102/status/shutdown' not implemented"}
When I try to open the console with xterm.js on a running VM I get a red bar on top of the console canvas saying "Connection failed (Error 501: )" and I can see a POST request to https://pve.bastionhost.com/api2/json/nodes/pve1/termproxy with the response:
JSON:
{"data":null}
When I access the PVE web interface directly, everything is working fine. But I can't figure out why the reverse proxy is causing this issue, especially because I had this working without issues before.
Every hint on debugging or solving this issue is greatly appreciated.