Skip to content
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

Joplin updated from 12.14.6 to 12.14.8 in IOS17.5 , Webdav sync failed :Network request faild #10437

Closed
suntingbo opened this issue May 16, 2024 · 3 comments
Labels
bug It's a bug

Comments

@suntingbo
Copy link

Operating system

iOS

Joplin version

12.14.8

Desktop version info

No response

Current behaviour

In IOS 17.5 , after updated Joplin to 12.14.8 , webdav cannot be used;but 12.14.6 works fine .

Expected behaviour

No response

Logs

cfab9f5de58c6c2240dd1881b6d5342

@suntingbo suntingbo added the bug It's a bug label May 16, 2024
@suntingbo
Copy link
Author

this is my webdav address , works fine before Joplin 12.14.6

image

@wljince007
Copy link
Contributor

wljince007 commented May 16, 2024

The reason is: nsapptransportsecurity

I found a feasible method by compiling the dev version of 12.14.8.

Here is a flexible solution:

  1. In Joplin Setting, configure the WebDav Url address to http://api.joplincloud.local:12345
  2. api.joplincloud.local has been set to enable HTTP requests by Joplin IOS version.
  3. Add nginx forwarding before WebDav service, example configure:
server {
  listen 12345;
  location / {
    proxy_set_header Host 101.35.198.14:51234;
    proxy_pass  http://101.35.198.14:51234;
  }
}
  1. Change IOS Hosts, or use Stash proxys or other methods to transfer http://api.joplincloud.local:12345 lead to your nginx monitoring http://101.35.198.14:12345

@suntingbo
Copy link
Author

It works, thanks a lot!

The reason is: nsapptransportsecurity

I found a feasible method by compiling the dev version of 12.14.8.

Here is a flexible solution:

  1. In Joplin Setting, configure the WebDav Url address to http://api.joplincloud.local:12345
  2. api.joplincloud.local has been set to enable HTTP requests by Joplin IOS version.
  3. Add nginx forwarding before WebDav service, example configure:
server {
  listen 12345;
  location / {
    proxy_set_header Host 101.35.198.14:51234;
    proxy_pass  http://101.35.198.14:51234;
  }
}
  1. Change IOS Hosts, or use Stach proxys or other methods to transfer http://api.joplincloud.local:54321 lead to your nginx monitoring http://101.35.198.14:12345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug
Projects
None yet
Development

No branches or pull requests

2 participants