[GH-ISSUE #1787] Floccus does not sync anymore since v5.4.0 -- Self-signed certificate? #1192

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

Originally created by @hochl on GitHub (Dec 2, 2024).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1787

Which version of floccus are you using?

5.4.0

How many bookmarks do you have, roughly?

500

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.

Firefox on Linux and Windows 10/11.

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)

rclone

Describe the Bug

Everything worked flawlessly, floccus version V5.3.4 following the information window. Now none of my 5 Browser installs sync anymore, version installed is V5.4.0.

Expected Behavior

Obviously, all browsers should sync. The sync does not finish, thus i cannot export a debug log. On Linux I got an error message yesterday that said something with E030.

To Reproduce

Upgrade to V5.4.0 and you are hosed.

Debug log provided

  • I have provided a debug log file
Originally created by @hochl on GitHub (Dec 2, 2024). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1787 ### Which version of floccus are you using? 5.4.0 ### How many bookmarks do you have, roughly? 500 ### 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. Firefox on Linux and Windows 10/11. ### 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) rclone ### Describe the Bug Everything worked flawlessly, floccus version V5.3.4 following the information window. Now none of my 5 Browser installs sync anymore, version installed is V5.4.0. ### Expected Behavior Obviously, all browsers should sync. The sync does not finish, thus i cannot export a debug log. On Linux I got an error message yesterday that said something with E030. ### To Reproduce Upgrade to V5.4.0 and you are hosed. ### Debug log provided - [ ] I have provided a debug log file
Author
Owner

@github-actions[bot] commented on GitHub (Dec 2, 2024):

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.
I'm Marcel and I created floccus a few years ago, maintaining it ever 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.
Note also that GitHub 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!
To continue the development and maintenance of this project in a sustainable way it is expected that you donate to the project when opening a ticket,
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.

I look forward to working with you on this issue
Cheers 💙

<!-- gh-comment-id:2511180141 --> @github-actions[bot] commented on GitHub (Dec 2, 2024): 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. I'm Marcel and I created floccus a few years ago, maintaining it ever 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. Note also that GitHub 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! To continue the development and maintenance of this project in a sustainable way it is expected that you donate to the project when opening a ticket, 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. I look forward to working with you on this issue Cheers :blue_heart:
Author
Owner

@ghost commented on GitHub (Dec 2, 2024):

Can confirm. I've never tried this extension before but in my setup with webdav it won't sync anything despite not reporting any errors. I have two browsers, each with a bookmarks folder named flocus. The first one contains some bookmarks, the second is empty. No matter how many times I sync, or how much I fiddle with the sync settings, the second remains empty: nothing is synced to the second browser.

<!-- gh-comment-id:2511910429 --> @ghost commented on GitHub (Dec 2, 2024): Can confirm. I've never tried this extension before but in my setup with webdav it won't sync anything despite not reporting any errors. I have two browsers, each with a bookmarks folder named flocus. The first one contains some bookmarks, the second is empty. No matter how many times I sync, or how much I fiddle with the sync settings, the second remains empty: nothing is synced to the second browser.
Author
Owner

@marcelklehr commented on GitHub (Dec 2, 2024):

Hello,

Thank you for reaching out. I can not reproduce this offhand, sadly. Can you perhaps share a screenshot?

<!-- gh-comment-id:2512268244 --> @marcelklehr commented on GitHub (Dec 2, 2024): Hello, Thank you for reaching out. I can not reproduce this offhand, sadly. Can you perhaps share a screenshot?
Author
Owner

@hochl commented on GitHub (Dec 4, 2024):

floccus-error

floccus-5.4.0-2024-12-04-full.log

