-
Notifications
You must be signed in to change notification settings - Fork 81
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
Clicking on resources tab gives 502 error sporadically #770
Comments
Nasty. I wonder what that could be. 502s normally come from nginx or UWSGI. Maybe one for @amplifi? |
error log print out:
|
Oh no. It's the Unicode logging error, back to haunt us like the ghost of Jacob Marley. |
Confirmed; this error is bubbling up from Django. Everything server-side is still set to UTF-8. |
It might also be this, but since I can't reproduce the error I'm not sure. It's missing the |
Hmmm. Should the (None of this explains why we're getting these sporadic logging errors, but it might explain the increase in their frequency again.) |
Hmmm. Eugene wrote some pretty ugly JS to do this, which is why it's been really hard to track down what's going on. The unarchive URL is set up from a HTML data attribute in the JS at the bottom of the |
@seav When I said "pretty ugly JS", that's not a pejorative judgment against you, by the way. The JS more or less always ends up being ugly in these cases, because you have lots of little bits of it lying around in different places, and it's hard to track down what's going on. |
Hmmm... I've never encountered any errors in the dev VM because of the lack of the
|
Let's try that and see what happens. I'll make a tiny PR for it, and we can merge it and ask @amplifi to deploy to staging today or tomorrow so we can see if it makes a difference. Since we don't have any other leads for why this is happening, trying this is as good an idea as any, I think. |
So far I haven't encountered any 502 errors while browsing the staging site, which should already have PR #797. Can anybody else confirm? |
I can't make any pop up. Are org admins now allowed to see deleted resources? If they are it might be worth adding the same |
Steps to reproduce the error
Go to a project you don't have permission to view resources on (this is the one I was looking at)
Click between the resource tab and the overview tab until you get a
502
error.Actual behavior
Sporadic
502
errors.Expected behavior
I should see an empty table every time.
The text was updated successfully, but these errors were encountered: