Replies: 2 comments 17 replies
-
Did you allow the ports in your firewall? Can you connect from localhost, i.e. |
Beta Was this translation helpful? Give feedback.
-
same here, I use podman socket activation + traefik, I put a hashicorp vault server behind it, and config vault as a OIDC provider, then deploy another app |
Beta Was this translation helpful? Give feedback.
-
As suggested in the Thread I openend in the Traefik repository the issue below might be related to Pasta or Podman, hence I open a discussion here as well.
What did you do?
I upgraded my Traefik container to v3.1 to enable socket activation. I removed PublishPort from my container file and created two socket files( one for HTTP and one for HTTPS). When my Traefik container is started I can acces my containers from my LAN, but Uptime Kuma cannot reach the websites proxied by Traefik.
I also tested with a other container running a browser but got the same result. All containers are on the same Podman network.
Turning off socket activation solves the issue.
What did you see instead?
Kuma reports an error: connect ECONNREFUSED 192.168.1.100:443 (where as 192.168.1.100 is the IP address of my host running Podman)
I also notice that there are more processes listening on port 80 and 443, so maybe a connection is made to the wrong listener.
Ports listening without socket activation:
rootlessp 589917 thyestes 11u IPv6 2247907 0t0 TCP *:80 (LISTEN)
rootlessp 589917 thyestes 12u IPv6 2247908 0t0 TCP *:443 (LISTEN)
Ports listening with socket activation:
systemd 775 thyestes 34u IPv4 2564674 0t0 TCP *:80 (LISTEN)
systemd 775 thyestes 35u IPv4 2566204 0t0 TCP *:443 (LISTEN)
conmon 666883 thyestes 3u IPv4 2566204 0t0 TCP *:443 (LISTEN)
conmon 666883 thyestes 4u IPv4 2564674 0t0 TCP *:80 (LISTEN)
traefik 666896 thyestes 3u IPv4 2564674 0t0 TCP *:80 (LISTEN)
traefik 666896 thyestes 5u IPv4 2566204 0t0 TCP *:443 (LISTEN)
What version of Traefik are you using?
Version: 3.1.0
Codename: comte
Go version: go1.22.5
Built: 2024-07-15T14:44:04Z
OS/Arch: linux/amd64
What is your environment & configuration?
[Container]
Image=docker.io/library/traefik:v3.1
ContainerName=traefik
Network=proxy.network
Volume=/storage/traefik/acme.json:/acme.json
Volume=%t/podman/podman.sock:/var/run/docker.sock
Add more configuration information here.
Client: Podman Engine
Version: 5.1.2
API Version: 5.1.2
Go Version: go1.21.12
Built: Thu Jul 11 15:01:37 2024
OS/Arch: linux/amd64
I hope there is someone, who can shine a light on this.
Beta Was this translation helpful? Give feedback.
All reactions