1

I'm having some weird issues with Traefik in front of various containers. Initially it all worked fine, but as I got more containers behind Traefik, I started having weird results. Some containers that were working would stop responding with "gateway timeout" yet still could be accessed without HTTP on their port if I still exposed it.

I seem to have a group of containers that usually are the ones that stop working (metabase, windmill, nextcloud, invidious, searxng). A lot of them continue to work and have never seen them go down.

If I restart containers over and over again or restart traefik will make some combination of them work again, but I can't get them all working at once, but sometimes I can get most of them but one working.

For example, I stop all the problematic containers. I start change detection, it works fine via ssl. I start metabase, now change detection and metabase aren't working. Traefik logs are giving me no errors though. If I shutdown metabase, then try again, change detection doesn't work, but if I restart traefik it starts working.

All the other containers like homepage, portainer, and so on are working fine.

top 1 comments
sorted by: hot top controversial new old
[-] TearDrainer@alien.top 1 points 1 year ago

If you have multiple networks on a service you need to specifiy on which one Traefik can reach your service. For example for metabase you need to add:
traefik.docker.network=proxy
Otherwise it will be random and you'll end up with erratic gateway timeouts.

this post was submitted on 14 Nov 2023
1 points (100.0% liked)

Self-Hosted Main

504 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS