Comments (3)
Hey! Thanks for replying! This sadly (shame on me) was a red herring on my part. I'll share what happened though, as it was this Phoenix instance where I first discovered this.
After hours of debugging, I eventually landed on a random Traefik issue traefik/traefik#3163 that happened to mention turning up the logging level to DEBUG
. I did that and discovered the following error(s) that were only visible in debug logs :/
2024-03-23T05:35:42Z" level=debug msg="Error calling http://authelia:9091/api/verify?rd=https://auth.mydomain.tld. Cause: Get \"http://authelia:9091/api/verify?rd=https://auth.mydomain.tld\": dial tcp: lookup authelia on 127.0.0.11:53: no such host" middlewareName=authelia@docker middlewareType=ForwardedAuthType
I have a few service (such as Phoenix) behind Authelia's Proxy auth and using Traefik's Docker-based middleware. Unfortunately the middleware has disappeared "somehow" despite the service still running just fine. This was resulting in 500
erro(s) with zero content, requests were not reaching any backend with this middleware configured.
So adding additional logging won't really help in this cse, but I did notice that we don't really log errors. So my fork addes some additional calls to logrus.WithError(err).Error()
in a few places.
from phoenix.
No amount of restart, or rebuild or redeployment has worked so far. It's really weird.
from phoenix.
Hey!
Thanks for the bug report, I'll add more logs. The project is unpolished in many aspects, but I use it myself and have not noticed such problems.
Judging by the fact that a 500 error is at least returned, the server starts successfully. I'll check the request handlers.
from phoenix.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phoenix.