-
Notifications
You must be signed in to change notification settings - Fork 668
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 while merging chunks on server #2074
Comments
Seeing the same thing here. Syncing a large file results in the desktop client timing out before the "dechunking" and virus scan is done. It will then start uploading the file all over again, even after the server is finished it's work. If you pause and resume it will detect that the file is already there. It would appear that the client is waiting for a response from the server and gives up. While increasing the time out is an obvious "fix" it only moves the problem. A real fix would need to involve the server being able to respond while it's still processing the file to let the client know that it's still working on it. The client can then close the connection, open another and wait for another response of working, error or success. Short term fix - is this timeout set in MirallConfigFile::timeout() (/src/mirall/mirallconfigfile.cpp)? Would changing this form 300 to 600 or higher resolve the situation until a more complete fix is in place on both client and server? |
Should I report this to server issues too? |
There is a solution to this problem, keyword is "poll url". Basically what we do is opening a connection to the server and poll for progress on the operation. @ogoffart and @guruz did that, but we will need server support for that. @karlitschek and @DeepDiver1975 |
Issue on the server: |
I find out that, when I sync large file, it depends on server write speed for me it is 8GB file with encryption plugin(7.6GB is done with no errors). All is OK while it is uploading chunks. But when merging start, client try to ask for something(if is file on server?) after 300sec timeout, but server still merging file so it is not there. Client timeouts with error(operation canceled) and start resyncing file. If I pause sync client after uploading is complete and while merging and resume after server merged file, sync is OK.
sync client: 1.6.2
owncloud: 6.0.4
network: LAN
client log
server log:
apache log:
The text was updated successfully, but these errors were encountered: