Open n-hass opened 1 year ago
I've discovered a more granular cause:
Adding the container to multiple networks in a run command or using compose (for my case, eg --net caddy_routing,media_net
) will mean the start-script hangs after the line Adding 1.0.0.1 to /etc/resolv.conf
. Defining either none or only ONE network will mean the container starts normally. Adding the container to two networks causes the failstate.
I would think maybe this is a subnet overlap issue, but those two networks have subnet 192.168.98.0/24 and 192.168.99.0/24 and both are defined in LAN_NETWORK
, which is now:
LAN_NETWORK=10.0.0.0/15,192.168.98.0/24,192.168.99.0/24
I'm having the same issue but I use Portainer on a VPS. Interesting thing is, that I am using the exact same setup on my Unraid Server at home with PIA and Wireguard and it is working for many years without any problem. Can somebody guide what is the issue here? I am struggling around since 2 days from states of nothing is working to fully working but after reboot again "Unable to successfully download PIA json to generate token for wireguard from URL []" and really can't figure out if this is a DNS resolution issue or a PIA issue etc..
Problem
start-script hangs trying to get the JSON config from PIA when using podman
Details
I am trying to move from docker to podman. I have this compose file which works in Docker:
And I am trying to use the same thing + CAP_ADD net_admin and net_raw and I'm unable to get it working. These are the logs:
Let me know what more I can provide to assist.