-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unexpected status code when backend timeout occurs #584
Comments
@teodorescuserban can you try with the latest commit (as mentioned here: #585 (comment)) please? 🙏 |
I'd happily try it, but I need a correct commit sha I think.
|
With the new commit shas provided in #585 I was able to build and test. It looks better. I set the backend timeout for testing to
I am getting the expected 504 status code. However, there is something amiss. In caddy, I have configured
when I am forcing the reverse_proxy to expire before the cache backend timeout by setting
I am also getting the expected
However, when the cache backend is hit first, I do get
Now, I don't mind the Any ideas, @darkweak? cc @francislavoie - perhaps modules order? the cache module is called inside a route, but I cant add handle_response inside that route... :\ |
I don't know what you mean. |
Thank you for replying, @francislavoie and sorry for the typo. I meant |
Ah, yeah |
I am using souin cache as caddy module.
More details are here.
I am getting status code 200 with the body "Internal server error" when the backend does not respond before the
timeout.backend
.I would expect at least a 504.
The text was updated successfully, but these errors were encountered: