Hey! New oathkeeper fanboy :slightly_smiling_face:...
# talk-oathkeeper
c
Hey! New oathkeeper fanboy 🙂 I just noticed this in the log, should I file a bug? 🤔
Copy code
<> oathkeeper time=2022-09-05T16:39:48Z level=warning msg=Access request denied func=<http://github.com/ory/oathkeeper/api.(*DecisionHandler).decisions|github.com/ory/oathkeeper/api.(*DecisionHandler).decisions> file=/project/api/decision.go:108 audience=application error=map[debug: message:Requested url does not match any rules reason: status:Not Found status_code:404 trace:
<> oathkeeper time=2022-09-05T16:39:48Z level=error msg=An error occurred while handling a request func=<http://github.com/ory/herodot.DefaultErrorReporter.func1|github.com/ory/herodot.DefaultErrorReporter.func1> file=/go/pkg/mod/github.com/ory/herodot@v0.8.4/error_reporter.go:30 code=500 debug= details=map[] error=An internal server error occurred, please contact the system administrator reason=Unable to handle HTTP request because no matching error handling strategy was found. This is a bug and should be reported to: <http://github.com/ory/oathkeeper> request-id= status=500 writer=JSON
b
How does your associated rule look like?
c
I think this is thrown when there is no matching rule - I have errorHandler in the config to catch this kind of cases
b
I got the same error message with a wrong matching url while my oathkeeper was behind a proxy. In my rules I was listening on
https://...
. But the proxied request was of course
http://...
. So I had to edit my rules.
c
So most of the times it works but I do see this error from time to time
b
Hmm, then you should file a bug maybe.
c
Yeah probably... thanks!