Access via cloudflare not working

meszolym

New Member
Sep 11, 2023
3
0
1
I have a Cloudflare tunnel set up on one of my proxmox VM-s. It works fine with everything except proxmox. I have proxmox.mydomain.net set to my proxmox servers ip (let's say it's 192.168.0.2:8006), over HTTPS, no TLS verify set to true, TLS timeout set to 20 sec, disable chunk encoding set to true.

I can log in, it does reject bad passwords. I type in the right pass, the right 2FA code, and it logs in, but doesn't show my stuff (nodes, VM-s, etc). All there is is a datacenter named ASD with nothing in it. After a couple of seconds it throws me out with no error. If I try to log in again, it says: "Connection error - server offline?".

Anybody got any suggestions with this error?

1694426406078.png
 
I have the same issue. Created a subdomain on Cloudflare pointing to my local Proxmox instance https://192.168.1.162:8006 but can't get it to work. Tested with other Proxmox applications such as pihole and that works without issues. How did you get it to work ?
 
I have the same issue. Created a subdomain on Cloudflare pointing to my local Proxmox instance https://192.168.1.162:8006 but can't get it to work. Tested with other Proxmox applications such as pihole and that works without issues. How did you get it to work ?
Binding Cookie is on your Cloudflare Access Applications if you made one, should be disabled by default tho
 
Last edited:
I have a Cloudflare tunnel set up on one of my proxmox VM-s. It works fine with everything except proxmox. I have proxmox.mydomain.net set to my proxmox servers ip (let's say it's 192.168.0.2:8006), over HTTPS, no TLS verify set to true, TLS timeout set to 20 sec, disable chunk encoding set to true.

I can log in, it does reject bad passwords. I type in the right pass, the right 2FA code, and it logs in, but doesn't show my stuff (nodes, VM-s, etc). All there is is a datacenter named ASD with nothing in it. After a couple of seconds it throws me out with no error. If I try to log in again, it says: "Connection error - server offline?".

Anybody got any suggestions with this error?

View attachment 55301
View attachment 61464

hi,
i am trying to install proxmox and access it through cloudflare, but error occur after logged in,
how to solve this error?

thank you.

1705419875730.png
 
Hi, i have a similar issue i have a domain.com domain name witch redirect to duckdns.org.
And it "works" except it does not..

What i mean is i can login and so but my cluster does not show up for some reason.
I get the same massage:
Code:
Connection error - server offline?

Console out puts this:
Code:
Failed to load resource: the server responded with a status of 401 ()

and it is maybe connected with
Code:
/api2/extjs/cluster/options?_dc=1709145420365

If i use the duckdns.org domain to access it it works as intended,
but if i use my domain.com domain (witch is only directing to the duckdns.org domain) than it does not work as you can see blow:

1709146222276.png
 
Hi,
I have installed Clould flare tunnel on my Raspberry Pi at home network
also have proxmox server which is running some VM (Adguard, TrueNAS, Ununtu etc)

with the Help of clouldflare tunnel on RaspberryPi, I am able to access VM GUI (same VM's installed in Proxmox)
but I am facing same issue, Not able to access Proxmox GUI via clouldflare

tried to see cookies thing, but unable to figure out how to setup
 

Attachments

  • NETWORK.png
    NETWORK.png
    27.8 KB · Views: 15
The fix that worked for me (PM v8.2.4,Cloudflare v2024.10.0) was ensuring these three Cloudflare options were selected in the Tunnel Hostname configuration:
http2Origin
noTLSVerify
disableChunkedEncoding (I think this is main culprit, but these settings worked for me)

they are found in Cloudflare>Networks>Tunnels>(tunnel name>little three dots>configure)>Public Hostname tab>(little three dots next to Hostname>edit)> Additional Application Settings>(TLS & HTTP settings tabs, respectively)

happy trails,

G
 
Just wanted to say thanks! This seems to be a new issue, most likely with the latest cloudflared. We were running an old cloudflared from last year and just updated it over the weekend when this started happening.

For anyone else that ends up here. Here are the settings:

1729261109285.png
 
  • Like
Reactions: Screedy
Still having issue. I can login from local, but can't from tunnels. I have same settings as last message. Only difference is I am running Proxmox 8.3
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!