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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Nextcloud Client - Timeout with Large Files

    Nextcloud
    3
    10
    803
    Loading More Posts
    • 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.
    • neurokrish
      neurokrish last edited by

      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?

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @neurokrish last edited by

        @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 ?

        neurokrish 2 Replies Last reply Reply Quote 0
        • neurokrish
          neurokrish @girish last edited by

          @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 Reply Quote 0
          • neurokrish
            neurokrish @girish last edited by neurokrish

            @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..

            nebulon 1 Reply Last reply Reply Quote 0
            • nebulon
              nebulon Staff @neurokrish last edited by

              @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.

              neurokrish 3 Replies Last reply Reply Quote 0
              • neurokrish
                neurokrish @nebulon last edited by neurokrish

                @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 Reply Quote 0
                • neurokrish
                  neurokrish @nebulon last edited by

                  @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 Reply Quote 0
                  • neurokrish
                    neurokrish @nebulon last edited by

                    @nebulon from Nextcloud docs,

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

                    girish 1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff @neurokrish last edited by

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

                      neurokrish 1 Reply Last reply Reply Quote 0
                      • neurokrish
                        neurokrish @girish last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB