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

Timeout (504) #50

Open
mrmscmike opened this issue Mar 10, 2023 · 1 comment
Open

Timeout (504) #50

mrmscmike opened this issue Mar 10, 2023 · 1 comment

Comments

@mrmscmike
Copy link

When I upload a large file (e.g. 1.4 GB), I get a timeout (http 504) on one of the (post) requests. The file is completely uploaded and merged. However, the client does not know about it. On the client side, the transfer information ends with: progress:1, error:true, success: false, complete:true. The request is waiting for the response from the server. Maybe I can solve the problem by increasing some timeouts on the server side. However, I have already tried a lot without success. Would it be possible to flush something like a status from time to time on php side so that I don't run into the timeout?

Thanks for any advice.

@AidasK
Copy link
Member

AidasK commented Mar 10, 2023

If merging takes more than 30 seconds, you should move it out to a background job so that http request could respond immediately with 200

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

No branches or pull requests

2 participants