-
Notifications
You must be signed in to change notification settings - Fork 77
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
Backend crash when opening hostile-named submission detail #1157
Comments
It didn't ring a bell when you mentioned it but now I'm pretty sure this was @lindsay-stevens pushing the limits with |
Well, could we surface the error and not do anything instead of crashing? Maybe that's not any easier than just supporting that case? |
Should submissions with non-uuid instanceId values be rejected when initially submitted? |
i'm not sure how the user input was inserted, but it feels like the hard crash should be addressed at least. bad input shouldn't crash the server, that's a DOS. |
Recreated by running 20 requests in parallel:
|
It looks like the crash is caused by an unhandled error thrown by the synchronous call to central-backend/lib/resources/odata.js Lines 49 to 55 in 7afef66
|
the crash happens without any parallel reqs for me. my guess is you need it because docker is restarting the server faster than you can see. i click the link once my server crashes 100% of the time. |
I want to be clear that I agree the crash should be prevented so glad to see #1158! I was also initially being fooled by the Docker restart. |
The text was updated successfully, but these errors were encountered: