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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Windows can connect to Nextcloud WebDav but then loses the connection and can't reconnect

Windows can connect to Nextcloud WebDav but then loses the connection and can't reconnect

Scheduled Pinned Locked Moved Nextcloud
20 Posts 5 Posters 5.6k Views 5 Watching
  • 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.
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #6

      The Cloudron app is using apache actually.

      marcusquinnM 1 Reply Last reply
      1
      • nebulonN nebulon

        The Cloudron app is using apache actually.

        marcusquinnM Offline
        marcusquinnM Offline
        marcusquinn
        wrote on last edited by
        #7

        @nebulon OK, maybe not that then, but the issue remains. Still investigating and testing, this comment on this thread seems relevant:

        https://help.nextcloud.com/t/unable-to-use-webdav-mount-on-windows-8-1/23676/14

        What I experienced is that Windows is not able to mount webdav volumes behind a Reverse Proxy and SSL Because the SNI (Server Name Indication) is still not supported by the Windows Explorer (not like Internet Explorer, which does support SNI). I think Google might have a Reverse Proxy for all of their cloud services so they don’t have to assign 1 IP for every single customer and therefore you’re not able to mount it.

        There’s more information about this: https://www.vioreliftode.com/index.php/microsoft-windows-webdav-client-does-not-support-server-name-indication-sni/

        That seems to be the problem - but what is the solution?

        Web Design https://www.evergreen.je
        Development https://brandlight.org
        Life https://marcusquinn.com

        nebulonN 1 Reply Last reply
        0
        • marcusquinnM marcusquinn

          @nebulon OK, maybe not that then, but the issue remains. Still investigating and testing, this comment on this thread seems relevant:

          https://help.nextcloud.com/t/unable-to-use-webdav-mount-on-windows-8-1/23676/14

          What I experienced is that Windows is not able to mount webdav volumes behind a Reverse Proxy and SSL Because the SNI (Server Name Indication) is still not supported by the Windows Explorer (not like Internet Explorer, which does support SNI). I think Google might have a Reverse Proxy for all of their cloud services so they don’t have to assign 1 IP for every single customer and therefore you’re not able to mount it.

          There’s more information about this: https://www.vioreliftode.com/index.php/microsoft-windows-webdav-client-does-not-support-server-name-indication-sni/

          That seems to be the problem - but what is the solution?

          nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #8

          @marcusquinn that SNI issue seems to be related to the mounting itself, but if I understood you correctly, then you can mount successfully, but after time the connection gets lost?

          1 Reply Last reply
          0
          • marcusquinnM Offline
            marcusquinnM Offline
            marcusquinn
            wrote on last edited by
            #9

            @nebulon Correct, mounting 1st time works, then it won't restore after waking from sleep or a reboot.

            Web Design https://www.evergreen.je
            Development https://brandlight.org
            Life https://marcusquinn.com

            nebulonN 1 Reply Last reply
            0
            • marcusquinnM marcusquinn

              @nebulon Correct, mounting 1st time works, then it won't restore after waking from sleep or a reboot.

              nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #10

              @marcusquinn that sounds very much like a client issue though.

              robiR marcusquinnM 2 Replies Last reply
              1
              • nebulonN nebulon

                @marcusquinn that sounds very much like a client issue though.

                robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #11

                @nebulon Right.. if it doesn't unmount properly, it can't mount on resume/reboot.

                @marcusquinn look into a sleep/shutdown script that unmounts properly.

                Unless there is a service that does that, which isn't enabled.

                Conscious tech

                marcusquinnM 1 Reply Last reply
                0
                • nebulonN nebulon

                  @marcusquinn that sounds very much like a client issue though.

                  marcusquinnM Offline
                  marcusquinnM Offline
                  marcusquinn
                  wrote on last edited by
                  #12

                  @nebulon No idea, but it is an issue without a resolution at present, and WebDav is the preferred way to connect to remote file servers, no-one wants to use web interfaces for file servers when they will never be as integrated to workflow and flexibility as a locally mounted drive.

                  Web Design https://www.evergreen.je
                  Development https://brandlight.org
                  Life https://marcusquinn.com

                  1 Reply Last reply
                  0
                  • robiR robi

                    @nebulon Right.. if it doesn't unmount properly, it can't mount on resume/reboot.

                    @marcusquinn look into a sleep/shutdown script that unmounts properly.

                    Unless there is a service that does that, which isn't enabled.

                    marcusquinnM Offline
                    marcusquinnM Offline
                    marcusquinn
                    wrote on last edited by marcusquinn
                    #13

                    @robi The way I see it is, if the Nextcloud official instructions on connecting to WebDav from each OS don't work as they have tried, tested and suggested, then it is our Cloudron implementation that is lacking, not Nextcloud or the User.

                    Web Design https://www.evergreen.je
                    Development https://brandlight.org
                    Life https://marcusquinn.com

                    robiR necrevistonnezrN 2 Replies Last reply
                    0
                    • marcusquinnM marcusquinn

                      @robi The way I see it is, if the Nextcloud official instructions on connecting to WebDav from each OS don't work as they have tried, tested and suggested, then it is our Cloudron implementation that is lacking, not Nextcloud or the User.

                      robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #14

                      @marcusquinn That's a lot of assumptions and variables.

                      This is specifically for windows right?

                      MacOS and Linux clients work ok?

                      Conscious tech

                      1 Reply Last reply
                      0
                      • marcusquinnM marcusquinn

                        @robi The way I see it is, if the Nextcloud official instructions on connecting to WebDav from each OS don't work as they have tried, tested and suggested, then it is our Cloudron implementation that is lacking, not Nextcloud or the User.

                        necrevistonnezrN Offline
                        necrevistonnezrN Offline
                        necrevistonnezr
                        wrote on last edited by
                        #15

                        @marcusquinn I use Total Commander with the WebDAV plug-in on Windows 10 and it works without fault.
                        Your issue is Windows OS related, for sure.

                        marcusquinnM 1 Reply Last reply
                        1
                        • necrevistonnezrN necrevistonnezr

                          @marcusquinn I use Total Commander with the WebDAV plug-in on Windows 10 and it works without fault.
                          Your issue is Windows OS related, for sure.

                          marcusquinnM Offline
                          marcusquinnM Offline
                          marcusquinn
                          wrote on last edited by
                          #16

                          @necrevistonnezr Thanks, looks kind a like Cyberduck or Filezilla , whereas I'm looking for Windows Explorer volume mounts, which will work with Mountain Duck (prob the best of the bunch for personal use) or Expandrive (prob the best of the bunch for enterprise), but not natively.

                          Web Design https://www.evergreen.je
                          Development https://brandlight.org
                          Life https://marcusquinn.com

                          necrevistonnezrN 1 Reply Last reply
                          0
                          • marcusquinnM marcusquinn

                            @necrevistonnezr Thanks, looks kind a like Cyberduck or Filezilla , whereas I'm looking for Windows Explorer volume mounts, which will work with Mountain Duck (prob the best of the bunch for personal use) or Expandrive (prob the best of the bunch for enterprise), but not natively.

                            necrevistonnezrN Offline
                            necrevistonnezrN Offline
                            necrevistonnezr
                            wrote on last edited by
                            #17

                            @marcusquinn Well, TotalCMD is a 28 year old still updated Swiss Army Knife for all sorts of things, it’s jus happens to have a WebDAV plugin….

                            marcusquinnM 1 Reply Last reply
                            2
                            • necrevistonnezrN necrevistonnezr

                              @marcusquinn Well, TotalCMD is a 28 year old still updated Swiss Army Knife for all sorts of things, it’s jus happens to have a WebDAV plugin….

                              marcusquinnM Offline
                              marcusquinnM Offline
                              marcusquinn
                              wrote on last edited by marcusquinn
                              #18

                              @necrevistonnezr Sure, I'm old also.

                              Maybe I missed something from their website or your linking to it. Does it mount volumes in Windows Explorer?

                              The point of Windows Explorer mounded volumes is that for users there is no noticeable download/upload or drag & drop necessary to edit files. they just double-click to open, and save to save.

                              This avoids the data mess that happens when people work on files locally and forget to re-upload, or forked data where open files aren't locked.

                              WebDav and ExpanDrive accomodate for file-locking to prevent data forking or accidental overwrites of another user's edits.

                              Basically, and thing that works like Filezilla or Cyberduck, despite being able to connect to WebDav services, is not a solution, because it misses the important features that local volume mountain offers in making collaboration on files less risky for data-loss or spread beyond where it should be, and saves from user training, where remote volumes "just work" as-if local.

                              I'm afraid "good enough for techies" isn't "good enough for everyone" in many cases, it is these subtle things that may seem like conveniences, that add up to solve a hell of a lot of wasted time on issues that can be better spent on designing more useful services.

                              Web Design https://www.evergreen.je
                              Development https://brandlight.org
                              Life https://marcusquinn.com

                              1 Reply Last reply
                              0
                              • marcusquinnM marcusquinn referenced this topic on
                              • marcusquinnM Offline
                                marcusquinnM Offline
                                marcusquinn
                                wrote on last edited by marcusquinn
                                #19

                                I might have a partial solution to this:

                                1. Go to "This PC"
                                2. Computer tab > Map network drive > use any drive letter and use the path \\cloud.example.com@SSL\DavWWWRoot\remote.php\dav\files\{username} where cloud.example.com is the url for your Nextcloud instance.
                                3. Enter your username & password, and tick to remember.

                                Now, this doesn't completely survive a restart and auto-mount, because it wants you to click on the path and re-confirm submitting your remembered login and password each time - but ti is better than the total fail and not being able to reconnect ever again that the other "Add network location" way results in.

                                So it's possible to access this way, and speed is good - just not perfect as it should work both ways and auto-mount after reboots or sleep & wake.

                                Web Design https://www.evergreen.je
                                Development https://brandlight.org
                                Life https://marcusquinn.com

                                1 Reply Last reply
                                1
                                • marcusquinnM Offline
                                  marcusquinnM Offline
                                  marcusquinn
                                  wrote on last edited by
                                  #20

                                  This can also be scripted or done via cmd Command Prompt / Powershell for Windows Desktop / Server users:

                                  https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn789190(v=ws.11)

                                  Login script

                                  net use I: https://cloud.example.com/remote.php/dav/files/{username}/

                                  Logoff script

                                  net use I: /delete

                                  Web Design https://www.evergreen.je
                                  Development https://brandlight.org
                                  Life https://marcusquinn.com

                                  1 Reply Last reply
                                  1
                                  • marcusquinnM marcusquinn referenced this topic on
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                    • Login

                                    • Don't have an account? Register

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