MWM cannot reach traefik (deployed MWM with Pangolin) (middleware-manager discussion #106)

:speech_balloon: GitHub discussion middleware-manager #106 in Q&A, started by ovizii on GitHub

It’s not surprising, seeing that my traefik does not listen on traefik:8080
I noticed in your sample README, there is one for Pangolin and one for Traefik directly.
I used the one for Pangolin. The other one, does have a variable: - TRAEFIK_API_URL=http://traefik:8080
Can I use this variable with the Pangolin config to properly point MWM towards my Traefik?

These are the logs:

mwmanager  | 2026/03/22 16:08:34 API Error: Failed to fetch routers
mwmanager  | 2026/03/22 16:08:34 [GIN] GET | 500 | 5.001572516s | myPublicIP | /api/traefik/routers
mwmanager  | 2026/03/22 16:08:34 Warning: non-critical endpoint failed: udp_routers: HTTP request failed: Get "http://traefik:8080/api/udp/routers": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
mwmanager  | 2026/03/22 16:08:34 Warning: non-critical endpoint failed: entrypoints: HTTP request failed: Get "http://traefik:8080/api/entrypoints": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
mwmanager  | 2026/03/22 16:08:34 Warning: non-critical endpoint failed: http_services: HTTP request failed: Get "http://traefik:8080/api/http/services": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
mwmanager  | 2026/03/22 16:08:34 Warning: non-critical endpoint failed: tcp_middlewares: HTTP request failed: Get "http://traefik:8080/api/tcp/middlewares": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
mwmanager  | 2026/03/22 …

---
💬 Join in here or [on GitHub](https://github.com/hhftechnology/middleware-manager/discussions/106).
<!-- hhf-forum-sync -->

ovizii commented on GitHub:

I can confirm it works. Maybe add this to the docs to save some other people from searching all over.