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

"Network request failed" on two iOs devices with WebDAV sync #3266

Closed
wealthychef1 opened this issue May 24, 2020 · 28 comments
Closed

"Network request failed" on two iOs devices with WebDAV sync #3266

wealthychef1 opened this issue May 24, 2020 · 28 comments
Labels
stale An issue that hasn't been active for a while...

Comments

@wealthychef1
Copy link

wealthychef1 commented May 24, 2020

Environment

Joplin version: 10.0.47
Platform: iOS (both my iPad and iPhone)
OS specifics: latest iOS

Steps to reproduce

  1. Choose WebDAV as sync target
  2. enter username and password and URL to a WebDAV server that works fine for other clients
  3. click "Check synchronisation configuration"

I get an error in the GUI:

"Error: Please check that the URL, username, password, etc. are correct and that the sync target is accessible. The reported error was:

Network request failed"

I can connect to the WebDAV server using the OS X desktop client and it synchronizes successfully.
I have uninstalled and reinstalled the client. No good. Tried both phone and iPad and get the same errors. The logs do not show any errors that I can tell. I am enclosing a few screen shots for what it's worth. (Side note: why not make the log text easier to share other than a screen shot? I can't select and copy text from it...)
Thanks for any help!

Describe what you expected to happen

I expect an entry in my log file on apache on the server. I see when other clients connect or things are rejected, but the iPad does not trigger anything in the server logs.

Logfile

D9529A37-D717-42C9-A931-D69DF324ECFF_1_105_c
9D0EF2ED-D877-4F7E-A6D7-0C9D60EC5A4C_1_105_c
4C4115EF-EC98-4F90-89D9-3907B4C7D695_1_105_c

@wealthychef1 wealthychef1 added the bug It's a bug label May 24, 2020
@roman-r-m
Copy link
Collaborator

Can you try using ip address instead of the host name instead? I had a similar issue here: #3211

@wealthychef1
Copy link
Author

Can you try using ip address instead of the host name instead? I had a similar issue here: #3211

Thanks for the suggestion. Doing so made no difference in behavior for me.

@roman-r-m
Copy link
Collaborator

I see, thanks for checking. Might be something else then.
Can you connect to your webdav server using web browser on the same device where you're getting the error?

@wealthychef1
Copy link
Author

wealthychef1 commented May 24, 2020

I see, thanks for checking. Might be something else then.
Can you connect to your webdav server using web browser on the same device where you're getting the error?

Yes, every other client, including an app called WebDAV Nav on the same iPad, has no trouble connecting to the server. The Joplin client on my Mac connects to it fine and I can go there with another WebDAV client and see the files Joplin on OS X has put in its sync folder. It's only Joplin on iOS which is broken or unable to connect.

@laurent22 laurent22 removed the bug It's a bug label May 24, 2020
@wealthychef1
Copy link
Author

I was able to set up NextCloud and get that working. I never did figure out how to make apache2 WebDAV work with the iOS client. Very disappointing because nextcloud is even slower to sync. The terrible sync performance I'm seeing is probably going to be a deal killer as I have thousands of notes to sync.

@platzh
Copy link

platzh commented Jun 15, 2020

Hey @wealthychef1,

I had a similar issue the other day.

I use Joplin on an iPhone, iPad and my Macbook.
Jopllin syncs to a Nextcloud instance that I host on my Synology Diskstation only available via VPN or if you are in the local network.
When I changed the settings in Apache that you can now only reach nextcloud via https. Joplin stoped working with the "Network request failed" error.
I encountered this beforehand but could get around with using plain http. This is now, obviously, not possible anymore.

The solution for me was to create my own self signed certificate on the Diskstation and import it to my mobile devices. Since then it works fine again.

Maybe you can try something similar (if you not already have done so)

@stale
Copy link

stale bot commented Jul 15, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Jul 15, 2020
@stale
Copy link

stale bot commented Jul 22, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Jul 22, 2020
@dantezhu
Copy link

it happen again, in lastes version.

@wowodavid
Copy link

still happens on latest joplin on ios/ipados

@charles-997
Copy link

