Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Nextcloud Client - Timeout with Large Files

Scheduled Pinned Locked Moved Solved Nextcloud
10 Posts 3 Posters 1.1k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • neurokrishN Offline
    neurokrishN Offline
    neurokrish
    wrote on last edited by
    #1

    I am getting a "Connection closed" error when trying to sync a file > 700 MB. The upload/ sync is through their Windows desktop client, not through GUI. I found that there is a request_terminate_timeout option as mentioned here. I am not sure if this error is related.

    Did anyone face this problem?

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to neurokrish on last edited by
    #2

    @neurokrish I think request_terminate_timeout in a PHP-fpm configuration. We use modphp in cloudron, so that setting is not the fix.

    Do you see any error in the nextcloud logs when the upload fails ?

    neurokrishN 2 Replies Last reply
    0
  • neurokrishN Offline
    neurokrishN Offline
    neurokrish
    replied to girish on last edited by
    #3

    @girish nothing in the logs. When I watch the progress in the desktop client as the file gets uploaded, everything seems to be going on fine until it fails with a "connection closed" error. Is there any other way I can troubleshoot and report?

    1 Reply Last reply
    0
  • neurokrishN Offline
    neurokrishN Offline
    neurokrish
    replied to girish on last edited by neurokrish
    #4

    @girish the file uploaded successfully. I noticed that each time it tried to upload the file, some of it was presumably cached somewhere. So, it did not restart from zero but at some % of the file (e.g., starts at 300 MB or 500 MB and so on for a 770 MB file). In the end as this happened, it had only a part of the file left to upload and perhaps could finish it within a certain time limit set somewhere.

    So, I guess, we need to increase the timeout period for the client but I have no idea how. Here is some more info. from their website, which may help you troubleshoot.

    EDIT: that link is probably for file upload through GUI. may be one can play with the chunk size for upload and change it to 20 MB from the default of 10 MB. This way, the upload will be faster and get around the timeout issue? Not sure..

    nebulonN 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to neurokrish on last edited by
    #5

    @neurokrish do you see any errors reported by the app in the app logs at the point when the upload fails? Also check if the app gets restarted due to memory limits on Cloudron side.

    neurokrishN 3 Replies Last reply
    0
  • neurokrishN Offline
    neurokrishN Offline
    neurokrish
    replied to nebulon on last edited by neurokrish
    #6

    @nebulon nothing in the log file of the nextcloud Cloudron app. However, after looking around, I think it is the Windows client issue. I have the exact same error as mentioned here (looked into the Windows client logs) . They suggest a fix changing values in mod_reqtimeout in apache. Can you look into this and let me know if I can change anything to test?

    1 Reply Last reply
    0
  • neurokrishN Offline
    neurokrishN Offline
    neurokrish
    replied to nebulon on last edited by
    #7

    @nebulon, FYI the errors I see in the Windows client log files are, "RemoteHostClosedError Connection closed" QVariant(Invalid) QVariant(Invalid) , QNetworkReply::RemoteHostClosedError and "Connection closed" ..

    1 Reply Last reply
    0
  • neurokrishN Offline
    neurokrishN Offline
    neurokrish
    replied to nebulon on last edited by
    #8

    @nebulon from Nextcloud docs,

    a7d19e90-fef7-41ab-820e-d723c4e6d6c4-image.png

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to neurokrish on last edited by
    #9

    @neurokrish this module is not enabled on Cloudron's apache. So, I think it's probably some client side issue.

    neurokrishN 1 Reply Last reply
    0
  • neurokrishN Offline
    neurokrishN Offline
    neurokrish
    replied to girish on last edited by
    #10

    @girish thanks for letting me know. Ya, probably an issue on the client side then.

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.