-
Notifications
You must be signed in to change notification settings - Fork 1
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
Do not throw an Internal Server error when trying to access a URL for which you don't have access #249
Comments
Hi @EricSoroos , do you think we could handle this cases as well? I think that we should either show a Not Found page or Unauthorised or redirect the user to the login page. |
I'm sure it's possible. It should be a matter of catching the authorization exception and returning the appropriate response. It's done in other locations in ckan, so shouldn't be a big deal here. We're going to be talking about scheduling today, so I'll have a better idea of the timing after that conversation. |
Hi @EricSoroos, any update on this? |
Hi @deirdrelee , do you have an update on when this can be done? It has been flooding the logs lately and it is hard to spot real errors caused by actual problems. |
Hi @EricSoroos, do you know if you will be able to handle this issue this year? If not, could you give me some hints on how I could solve this? Thank you! |
@cmovz , this is the repository : https://github.com/derilinx/ckan-docker-public The URL for staging is https://staging.resourcedata.org/ and for production is https://resourcedata.org/ |
@adinuca I can't find |
Do I have to sign up to SearchStax Free-Trial? |
Why would you need this? You can use whatever is set up for Staging, but you might need to whitelist your IP in searchstax. |
why do you need this? |
The readme says to follow the steps on the guide, the first 3 steps are for configuring a SearchStax account, then proceed to copy the schema from that location to setup SOLR. |
@cmovz , create a new deployment in SearchStax ( credentials are in 1password). Please use the cheapest version. |
@cmovz , I will put these issues on hold for a while because I wasn't able to run the site either due to deprecated libraries and python versions. |
This is on hold for now, we no longer have write permissions to the repo. Tommy is trying to find out what happened. |
Why
When a user that is not logged in tries to access a page for which he needs to be logged in, the application displayed a 500 error.
Example: https://www.resourcedata.org/user/followed_datasets/krystalsteel123 without being logged in.
What
Notes
At the moment, the user is shown an internal server error and there is a long stacktrace logged
The text was updated successfully, but these errors were encountered: