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

Log errors #44

Open
unidesigner opened this issue Oct 12, 2019 · 2 comments
Open

Log errors #44

unidesigner opened this issue Oct 12, 2019 · 2 comments

Comments

@unidesigner
Copy link

For some reason, I suddenly started getting http 500 errors on one of my servers when requesting tiles from a n5 dataset via h2n5 and I don't know what the issue is. I'm running out of ideas what to check. Is there a way to turn on some debug mode / print errors from h2n5 itself? E.g. in case of missing files in the n5 container, file read permission issues or such?

Thanks for help.

@unidesigner
Copy link
Author

The problem was with a malformed JSON in the root attributes.json.

@aschampion
Copy link
Owner

While most HTTP response errors are intentionally opaque so as not to worry about information leaks being a security concern, error logging should be implemented.

@aschampion aschampion reopened this Oct 29, 2019
@aschampion aschampion changed the title Getting http 500 errors Log errors Oct 29, 2019
aschampion added a commit that referenced this issue Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants