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

[IX] - Long requests timeout #7276

Open
txau opened this issue Sep 26, 2024 · 1 comment
Open

[IX] - Long requests timeout #7276

txau opened this issue Sep 26, 2024 · 1 comment

Comments

@txau
Copy link
Collaborator

txau commented Sep 26, 2024

This is a known problem in Uwazi, long synchronous requests that require heavy backend processes may timeout on the client before the backend finishes.

This is the case for the step "Sending labeled data" for IX. The user receives an undefined "An error has occurred" on the UI, but actually is just the UI waiting for the server response. The process actually finishes properly on the backend.

A quick fix with no side effects could be making that request asynchronous and not have the client wait for the labeled data to be sent.

Edit: this is also typical when saving templates. If we are performing a modification to a template that has many entities associated, the request can timeout before the operation is finished giving a UI error and misleading users, since there is no error, just a timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@txau @aphilop and others