I swear the error number has changed, it now says E017, so maybe this is a different error \o/ Funny enough, one of my Linux machines now syncs again. Could this be some problem with SSL certificates? Because on two of my machines, there is a firewall that intercepts traffic and inserts its own certificate :(

<!-- gh-comment-id:2518125222 --> @hochl commented on GitHub (Dec 4, 2024): <img width="376" alt="floccus-error" src="https://github.com/user-attachments/assets/62ccacb9-34e9-4dca-a54b-383e40cdac8e"> [floccus-5.4.0-2024-12-04-full.log](https://github.com/user-attachments/files/18012178/floccus-5.4.0-2024-12-04-full.log) I swear the error number has changed, it now says E017, so maybe this is a different error \o/ Funny enough, one of my Linux machines now syncs again. Could this be some problem with SSL certificates? Because on two of my machines, there is a firewall that intercepts traffic and inserts its own certificate :(
Author
Owner

@marcelklehr commented on GitHub (Dec 7, 2024):

Yeah, network error is unlikely to be a problem in floccus.

<!-- gh-comment-id:2525027620 --> @marcelklehr commented on GitHub (Dec 7, 2024): Yeah, network error is unlikely to be a problem in floccus.
Author
Owner

@qlifee commented on GitHub (Dec 10, 2024):

I have the same issue with the same error code E017 on:

  1. Pixel 9 Android 15 (graphene os) Floccus 5.3.4.
    Surface running both
  2. Linux Mint chromium browser Floccus 5.4.0 and
  3. windows 11 running chrome browser Floccus 5.4.0.

This is my first time using Floccus and i didn't manage to get it to work.

I have WEBDAV server up and running on my Synology NAS, and i verified that it is working alright with various applications.

I suspect the problem is that Floccus doesn't allow self-signed certificates (No option to allow that), because the applications that didn't work are the ones that doesn't allow the self-signed certificates.

my WebDAV URL is https://<tailscale-ip-address>:<port>/Bookmarks
File format: XBEL

Note: I use tailscale to access my NAS.

Screenshot from 2024-12-10 19-06-25
Screenshot_20241210-190709

<!-- gh-comment-id:2532655248 --> @qlifee commented on GitHub (Dec 10, 2024): I have the same issue with the same error code E017 on: 1) Pixel 9 Android 15 (graphene os) Floccus 5.3.4. Surface running both 2) Linux Mint chromium browser Floccus 5.4.0 and 3) windows 11 running chrome browser Floccus 5.4.0. This is my first time using Floccus and i didn't manage to get it to work. I have WEBDAV server up and running on my Synology NAS, and i verified that it is working alright with various applications. I suspect the problem is that Floccus doesn't allow self-signed certificates (No option to allow that), because the applications that didn't work are the ones that doesn't allow the self-signed certificates. my WebDAV URL is `https://<tailscale-ip-address>:<port>/Bookmarks` File format: XBEL Note: I use tailscale to access my NAS. ![Screenshot from 2024-12-10 19-06-25](https://github.com/user-attachments/assets/25b101c1-64c6-4bee-93d6-0f000744a3fd) ![Screenshot_20241210-190709](https://github.com/user-attachments/assets/564b710f-9d4a-4b86-a5c3-160250113305)
Author
Owner

@marcelklehr commented on GitHub (Dec 11, 2024):

self-signed certificates

Yes, that's a problem. In the browser you can accept the certificate manually, but on android there's currently no way to import the cert in a way that will make floccus sync, sadly.

<!-- gh-comment-id:2536460259 --> @marcelklehr commented on GitHub (Dec 11, 2024): > self-signed certificates Yes, that's a problem. In the browser you can accept the certificate manually, but on android there's currently no way to import the cert in a way that will make floccus sync, sadly.
Author
Owner

@qlifee commented on GitHub (Dec 11, 2024):

In the browser you can accept the certificate manually.

I didn't get prompted to accept a certificate, how can i do that?

<!-- gh-comment-id:2536529038 --> @qlifee commented on GitHub (Dec 11, 2024): > > In the browser you can accept the certificate manually. I didn't get prompted to accept a certificate, how can i do that?
Author
Owner

@marcelklehr commented on GitHub (Dec 11, 2024):

I didn't get prompted to accept a certificate, how can i do that?

You can try accessing the webdav endpoint manually in a browser tab to get the prompt.

<!-- gh-comment-id:2536532657 --> @marcelklehr commented on GitHub (Dec 11, 2024): > I didn't get prompted to accept a certificate, how can i do that? You can try accessing the webdav endpoint manually in a browser tab to get the prompt.
Author
Owner

@qlifee commented on GitHub (Dec 11, 2024):

You can try accessing the webdav endpoint manually in a browser tab to get the prompt.

Unfortunately it didn't work, however I managed to get it working on Firefox floccus 5.4.0.

So it might be a problem with chromium based browsers (Chromium, Chrome, Brave).

<!-- gh-comment-id:2536940314 --> @qlifee commented on GitHub (Dec 11, 2024): > You can try accessing the webdav endpoint manually in a browser tab to get the prompt. Unfortunately it didn't work, however I managed to get it working on Firefox floccus 5.4.0. So it might be a problem with chromium based browsers (Chromium, Chrome, Brave).
Author
Owner

@hochl commented on GitHub (Dec 13, 2024):

You can try accessing the webdav endpoint manually in a browser tab to get the prompt.

Unfortunately it didn't work, however I managed to get it working on Firefox floccus 5.4.0.

So it might be a problem with chromium based browsers (Chromium, Chrome, Brave).

I have not been able to sync floccus on any of my Chrome based browsers yet. Maybe my issues are related to me using rclone as WebDav server?

<!-- gh-comment-id:2541145101 --> @hochl commented on GitHub (Dec 13, 2024): > > You can try accessing the webdav endpoint manually in a browser tab to get the prompt. > > Unfortunately it didn't work, however I managed to get it working on Firefox floccus 5.4.0. > > So it might be a problem with chromium based browsers (Chromium, Chrome, Brave). I have not been able to sync floccus on any of my Chrome based browsers yet. Maybe my issues are related to me using rclone as WebDav server?
Author
Owner

@marcelklehr commented on GitHub (Dec 13, 2024):

I have not been able to sync floccus on any of my Chrome based browsers yet.

Error message or it didn't happen :)

If it's a network error, you can try connecting to rclone via a different webdav server and check if that works.

<!-- gh-comment-id:2541155220 --> @marcelklehr commented on GitHub (Dec 13, 2024): > I have not been able to sync floccus on any of my Chrome based browsers yet. Error message or it didn't happen :) If it's a network error, you can try connecting to rclone via a different webdav server and check if that works.
Author
Owner

@qlifee commented on GitHub (Dec 15, 2024):

I have the same issue with the same error code E017 on:

  1. Pixel 9 Android 15 (graphene os) Floccus 5.3.4.
    Surface running both
  2. Linux Mint chromium browser Floccus 5.4.0 and
  3. windows 11 running chrome browser Floccus 5.4.0.

This is my first time using Floccus and i didn't manage to get it to work.

I have WEBDAV server up and running on my Synology NAS, and i verified that it is working alright with various applications.

I suspect the problem is that Floccus doesn't allow self-signed certificates (No option to allow that), because the applications that didn't work are the ones that doesn't allow the self-signed certificates.

my WebDAV URL is https://<tailscale-ip-address>:<port>/Bookmarks File format: XBEL

Note: I use tailscale to access my NAS.

I am having the same error E017 even when using Nextcloud via Chrome or Chromium browsers, but it works fine with Firefox!

<!-- gh-comment-id:2543861175 --> @qlifee commented on GitHub (Dec 15, 2024): > I have the same issue with the same error code E017 on: > > 1. Pixel 9 Android 15 (graphene os) Floccus 5.3.4. > Surface running both > 2. Linux Mint chromium browser Floccus 5.4.0 and > 3. windows 11 running chrome browser Floccus 5.4.0. > > This is my first time using Floccus and i didn't manage to get it to work. > > I have WEBDAV server up and running on my Synology NAS, and i verified that it is working alright with various applications. > > I suspect the problem is that Floccus doesn't allow self-signed certificates (No option to allow that), because the applications that didn't work are the ones that doesn't allow the self-signed certificates. > > my WebDAV URL is `https://<tailscale-ip-address>:<port>/Bookmarks` File format: XBEL > > Note: I use tailscale to access my NAS. I am having the same error E017 even when using Nextcloud via Chrome or Chromium browsers, but it works fine with Firefox!
Author
Owner

@marcelklehr commented on GitHub (Dec 15, 2024):

So, self-signed certificates are up to the browser. If the browser accepts them, floccus is able to connect, othewise floccus can't do its thing.

<!-- gh-comment-id:2543863525 --> @marcelklehr commented on GitHub (Dec 15, 2024): So, self-signed certificates are up to the browser. If the browser accepts them, floccus is able to connect, othewise floccus can't do its thing.
Author
Owner

@qlifee commented on GitHub (Dec 15, 2024):

I managed to make it work on all Chromium based browsers, and figured out why it worked fine in Firefox.

In Firefox when first you try to access the server https://<tailscale-ip-address>:<port>/ you'll be prompted to accept the insecure certificate, and once you do that, Firefox will add it in the server certificate error exception under Settings > Privacy & Security > Certificate Manager > Server

Screenshot from 2024-12-15 19-40-28

This will ensure the connection will be accepted as an exception.

However in Chromium based browsers this doesn't happen. Instead you'll have to:

1- Create a self-signed certificate and a private key (two files) like so:

bash

openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
-keyout server.key -out server.crt \
-subj "/CN=your-ip-address" \
-addext "subjectAltName=IP:your-ip-address"

2- Then combine the generated certificate and the key into one Base-64 Encoded (PEM Format) certificate:

bash

cat server.crt server.key > server.pem

3- Go to Settings > Privacy and Security > Security > Manage certificates > Authorities and Import the .pem certificate.

4- Go to the added certificate starting with org- and click the down arrow, then the three dot icon, then click Edit, and check Trust this certificate for identifying websites.

Screenshot from 2024-12-15 19-41-41

Now the WebDAV setup with tailscale ip address via floccus will sync, and you won't get the E017 error.

Note: In tailscale settings website make sure to Disable key expiry, this will ensure that this ip address won't be changed automatically.

<!-- gh-comment-id:2544028594 --> @qlifee commented on GitHub (Dec 15, 2024): I managed to make it work on all Chromium based browsers, and figured out why it worked fine in Firefox. In Firefox when first you try to access the server `https://<tailscale-ip-address>:<port>/` you'll be prompted to accept the insecure certificate, and once you do that, Firefox will add it in the **server certificate error exception** under **Settings > Privacy & Security > Certificate Manager > Server** ![Screenshot from 2024-12-15 19-40-28](https://github.com/user-attachments/assets/43899e2b-69ac-4caa-89c1-b785905da1e0) This will ensure the connection will be accepted as an exception. However in Chromium based browsers this doesn't happen. Instead you'll have to: 1- Create a self-signed certificate and a private key (two files) like so: bash ``` openssl req -x509 -nodes -days 365 -newkey rsa:2048 \ -keyout server.key -out server.crt \ -subj "/CN=your-ip-address" \ -addext "subjectAltName=IP:your-ip-address" ``` 2- Then combine the generated certificate and the key into one Base-64 Encoded (PEM Format) certificate: bash `cat server.crt server.key > server.pem` 3- Go to Settings > Privacy and Security > Security > Manage certificates > Authorities and Import the .pem certificate. 4- Go to the added certificate starting with org-<tailscale-ip-address> and click the down arrow, then the three dot icon, then click Edit, and check **Trust this certificate for identifying websites**. ![Screenshot from 2024-12-15 19-41-41](https://github.com/user-attachments/assets/bc6c94f2-e701-4cfc-a85c-e0d0b3f525a2) Now the WebDAV setup with tailscale ip address via floccus will sync, and you won't get the E017 error. Note: In tailscale settings website make sure to Disable key expiry, this will ensure that this ip address won't be changed automatically.
Author
Owner

@qlifee commented on GitHub (Dec 15, 2024):

I also managed to get it to work on Android, I just installed the .pem certificate under CA Certificates (Settings > Security & privacy > More security & privacy > Encryption & credentials > Install a certificate) and now it works :)