charles-997 commented Sep 10, 2021

I am having this issue in the iOS app. I have confirmed that I can connect to the webDAV share using safari on iPhone, but Joplin will not connect. I can confirm that this did work before, but is now broken. Super frustrating as this was working great before.

I am getting an error showing "Network request failed."

Does anyone know what version of the iOS app this became broken? Hopefully I can downgrade as it looks like this might not be resolved.

Joplin for iOS 12.3.1, database v39.
iOS 15.0 Public Beta 8
iPhone 12 Pro Max

EDIT:
RESOLVED.

Sorry for the confusion. If you replace the hostname with the server's IP address, it seems to work. There are some other open issues related to this, I should have searched better, my mistake. Glad to see that there is a workaround, not perfect, but it works and that is plenty good for me! :)

@SteveCrowBro
Copy link

This is still an issue, even when using the host ip.

@banjuer
Copy link

banjuer commented Mar 20, 2022

still happens on latest joplin on ipados

@hjstrauss
Copy link

Still happens for me on ios. Joplin 12.7.1, database v41

@Foiler-NZ
Copy link

I have a similar error message with Joplin 12.7.1 and Database v41 running on iOS 15.4.1 syncing to Dropbox.

The error is:
Synchroniser: TypeError: Network request failed @/private/var/containers/Bundle/Application/blah-blah-blah

If I delete the app and reinstall it then it does one full sync ok (more than 5,000 items), but then any further syncs all fail with the above error message showing in the log.

I have two Mac's both syncing to the same Dropbox just fine .. they are running ver 2.7.15, Sync Version: 3, Profile Version: 41.

@Foiler-NZ
Copy link

I have a similar error message with Joplin 12.7.1 and Database v41 running on iOS 15.4.1 syncing to Dropbox.

The error is: Synchroniser: TypeError: Network request failed @/private/var/containers/Bundle/Application/blah-blah-blah

If I delete the app and reinstall it then it does one full sync ok (more than 5,000 items), but then any further syncs all fail with the above error message showing in the log.

I have two Mac's both syncing to the same Dropbox just fine .. they are running ver 2.7.15, Sync Version: 3, Profile Version: 41.

.. this came right for me some time during the past week or so .. no changes made that I am aware of .. after a couple of weeks of not syncing on the phone it has suddenly started syncing.

@danielzhou82
Copy link

I use synology webdav server for joplin storage, seems only http works, not https

@yonggithub
Copy link

Still happens for me on ios.
The same configurations on PC is working.
image

@wangshuang235
Copy link

Still exist on ios ,Joplin 12.8.1, database v41(2022-10-20)

@lfu2000
Copy link

lfu2000 commented Nov 4, 2022

same issue.
simple resolution: replace the webdav server from dsm to caddy.

@willtchambering
Copy link

willtchambering commented Nov 13, 2022

On iPadOS 16.1.1:

'Check synchronization configuration' returns:

"Success! Synchronization configuration appears to be correct."

The 'lock' and 'temp' directories are updated (mtime-wise), as is the 'Readme.md' file, but the logs have the 'synchronizer: "TypeError: Network request, failed…"

Joplin: 12.8.1
Database v4 y1
FTS enabled: 1

NextCloud: 25.0.1

@lizhiwei8061
Copy link

我遇到同样问题

@AreChen
Copy link

AreChen commented Mar 31, 2023

Same issue on iPad os16

@lizhiwei8061
Copy link

turn to sb. for help,I encountered the same problem,Using HTTPS is also not feasible

@SCZeiDan
Copy link

SCZeiDan commented Jun 2, 2023

Same issue on iphone13 ios16, joplin version 12.11.3

@shaopengyuan
Copy link

I use synology webdav server for joplin storage, seems only http works, not https
Is http working on your synology webdav server? Mine is still not working.

@LonestarLondoner
Copy link

Same issue on iPadOS using IP. Works on mac and android.

@noru
Copy link

noru commented Dec 24, 2024

please add ignore tsl errors options like the other platforms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale An issue that hasn't been active for a while...
Projects
None yet
Development

No branches or pull requests