-
-
Notifications
You must be signed in to change notification settings - Fork 730
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
Volto delivers HTTP 200 when no backend server is available #6447
Comments
I'll try to provide a PR for this, but it will probably take me until end of the week/next week until I have the time for this |
Can i work on this project ?? |
@prreyanshu Yes Sorry, I hit a wall with this one and wasn't able to fix it. |
@prreyanshu please read and follow First-time contributors, especially Things not to do, Contributing to Plone, and Contributing to Volto. |
hi @stevepiercy would you like to help me how to go through with this issue? |
@Shyam-Raghuwanshi sorry, I personally don't know how to resolve it, and have no time to reproduce or work on it. @wolbernd says they hit a wall, so I unassigned them. I also added a "confirmed" label because @davisagli gave it a thumbs up, so I assume he reproduced it. The first step would be to reproduce the issue, and work from there. Hope that helps. |
Describe the bug
When no Backend Server is available opening a Volto Site in a browser delivers a web page with an appropriate error message. However the error message is delivered to the browser with a HTTP statuscode 200.
To Reproduce
Steps to reproduce the behavior:
docker run --name plone6-frontend --rm -e RAZZLE_API_PATH=http://localhost:8080/Plone -d -p 3000:3000 plone/plone-frontend:latest
, make sure no application listens to Port 8080)Expected behavior
The call to http://localhost:3000 should have a HTTP Statuscode indicating that there is something wrong with the website (HTTP 503 or 500).
Software (please complete the following information):
The text was updated successfully, but these errors were encountered: