[GH-ISSUE #2028] Syncing failed with E017 : Network error #1355

Closed
opened 2026-02-25 22:39:46 +03:00 by kerem · 6 comments
Owner

Originally created by @ZMJGMADHPXWT on GitHub (Aug 12, 2025).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/2028

Which version of floccus are you using?

5.6.0 Fdroid

How many bookmarks do you have, roughly?

100

Are you using other means to sync bookmarks in parallel to floccus?

No

Sync method

WebDAV

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Android 15, LineageOS22

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

SFTPGo 2.6.99

Describe the Bug

I installed SFTPGo 2.6.99 in Docker. The folder is reachable via http://10.8.8.4:30080/dav2025 from Firefox floccusaddon and from WebDav clients.
So when I added credentials to floccus app I received


2025-08-12T21:25:41.051Z Starting sync process for account MyWebDav
2025-08-12T21:25:41.069Z onSyncStart: begin
2025-08-12T21:25:41.070Z http://10.8.8.4:30080/dav2025/bookmarks_android_my.xbel.lock
2025-08-12T21:25:42.093Z Error Caught
2025-08-12T21:25:42.093Z { [Error: Failed to connect to /10.8.8.4:30080] code: 'ConnectException', data: undefined }
2025-08-12T21:25:42.099Z Syncing failed with E017 : Network error: Check your network connection and your account details
2025-08-12T21:25:42.105Z onSyncFail

At the same time I can connect to http://10.8.8.4:30080/dav2025 from my PC using Chromiun or Firefox without any issues.
From my phone using Firefox too.
Also tried KDE built-in WebDav client - no issues.

From what I can see, there is a similar issue. But other browsers and clients can connect to port 30080. Even Firefox mobile from the same phone can.

Expected Behavior

Normal behaviour and synchronisation.

To Reproduce

Deploy SFTPGo 2.6.99 in Docker
Try to connect using floccus Android app

Debug log provided

  • I have provided a debug log file
Originally created by @ZMJGMADHPXWT on GitHub (Aug 12, 2025). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/2028 ### Which version of floccus are you using? 5.6.0 Fdroid ### How many bookmarks do you have, roughly? 100 ### Are you using other means to sync bookmarks in parallel to floccus? No ### Sync method WebDAV ### Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please. Android 15, LineageOS22 ### Which version of Nextcloud Bookmarks are you using? (if relevant) _No response_ ### Which version of Nextcloud? (if relevant) _No response_ ### What kind of WebDAV server are you using? (if relevant) SFTPGo 2.6.99 ### Describe the Bug I installed SFTPGo 2.6.99 in Docker. The folder is reachable via http://10.8.8.4:30080/dav2025 from Firefox floccusaddon and from WebDav clients. So when I added credentials to floccus app I received ``` 2025-08-12T21:25:41.051Z Starting sync process for account MyWebDav 2025-08-12T21:25:41.069Z onSyncStart: begin 2025-08-12T21:25:41.070Z http://10.8.8.4:30080/dav2025/bookmarks_android_my.xbel.lock 2025-08-12T21:25:42.093Z Error Caught 2025-08-12T21:25:42.093Z { [Error: Failed to connect to /10.8.8.4:30080] code: 'ConnectException', data: undefined } 2025-08-12T21:25:42.099Z Syncing failed with E017 : Network error: Check your network connection and your account details 2025-08-12T21:25:42.105Z onSyncFail ``` At the same time I can connect to http://10.8.8.4:30080/dav2025 from my PC using Chromiun or Firefox without any issues. From my phone using Firefox too. Also tried KDE built-in WebDav client - no issues. From what I can see, there is a [similar issue.](https://github.com/floccusaddon/floccus/issues/1882) But other browsers and clients can connect to port 30080. Even Firefox mobile from the same phone can. ### Expected Behavior Normal behaviour and synchronisation. ### To Reproduce Deploy SFTPGo 2.6.99 in Docker Try to connect using floccus Android app ### Debug log provided - [x] I have provided a debug log file
kerem 2026-02-25 22:39:46 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (Aug 12, 2025):

Hello 👋

Thank you for taking the time to open this issue with floccus. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved. Let me give you a short introduction on what to expect from this issue tracker to avoid misunderstandings.
I'm Marcel. I created floccus a few years ago, and have been maintaining it since. I currently work for Nextcloud
which leaves me with less time for side projects like this one than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient. It helps when you stick around to answer follow up questions I may have,
as very few bugs can be fixed directly from the first bug report, without any interaction. If information is missing in your bug report
and the issue cannot be solved without it, I will have to close the issue after a while.
Note also that GitHub in general is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
If you cannot lend a helping hand, to continue the development and maintenance of this project in a sustainable way,
I ask that you donate to the project when opening an issue (or at least once your issue is solved), if you're not a donor already.
You can find donation options at https://floccus.org/donate/. Thank you!

One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the Nextcloud forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself.

Thank you for reading through this primer. I look forward to working with you on this issue!
Cheers 💙

<!-- gh-comment-id:3181173863 --> @github-actions[bot] commented on GitHub (Aug 12, 2025): Hello :wave: Thank you for taking the time to open this issue with floccus. I know it's frustrating when software causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at and if possible solved. Let me give you a short introduction on what to expect from this issue tracker to avoid misunderstandings. I'm Marcel. I created floccus a few years ago, and have been maintaining it since. I currently work for Nextcloud which leaves me with less time for side projects like this one than I used to have. I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it. Until then, please be patient. It helps when you stick around to answer follow up questions I may have, as very few bugs can be fixed directly from the first bug report, without any interaction. If information is missing in your bug report and the issue cannot be solved without it, I will have to close the issue after a while. Note also that GitHub in general is a place where people meet to make software better *together*. Nobody here is under any obligation to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can collaborate to make this software better. For everyone. Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and try to fix the odd bug yourself. Everyone will be thankful for extra helping hands! If you cannot lend a helping hand, to continue the development and maintenance of this project in a sustainable way, I ask that you donate to the project when opening an issue (or at least once your issue is solved), if you're not a donor already. You can find donation options at <https://floccus.org/donate/>. Thank you! One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the Nextcloud forum, to twitter or somewhere else. But this is a technical issue tracker, so please make sure to focus on the tech and keep your opinions to yourself. Thank you for reading through this primer. I look forward to working with you on this issue! Cheers :blue_heart:
Author
Owner

@ZMJGMADHPXWT commented on GitHub (Aug 12, 2025):

Next to it I created second user and tried to use it's credentials. But the error changed to 18.

Here is the export of my second profile (attempt). I opened it via Firefox and it looks like that:

localRoot	null
strategy	"default"
syncInterval	1440
nestedSync	false
failsafe	true
allowNetwork	false
label	"MyWebDav"
errorCount	29
clickCountEnabled	false
type	"webdav"
url	"http://10.8.8.4:30080/dav2025"
username	"\ufeffwebdav_mobile_user2"
password	"\ufeffAp3YfMAPpZUKXUqmEgtfKTMzxk"
bookmark_file	"bookmarks_android_my.xbel"
bookmark_file_type	"xbel"
includeCredentials	false
allowRedirects	false
passphrase	""
enabled	true
syncing	false
scheduled	false
error	"Syncing failed with E018: Couldn't authenticate with the server."

is this normal having that "\ufeff" at the beginning of login and pass?

And here what do we have in a Docker logs:

{"level":"warn","time":"2025-08-12T22:58:59.288","sender":"dataprovider_sqlite","message":"error authenticating user \"\\ufeffwebdav_mobile_user2\": not found: sql: no rows in result set"}
{"level":"debug","time":"2025-08-12T22:58:59.288","sender":"connection_failed","client_ip":"172.22.0.1","username":"webdav_mobile_user2","login_type":"password","protocol":"DAV","error":"not found: sql: no rows in result set"}
{"level":"warn","time":"2025-08-12T22:59:15.761","sender":"dataprovider_sqlite","message":"error authenticating user \"\\ufeffwebdav_mobile_user2\": not found: sql: no rows in result set"}
{"level":"debug","time":"2025-08-12T22:59:15.761","sender":"connection_failed","client_ip":"172.22.0.1","username":"webdav_mobile_user2","login_type":"password","protocol":"DAV","error":"not found: sql: no rows in result set"}
{"level":"warn","time":"2025-08-12T22:59:31.249","sender":"dataprovider_sqlite","message":"error authenticating user \"\\ufeffwebdav_mobile_user2\": not found: sql: no rows in result set"}
{"level":"debug","time":"2025-08-12T22:59:31.249","sender":"connection_failed","client_ip":"172.22.0.1","username":"webdav_mobile_user2","login_type":"password","protocol":"DAV","error":"not found: sql: no rows in result set"}
{"level":"warn","time":"2025-08-12T22:59:38.539","sender":"dataprovider_sqlite","message":"error authenticating user \"\\ufeffwebdav_mobile_user2\": not found: sql: no rows in result set"}
{"level":"debug","time":"2025-08-12T22:59:38.539","sender":"connection_failed","client_ip":"172.22.0.1","username":"webdav_mobile_user2","login_type":"password","protocol":"DAV","error":"not found: sql: no rows in result set"}

<!-- gh-comment-id:3181255004 --> @ZMJGMADHPXWT commented on GitHub (Aug 12, 2025): Next to it I created second user and tried to use it's credentials. But the error changed to 18. Here is the export of my second profile (attempt). I opened it via Firefox and it looks like that: ``` localRoot null strategy "default" syncInterval 1440 nestedSync false failsafe true allowNetwork false label "MyWebDav" errorCount 29 clickCountEnabled false type "webdav" url "http://10.8.8.4:30080/dav2025" username "\ufeffwebdav_mobile_user2" password "\ufeffAp3YfMAPpZUKXUqmEgtfKTMzxk" bookmark_file "bookmarks_android_my.xbel" bookmark_file_type "xbel" includeCredentials false allowRedirects false passphrase "" enabled true syncing false scheduled false error "Syncing failed with E018: Couldn't authenticate with the server." ``` is this normal having that "\ufeff" at the beginning of login and pass? And here what do we have in a Docker logs: ``` {"level":"warn","time":"2025-08-12T22:58:59.288","sender":"dataprovider_sqlite","message":"error authenticating user \"\\ufeffwebdav_mobile_user2\": not found: sql: no rows in result set"} {"level":"debug","time":"2025-08-12T22:58:59.288","sender":"connection_failed","client_ip":"172.22.0.1","username":"webdav_mobile_user2","login_type":"password","protocol":"DAV","error":"not found: sql: no rows in result set"} {"level":"warn","time":"2025-08-12T22:59:15.761","sender":"dataprovider_sqlite","message":"error authenticating user \"\\ufeffwebdav_mobile_user2\": not found: sql: no rows in result set"} {"level":"debug","time":"2025-08-12T22:59:15.761","sender":"connection_failed","client_ip":"172.22.0.1","username":"webdav_mobile_user2","login_type":"password","protocol":"DAV","error":"not found: sql: no rows in result set"} {"level":"warn","time":"2025-08-12T22:59:31.249","sender":"dataprovider_sqlite","message":"error authenticating user \"\\ufeffwebdav_mobile_user2\": not found: sql: no rows in result set"} {"level":"debug","time":"2025-08-12T22:59:31.249","sender":"connection_failed","client_ip":"172.22.0.1","username":"webdav_mobile_user2","login_type":"password","protocol":"DAV","error":"not found: sql: no rows in result set"} {"level":"warn","time":"2025-08-12T22:59:38.539","sender":"dataprovider_sqlite","message":"error authenticating user \"\\ufeffwebdav_mobile_user2\": not found: sql: no rows in result set"} {"level":"debug","time":"2025-08-12T22:59:38.539","sender":"connection_failed","client_ip":"172.22.0.1","username":"webdav_mobile_user2","login_type":"password","protocol":"DAV","error":"not found: sql: no rows in result set"} ```
Author
Owner

@marcelklehr commented on GitHub (Aug 13, 2025):

Hello @ZMJGMADHPXWT
Strange!

is this normal having that "\ufeff" at the beginning of login and pass?

This should not be there, if it's not part of your password.

But other browsers and clients can connect to port 30080.

Can you still try to lower the port number to something below 1000 and check if that works?

Also, you just exposed your password to the internet. Please change the password immediately.

<!-- gh-comment-id:3182132786 --> @marcelklehr commented on GitHub (Aug 13, 2025): Hello @ZMJGMADHPXWT Strange! > is this normal having that "\ufeff" at the beginning of login and pass? This should not be there, if it's not part of your password. > But other browsers and clients can connect to port 30080. Can you still try to lower the port number to something below 1000 and check if that works? Also, you just exposed your password to the internet. Please change the password immediately.
Author
Owner

@ZMJGMADHPXWT commented on GitHub (Aug 13, 2025):

Thanks you for help!!!

This should not be there, if it's not part of your password.

It’s not a part of my password or user. So it's really strange.

Also, you just exposed your password to the internet. Please change the password immediately.

This server is running inside VPN network. Service is protected with firewall so not all VPN members can access it. And the password is randomly generated. And the last thing is - webdav_mobile_user2 is temporary and will be delated next to test.

Can you still try to lower the port number to something below 1000 and check if that works?

Looks like I fixed the issue, but I don't understand that strange behaviour of apps/phone.

  1. At the beginning I received E017 error. But looking at the log -
    [Error: Failed to connect to /10.8.8.4:30080
  • there was a strange address.
  1. Next to it, my error changed to 18.
    But from what I can see here
username	"\ufeffwebdav_mobile_user2"
password	"\ufeffAp3YfMAPpZUKXUqmEgtfKTMzxk"

and here
{"level":"warn","time":"2025-08-12T22:58:59.288","sender":"dataprovider_sqlite","message":"error authenticating user \"\\ufeffwebdav_mobile_user2\": not found: sql: no rows in result set"}
something affecting data when I copy-past it.

So I have to copy-past login and password directly from KeePass app, and not via other apps. Or type them manually.
Than it works!!!
So for now I can say, that my E017/E018 issues are resolved.

Bun sometimes I'm getting a message from floccus, that my file is in use by other user/app. Not critical, but strange.
Let's wait a little bit and I'll update that issue or will close it.

<!-- gh-comment-id:3182400191 --> @ZMJGMADHPXWT commented on GitHub (Aug 13, 2025): Thanks you for help!!! > This should not be there, if it's not part of your password. It’s not a part of my password or user. So it's really strange. > Also, you just exposed your password to the internet. Please change the password immediately. This server is running inside VPN network. Service is protected with firewall so not all VPN members can access it. And the password is randomly generated. And the last thing is - webdav_mobile_user2 is temporary and will be delated next to test. > Can you still try to lower the port number to something below 1000 and check if that works? Looks like I fixed the issue, but I don't understand that strange behaviour of apps/phone. 1) At the beginning I received E017 error. But looking at the log - `[Error: Failed to connect to /10.8.8.4:30080 ` - there was a strange address. 2) Next to it, my error changed to 18. But from what I can see here ``` username "\ufeffwebdav_mobile_user2" password "\ufeffAp3YfMAPpZUKXUqmEgtfKTMzxk" ``` and here `{"level":"warn","time":"2025-08-12T22:58:59.288","sender":"dataprovider_sqlite","message":"error authenticating user \"\\ufeffwebdav_mobile_user2\": not found: sql: no rows in result set"}` something affecting data when I copy-past it. So I have to copy-past login and password directly from KeePass app, and not via other apps. Or type them manually. Than it works!!! So for now I can say, that my E017/E018 issues are resolved. Bun sometimes I'm getting a message from floccus, that my file is in use by other user/app. Not critical, but strange. Let's wait a little bit and I'll update that issue or will close it.
Author
Owner

@ZMJGMADHPXWT commented on GitHub (Aug 16, 2025):

Hi. Now it works, so I'm going to close this ticket.

<!-- gh-comment-id:3193861874 --> @ZMJGMADHPXWT commented on GitHub (Aug 16, 2025): Hi. Now it works, so I'm going to close this ticket.
Author
Owner

@marcelklehr commented on GitHub (Aug 16, 2025):

Yay, I'm happy for you! Happy syncing :)

<!-- gh-comment-id:3193864273 --> @marcelklehr commented on GitHub (Aug 16, 2025): Yay, I'm happy for you! Happy syncing :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#1355
No description provided.