<!-- gh-comment-id:2544035094 --> @qlifee commented on GitHub (Dec 15, 2024): I also managed to get it to work on Android, I just installed the .pem certificate under CA Certificates (Settings > Security & privacy > More security & privacy > Encryption & credentials > Install a certificate) and now it works :)
Author
Owner

@marcelklehr commented on GitHub (Dec 16, 2024):

I also managed to get it to work on Android

Oh, then you're the first, I think. Care to share that to the folks at #1560 ?

<!-- gh-comment-id:2546274452 --> @marcelklehr commented on GitHub (Dec 16, 2024): > I also managed to get it to work on Android Oh, then you're the first, I think. Care to share that to the folks at #1560 ?
Author
Owner

@snIP3r23 commented on GitHub (Dec 17, 2024):

I have the same isse on Win11 with Firefox 133.0.3 with Floccus 5.4.0. But Im using Lets Encrypt Certificates instead of Self Signed. It seems to work with Android an chrome based Kiwi Browser.

<!-- gh-comment-id:2547716868 --> @snIP3r23 commented on GitHub (Dec 17, 2024): I have the same isse on Win11 with Firefox 133.0.3 with Floccus 5.4.0. But Im using Lets Encrypt Certificates instead of Self Signed. It seems to work with Android an chrome based Kiwi Browser.
Author
Owner

