Start a new topic

Nextcloud Webdav sync issues

I am getting the error(s) shown below when attempting to sync to my nextcloud instance


  • The credentials I am using have all permissions
  • I am using a lets encrypt cert but have tried the allow untrusted option and get the same result
  • I have tried adding /org to the url (https://example.com/remote.php/dav/files/joey/org) and that directory does exist on the server)

Based on googling the error message it seems to be related to the certificate. This article does say to make sure the time is correct on each device. Does this mean that they both need to be in the same timezone or just the minutes and seconds need to be in sync? The server is setup for UTC and I would prefer not to change that. Could that be the cause?   

09:16:48 Creating WebDAV client: {
rootURL = "https://example.com/remote.php/dav/files/joey/";
}
09:16:48 WebDAV listing request started
09:16:48 Starting WebDAV request: {
request = "<NSMutableURLRequest: 0x2824a6210>{ URL: https://example.com/remote.php/dav/files/joey/org }";
}
09:17:41 WebDAV request failed: {
error = "Error Domain=NSURLErrorDomain Code=-1012 \"(null)\" UserInfo={NSErrorFailingURLStringKey=https://example.com/remote.php/dav/files/joey/org, NSErrorFailingURLKey=https://example.com/remote.php/dav/files/joey/org}";
}
09:17:41 WebDAV request failed: {
error = "Error Domain=com.saemobile.LEOWebDAV.error Code=-1 \"(null)\"";
}
09:17:41 Sync completed: {
conflicts = (
);
error = "Error Domain=NSURLErrorDomain Code=-1012 \"A list of your files couldn't be downloaded from your server. Check that your WebDAV server URL, username and password are correct.\" UserInfo={NSLocalizedDescription=A list of your files couldn't be downloaded from your server. Check that your WebDAV server URL, username and password are correct.}";

 

1 Comment

I don't think the time is likely to be an issue - if the time is being set automatically on both the server and on your iOS device everything should be fine.


The error message indicates that there is an authentication issue but I don't think it is related to your certificate. Can you connect via WebDAV using other methods (e.g. if you are using macOS then connecting using the Finder - not using the Nextcloud sync app)? If you can verify that you are able to connect using WebDAV via some other means then I'll have a further think about what might be happening here.


(You are correct to leave the /org off the URL and keep that specified as the folder)

Login or Signup to post a comment