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

Error page served with HTTP 200 status #10881

Closed
strugee opened this issue Nov 18, 2016 · 4 comments
Closed

Error page served with HTTP 200 status #10881

strugee opened this issue Nov 18, 2016 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@strugee
Copy link

strugee commented Nov 18, 2016

Upon visiting my Piwik homepage today I got a page that said "an error occurred" followed by "Piwik couldn't write to some directories (running as user 'www-data')." and a list of commands to try.

I have monitoring in place that checks whether HTTP services respond with 200 OK, aka a success status code. Obviously Piwik is not OK in this scenario, and should return 500 Internal Server Error instead.

@mattab
Copy link
Member

mattab commented Dec 6, 2016

Thanks for the suggestion @strugee definitely agree! This is similar to #10623

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Dec 6, 2016
@mattab mattab added this to the 3.0.0 milestone Dec 6, 2016
@andyjdavis
Copy link
Contributor

I have put up a PR containing a possible solution for this issue. #17206

@diosmosis
Copy link
Member

Fixed by #17206

@strugee
Copy link
Author

strugee commented Feb 9, 2021

Thanks to you both for your hard work :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

4 participants