-
Notifications
You must be signed in to change notification settings - Fork 189
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
REST API requests raising errors for SQLAlchemy backend #3884
Comments
This doesn't seem (on first look) to be related to thread-handling, but I'll try and take a peek in the code and with the issue. Could you possibly try and come up with a code example that reproduces the error, maybe something that could be used as a test as well? |
The Explore interface launches the same kind of requests that we check in the tests, so I'm not sure how to write a test for this. And I've just added the following in the file
|
Okay. I think I'll try and fix #3743 in the near future then, and see if this issue is solved as a consequence as well - since it seems to be difficult to pinpoint the issue here exactly. |
Can @asle85 not check out your PR branch and run the test? As I understand it, it should be reproducible in a deterministic manner. |
When using the feature "Connect to your AiiDA REST API" on Materials Cloud Explore, the interface launches a series of requests to the REST API. For profiles with SQLAlchemy backend, the first time a user is connecting some of those requests fail, raising the errors below. This is not happening for profiles with Django backend, and might be related to #3743.
Mentioning @sphuber @CasperWA
The text was updated successfully, but these errors were encountered: