HTTP 501 when using web reverse-proxy (Cloudflare Argo Tunnel) to start VM - but stopping VM works?

I believe Cloudflare tunnel simply does this for performance reasons, and assumes the HTTP daemon can handle it.

Not sure the priority - but will the Proxmox HTTP daemon ever handle chunked transfer encoding in the future?
 
Hi I am a little late but I found a solution for my (similar) problem:

I enabled "Disable Chunked Encoding" under Cloudflare Zero Trust > Access > Tunnels > (my tunnel) > Public hostnames > (hostname for pve) > Additional Application Settings > HTTP Settings > Disable Chunked Encoding
1657885033311.png
I hope this helps someone!
 
  • Like
Reactions: LeLuc
Hi I am a little late but I found a solution for my (similar) problem:

I enabled "Disable Chunked Encoding" under Cloudflare Zero Trust > Access > Tunnels > (my tunnel) > Public hostnames > (hostname for pve) > Additional Application Settings > HTTP Settings > Disable Chunked Encoding
View attachment 38965
I hope this helps someone!
It works, thanks man
 
Hi I am a little late but I found a solution for my (similar) problem:

I enabled "Disable Chunked Encoding" under Cloudflare Zero Trust > Access > Tunnels > (my tunnel) > Public hostnames > (hostname for pve) > Additional Application Settings > HTTP Settings > Disable Chunked Encoding
View attachment 38965
I hope this helps someone!
Lifesaver, thank you!!
 
Hi I am a little late but I found a solution for my (similar) problem:

I enabled "Disable Chunked Encoding" under Cloudflare Zero Trust > Access > Tunnels > (my tunnel) > Public hostnames > (hostname for pve) > Additional Application Settings > HTTP Settings > Disable Chunked Encoding
View attachment 38965
I hope this helps someone!
Thanks .. This helped, with a problem I had, with all the WebUi working, except, the graphs, and the xterm shell, where for the xterm, I received a 501 .. Thank you for your post ..

Just as an aditional information: You can debug any tunnel within CloudFlare online management interface. This is where I discovered the 501 error related to chunking.
Today 2024, this can be found @:
/Zero Trust/Networks/Tunnels/ and click on the "Connector ID" link of the Tunnel you want to debug. On the next page you can click on "Begin log stream" to debug your session for the selected Tunnel.