Hey! I'm having the same problem with my iPad. Whenever I try to connect to the WebDAV server, I get the error message " Could not connect to WebDAV server", although it works fine on my Mac. I set up my WebDAV using "bytemark/webdav" on docker, but initially, I use port 88 since port 80 was in use. However, I suspect that Zotero cannot recognize port 88, so I tried to use Nginx to proxy "webdav.ip.me" to "ip.me:88". Unfortunately, that didn't work either. To rule out any problems with Zotero. I also tried Nutstore's WebDAV, and that worked. By the way, here's the debug output logging:
```bash [ERROR] Zotero(+0000001): sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection." UserInfo={NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection., NSErrorFailingURLStringKey=http:// webdav.asher.pw/zotero/, NSErrorFailingURLKey=http:// webdav.asher.pw/zotero/, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <96579942-6773-4DAC-BDE1-4A330E48EED4>.<128>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <96579942-6773-4DAC-BDE1-4A33048EED4>. <128>, NSUnderlyingError=0×2820764f0 {Error Domain=KCFErrorDomainCFNetwork Code=-1022 "(null)"}}). [(71) ApiLogger.logFailedresponse(error:statusCode:startData:): com.apple.main-thread] [INFO] Zotero(+0000040): HTTP OPTIONS http://webdav.asher.ow/ zotero/ failed with -1. [(99) ApiLogger.logResponseldentifier(statusCode:success:startData:); com.apple.main-thread? ```
After considering all the possibilities, I believe the issue may be that Im using HTTP instead of HTTPS, which is less secure. To resolve this issue, I'm planning to switch to HTTPS.
```bash
[ERROR] Zotero(+0000001): sessionTaskFailed(error: Error
Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection." UserInfo={NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection., NSErrorFailingURLStringKey=http:// webdav.asher.pw/zotero/, NSErrorFailingURLKey=http://
webdav.asher.pw/zotero/,
_NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <96579942-6773-4DAC-BDE1-4A330E48EED4>.<128>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask
<96579942-6773-4DAC-BDE1-4A33048EED4>. <128>,
NSUnderlyingError=0×2820764f0 {Error
Domain=KCFErrorDomainCFNetwork Code=-1022 "(null)"}}). [(71)
ApiLogger.logFailedresponse(error:statusCode:startData:):
com.apple.main-thread]
[INFO] Zotero(+0000040): HTTP OPTIONS http://webdav.asher.ow/ zotero/ failed with -1. [(99)
ApiLogger.logResponseldentifier(statusCode:success:startData:);
com.apple.main-thread?
```
After considering all the possibilities, I believe the issue may be that Im using HTTP instead of HTTPS, which is less secure. To resolve this issue, I'm planning to switch to HTTPS.
Nothing to do with the port. You have to use HTTPS for remote addresses due to iOS restrictions.