Hetzner Cloud install with only private ip / Hetzner network (Error 500) #288

Closed
opened 2026-04-05 20:26:31 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Spacey-Rat on 1/21/2024

CloudPanel version(s) affected

latest

Description

Hi!
I used your Hetzner Cloud setup method to install CP on a Hetzner Cloud VM. I tried either ARM or AMD x64 on Debian 11.

Problem: I get an Error 500 after the installation - either on the forwarded public IP or on the internal one. My network setup looks like this:

One pfsense firewall VM with public ip and a Hetzner private network where several VMs are behind. They connect through the pfsense to the inet ("post-up ip route add default via.....". pfsense got HAProxy and all the firewall stuff.

For CloudPanel: Now I created a new Hetzner Cloud VM accordingly your Hetzner Cloud documentation but - like said - the new VM only has an internal private network IP ( https://docs.hetzner.com/de/cloud/networks/server-configuration/ ). After the installation the SSH shows "CloudPanel can be accessed now: https://pub.li.c.ip:8443/ (the public IP from the pfsense VM - I guess it gets that one somehow from the installation process where the VM connects to your servers for getting all the pkg's).

But when I try to access the Port 8443 either directly through the internal IP or even when I forward the port 8443 through my firewall I only get the Error 500. Can't find anything in the nginx logs - or even no idea where to search in the configs on what & where to edit.

When I use the "other" CP installation method it's working... but then I'm missing the "Hetzner Snapshot feature" of course ;)

How to reproduce

See above - create the same scenario and try.

Possible Solution

I guess with the "CLOUD=hetzner" option somehow some network settings are done but they work only for a Hetzner Cloud VM with a direct public IP but not with a private one. Ideal solution would be that it work's with private one as well.

Additional Context

Thanks a lot - looks like a very good project/product!! Only efficient web hosting but nothing more - exactly what I need.

*Originally created by @Spacey-Rat on 1/21/2024* ### CloudPanel version(s) affected latest ### Description Hi! I used your Hetzner Cloud setup method to install CP on a Hetzner Cloud VM. I tried either ARM or AMD x64 on Debian 11. Problem: I get an Error 500 after the installation - either on the *forwarded* public IP or on the internal one. My network setup looks like this: One pfsense firewall VM with public ip and a Hetzner private network where several VMs are behind. They connect through the pfsense to the inet ("post-up ip route add default via.....". pfsense got HAProxy and all the firewall stuff. For CloudPanel: Now I created a new Hetzner Cloud VM accordingly your Hetzner Cloud documentation but - like said - the new VM only has an internal private network IP ( https://docs.hetzner.com/de/cloud/networks/server-configuration/ ). After the installation the SSH shows "CloudPanel can be accessed now: https://pub.li.c.ip:8443/ (the public IP from the pfsense VM - I guess it gets that one somehow from the installation process where the VM connects to your servers for getting all the pkg's). But when I try to access the Port 8443 either directly through the internal IP or even when I forward the port 8443 through my firewall I only get the Error 500. Can't find anything in the nginx logs - or even no idea where to search in the configs on what & where to edit. When I use the "other" CP installation method it's working... but then I'm missing the "Hetzner Snapshot feature" of course ;) ### How to reproduce See above - create the same scenario and try. ### Possible Solution I guess with the "CLOUD=hetzner" option somehow some network settings are done but they work only for a Hetzner Cloud VM with a direct public IP but not with a private one. Ideal solution would be that it work's with private one as well. ### Additional Context Thanks a lot - looks like a very good project/product!! Only efficient web hosting but nothing more - exactly what I need.
Sign in to join this conversation.