iOS: Can't connect to WebDAV server
dstillman
Zotero Team
This discussion was created from comments split from: Issues with using WebDAV on iPad..
Upgrade Storage
```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.