@marcelklehr commented on GitHub (Dec 17, 2024):

@snIP3r23 Can you create a new issue in this case, as this one is about self-signed certificates?

<!-- gh-comment-id:2547848153 --> @marcelklehr commented on GitHub (Dec 17, 2024): @snIP3r23 Can you create a new issue in this case, as this one is about self-signed certificates?
Author
Owner

@marcelklehr commented on GitHub (Dec 17, 2024):

@hochl Were you able to get it working now?

<!-- gh-comment-id:2547849719 --> @marcelklehr commented on GitHub (Dec 17, 2024): @hochl Were you able to get it working now?
Author
Owner

@hochl commented on GitHub (Dec 23, 2024):

@hochl Were you able to get it working now?

Hey there! Sorry I am/was busy and will hopefully have time to check it in the new year.

<!-- gh-comment-id:2560080721 --> @hochl commented on GitHub (Dec 23, 2024): > @hochl Were you able to get it working now? Hey there! Sorry I am/was busy and will hopefully have time to check it in the new year.
Author
Owner

@grg5811 commented on GitHub (Dec 25, 2024):

Good morning everyone,
I followed the method form @qlifee but with more detailed instructions found at https://stackoverflow.com/a/60516812 and, now, everything works perfectly.
I work with Browser brave in Debian 12.
Thank you

<!-- gh-comment-id:2561712858 --> @grg5811 commented on GitHub (Dec 25, 2024): Good morning everyone, I followed the method form @qlifee but with more detailed instructions found at https://stackoverflow.com/a/60516812 and, now, everything works perfectly. I work with Browser brave in Debian 12. Thank you
Author
Owner

@github-actions[bot] commented on GitHub (Feb 5, 2026):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:3850450225 --> @github-actions[bot] commented on GitHub (Feb 5, 2026): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
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#1192
No description provided.