-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Solved] iOS: Network request failed
when sync to WebDAV. Other desktop clients work fine.
#10420
Comments
By default, React Native doesn't seem to support plain HTTP on iOS >= 9.0. From the documentation,
|
Thanks for the info. I just checked my phone and it's iOS 17.4.1, the iOS 9.0 is quite far away from now. Also I started using joplin with self-hosted webdav from ~2020 on crossplatform clients and it works with plain http and ip address from the beginning to yesterday. I'm not sure if this bug is all about this ATS thing. |
i also have the same problem when use ios client to sync, but windows version is well. |
Here are a few things I've found while looking into this:
|
Thanks again for your digging in. It makes sense now why plain http and ip addresses work fine until recent versions. I will try to modify sync connections from http to https and see what comes next. This issue then will be closed and I will paste something later if I find anything useful. |
I found a alternatives way: #10437 |
Network request failed
when sync to WebDAV. Other desktop clients work fine.Network request failed
when sync to WebDAV. Other desktop clients work fine.
Update after some tweaks: After switching to https+domain from http+plain_ip, iOS client does sync normally again. However this will cost you a domain and ssl certificate and some time to configure. For myself, iOS client is a terminal for reading notes instead of editing, people should make their own tradeoffs if https tweak is worthy |
Thanks for sharing. I thinks this is a valid workaround for now. Anyone who is interested can have a try on it. |
Operating system
iOS
Joplin version
ios 12.14.8
Desktop version info
No response
Current behaviour
Joplin won't sync on target webdav server on iOS client showing
Network request failed
, while other desktop versions work normally.Expected behaviour
iOS client can sync normally again.
Logs
The text was updated successfully, but these errors were encountered: