Skip to content
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

UKHPI: 500 response to OPTIONS requests #41

Open
ijdickinson opened this issue Sep 10, 2021 · 3 comments
Open

UKHPI: 500 response to OPTIONS requests #41

ijdickinson opened this issue Sep 10, 2021 · 3 comments
Labels
app/UKHPI Issues affecting the UKHPI service priority 2 Medium priority

Comments

@ijdickinson
Copy link
Contributor

From @bwmcbride:

We are seeing occurrences of 500 errors in the Apache logs on the production servers.

These are in response to an HTTP request "OPTIONS /app/ukhpi/assets/"

Would it be possible to respond with something other an 500 which looks like an internal server error?

Its not a big deal, but batches of "internal server errors" are a cause of concern when they show up in the monitoring. Operator really should go and look at what is causing them.

@ijdickinson ijdickinson added app/UKHPI Issues affecting the UKHPI service priority 2 Medium priority labels Sep 10, 2021
@ijdickinson
Copy link
Contributor Author

Thanks, will investigate. Can you provide a curl command that provokes the error?

Are PPD and Standard Reports also affected?

@ijdickinson
Copy link
Contributor Author

Reply from @bwmcbride:

curl -X OPTIONS http://lr-ppd-dev-pres.epimorphics.net/app/ukhpi/assets/

will reproduce the error

The equivalent requests for ppd and standard reports do not have the same problem - they return 404

curl -X OPTIONS http://lr-ppd-dev-pres.epimorphics.net/app/ppd/assets/
curl -X OPTIONS http://lr-ppd-dev-pres.epimorphics.net/app/standard-reports/assets/

@ijdickinson
Copy link
Contributor Author

Migration of epimorphics/ukhpi#208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app/UKHPI Issues affecting the UKHPI service priority 2 Medium priority
Projects
None yet
Development

No branches or pull requests

1 participant