You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using HOMER in a docker swarm environment. The ingress requests are handled by traefik reverse proxy and passed to the HOMER service via the forward-auth middleware. When i set on the "connectivityCheck: true" in the config file. I get a message "You're offline, friend." in few seconds. The browser network tab shows: Failed to load resource: the server responded with a status of 500 () homer HEAD 500 (Internal Server Error) check Online @ index-DHk fo9r.was:148 created @ index-DHk fo9r.js:148 Et @ index-DHkbfo9r.js:14 Xe @ index-DHkbfo9r.js:14 eo @ index-DHkbfo9r.js:14 Uf @ index-DHkbfo9r.js:14 xl @ index-DHkbfo9r.js:14 wu @ index-DHkbfo9r.js:14 _u @ index-DHkbfo9r.js:14 mn @ index-DHkbfo9r.js:14 Wt @ index-DHkbfo9r.js:14 m @ index-DHkbfo9r.js:14 R @ index-DHkbfo9r.js:14 $ @ index-DHkbfo9r.js:14 F @ index-DHkbfo9r.js:14 m @ index-DHkbfo9r.js:14 R @ index-DHkbfo9r.js:14 $ @ index-DHkbfo9r.js:14 F @ index-DHkbfo9r.js:14 m @ index-DHkbfo9r.js:14 R @ index-DHkbfo9r.js:14 $ @ index-DHkbfo9r.js:14 F @ index-DHkbfo9r.js:14 m @ index-DHkbfo9r.js:14 A @ index-DHkbfo9r.js:14 run @ index-DHkbfo9r.js:10 h.update @ index-DHkbfo9r.js:14 Et @ index-DHkbfo9r.js:14 ml @ index-DHkbfo9r.js:14 Promise.then dl @ index-DHkbfo9r.js:14 Us @ index-DHkbfo9r.js:14 (anonymous) @ index-DHkbfo9r.js:14 sr @ index-DHkbfo9r.js:10 gt @ index-DHkbfo9r.js:10 set @ index-DHkbfo9r.js:10 set @ index-DHkbfo9r.js:14 buildDashboard @ index-DHkbfo9r.js:174 await in buildDashboard created @ index-DHkbfo9r.js:174 Et @ index-DHkbfo9r.js:14 Xe @ index-DHkbfo9r.js:14 eo @ index-DHkbfo9r.js:14 Uf @ index-DHkbfo9r.js:14 xl @ index-DHkbfo9r.js:14 wu @ index-DHkbfo9r.js:14 _u @ index-DHkbfo9r.js:14 mn @ index-DHkbfo9r.js:14 Wt @ index-DHkbfo9r.js:14 m @ index-DHkbfo9r.js:14 gn @ index-DHkbfo9r.js:14 mount @ index-DHkbfo9r.js:14 Zu.t.mount @ index-DHkbfo9r.js:18 (anonymous) @ index-DHkbfo9r.js:174
Traefik log shows: 2024-08-25T09:07:39Z DBG github.com/traefik/traefik/v3/pkg/middlewares/auth/forward.go:164 > Error reading body http://forwardauth:4181. Cause: context deadline exceeded (Client.Timeout or context cancellation while reading body) middlewareName=traefik-forward-auth@docker middlewareType=ForwardAuth
The text was updated successfully, but these errors were encountered:
I'm not familiar with your setup, not sure what is happening, but the connectivity checker just perform a simple HEAD request, with no body to the index.html to make sure it's reachable. Something wrong is happening when handling this request on Traefik, the log seems to indicate it expect to have a body: Timeout or context cancellation while reading body ?
Could your auth proxy require some specific config to handle a head request?
Hello!
My auth proxy is traefik forward auth. As per this discussion : feature: forward body the traefik team decided to not handle the body. Unfortunately there i see two possible ways: 1. to use traefik plugin. 2. To ask you to consider changes of how the connectivity checker works.
How do you think is the better solution?
Regards!
I'm using HOMER in a docker swarm environment. The ingress requests are handled by traefik reverse proxy and passed to the HOMER service via the forward-auth middleware. When i set on the "connectivityCheck: true" in the config file. I get a message "You're offline, friend." in few seconds. The browser network tab shows: Failed to load resource: the server responded with a status of 500 ()
homer HEAD 500 (Internal Server Error) check Online @ index-DHk fo9r.was:148 created @ index-DHk fo9r.js:148 Et @ index-DHkbfo9r.js:14 Xe @ index-DHkbfo9r.js:14 eo @ index-DHkbfo9r.js:14 Uf @ index-DHkbfo9r.js:14 xl @ index-DHkbfo9r.js:14 wu @ index-DHkbfo9r.js:14 _u @ index-DHkbfo9r.js:14 mn @ index-DHkbfo9r.js:14 Wt @ index-DHkbfo9r.js:14 m @ index-DHkbfo9r.js:14 R @ index-DHkbfo9r.js:14 $ @ index-DHkbfo9r.js:14 F @ index-DHkbfo9r.js:14 m @ index-DHkbfo9r.js:14 R @ index-DHkbfo9r.js:14 $ @ index-DHkbfo9r.js:14 F @ index-DHkbfo9r.js:14 m @ index-DHkbfo9r.js:14 R @ index-DHkbfo9r.js:14 $ @ index-DHkbfo9r.js:14 F @ index-DHkbfo9r.js:14 m @ index-DHkbfo9r.js:14 A @ index-DHkbfo9r.js:14 run @ index-DHkbfo9r.js:10 h.update @ index-DHkbfo9r.js:14 Et @ index-DHkbfo9r.js:14 ml @ index-DHkbfo9r.js:14 Promise.then dl @ index-DHkbfo9r.js:14 Us @ index-DHkbfo9r.js:14 (anonymous) @ index-DHkbfo9r.js:14 sr @ index-DHkbfo9r.js:10 gt @ index-DHkbfo9r.js:10 set @ index-DHkbfo9r.js:10 set @ index-DHkbfo9r.js:14 buildDashboard @ index-DHkbfo9r.js:174 await in buildDashboard created @ index-DHkbfo9r.js:174 Et @ index-DHkbfo9r.js:14 Xe @ index-DHkbfo9r.js:14 eo @ index-DHkbfo9r.js:14 Uf @ index-DHkbfo9r.js:14 xl @ index-DHkbfo9r.js:14 wu @ index-DHkbfo9r.js:14 _u @ index-DHkbfo9r.js:14 mn @ index-DHkbfo9r.js:14 Wt @ index-DHkbfo9r.js:14 m @ index-DHkbfo9r.js:14 gn @ index-DHkbfo9r.js:14 mount @ index-DHkbfo9r.js:14 Zu.t.mount @ index-DHkbfo9r.js:18 (anonymous) @ index-DHkbfo9r.js:174
Traefik log shows:
2024-08-25T09:07:39Z DBG github.com/traefik/traefik/v3/pkg/middlewares/auth/forward.go:164 > Error reading body http://forwardauth:4181. Cause: context deadline exceeded (Client.Timeout or context cancellation while reading body) middlewareName=traefik-forward-auth@docker middlewareType=ForwardAuth
The text was updated successfully, but these errors were encountered: