Connection timeout with Proxmox and Caddy

inamati

New Member
Feb 6, 2024
2
0
1
Hello,

I am I am posting this in the right place. The german national support forum didn't seem the right place.

I am trying to use proxmox behind a Caddy reverse proxy and keep getting the error below.

1707230864679.png
I seen nothing on proxmox logs that is of much help to me and on the proxy logs I also don't see anything.

In the browser I can see this.

1707230947080.png

I know it is a proxy issue but on their forum they are saying it's probably something that needs configuring on proxmox.

Does anyone have a similar working setup that can help me?

Thanks in advance
 
Nevermind. Issue is solved. Zenarmor was blocking access to the websocket for some reason. It's ok now. Thank you for your help.
 
Hmm, I am having same issue... I am just setting up Caddy and all works, but Console will start after 4-5 tries

Code:
pve.my.domain {
        reverse_proxy https://10.20.54.55:8006 https://10.20.54.155:8006 {
                lb_policy ip_hash
                fail_duration 3s
                        transport http {
                                tls_insecure_skip_verify
                        }

        }
}

Code:
failed waiting for client: timed out
TASK ERROR: command '/usr/bin/termproxy 5900 --path /vms/107 --perm VM.Console -- /usr/bin/dtach -A /var/run/dtach/vzctlconsole107 -r winch -z lxc-console -n 107 -e -1' failed: exit code 1