[GH-ISSUE #1378] floccus stops auto-sync after some time on Chromium, FF and Android app keep working #908

Closed
opened 2026-02-25 22:38:26 +03:00 by kerem · 8 comments
Owner

Originally created by @spi43984 on GitHub (Apr 25, 2023).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1378

Which version of floccus are you using?

4.19.1 on Linux Ubuntu 20.04 and 22.04

Sync method

Nextcloud Bookmarks

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

Chromium 112.0.5615.165, Firefox 112.0.1

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

12.1.0

Which version of Nextcloud? (if relevant)

25.0.4

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

No response

Describe the Bug

Firefox is configured to sync bookmarks with Nextcloud Bookmarks with the help of floccus. Android floccus app is also configured to sync the same.

Floccus is also installed on Chromium to sync these bookmarks. As the folders for bookmarks and the bookmarks bar differ in Firefox and Chromium, in Chromium two sync jobs were configured - one for the bookmarks bar and a 2nd one for the general bookmarks (with different server/local folders). Both profiles had their own Nextcloud token for authentication. Syncing works.

But after some time floccus in Chromium stops syncing and is complaining about network issues. Network works and floccus as Android app and in Firefox also still work, so can't be a network issue, maybe a temporary issue after waking up notebook from suspend mode.

To narrow that down one sync job (for the bookmark bar) was removed to just go with a sync of the general bookmarks. But still after some time the auto-sync stops working in Chromium and complains about network issues.

The log just doesn't show anything, only the last successful sync but nothing further.

Expected Behavior

auto-sync keeps working in Chromium

To Reproduce

set up auto-sync in Chromium with a dedicated server/local folder (not default)
keep syncing every 30 minutes

Debug log provided

  • I have provided a debug log file
Originally created by @spi43984 on GitHub (Apr 25, 2023). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1378 ### Which version of floccus are you using? 4.19.1 on Linux Ubuntu 20.04 and 22.04 ### Sync method Nextcloud Bookmarks ### Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please. Chromium 112.0.5615.165, Firefox 112.0.1 ### Which version of Nextcloud Bookmarks are you using? (if relevant) 12.1.0 ### Which version of Nextcloud? (if relevant) 25.0.4 ### What kind of WebDAV server are you using? (if relevant) _No response_ ### Describe the Bug Firefox is configured to sync bookmarks with Nextcloud Bookmarks with the help of floccus. Android floccus app is also configured to sync the same. Floccus is also installed on Chromium to sync these bookmarks. As the folders for bookmarks and the bookmarks bar differ in Firefox and Chromium, in Chromium two sync jobs were configured - one for the bookmarks bar and a 2nd one for the general bookmarks (with different server/local folders). Both profiles had their own Nextcloud token for authentication. Syncing works. But after some time floccus in Chromium stops syncing and is complaining about network issues. Network works and floccus as Android app and in Firefox also still work, so can't be a network issue, maybe a temporary issue after waking up notebook from suspend mode. To narrow that down one sync job (for the bookmark bar) was removed to just go with a sync of the general bookmarks. But still after some time the auto-sync stops working in Chromium and complains about network issues. The log just doesn't show anything, only the last successful sync but nothing further. ### Expected Behavior auto-sync keeps working in Chromium ### To Reproduce set up auto-sync in Chromium with a dedicated server/local folder (not default) keep syncing every 30 minutes ### Debug log provided - [ ] I have provided a debug log file
kerem 2026-02-25 22:38:26 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@marcelklehr commented on GitHub (May 21, 2023):

Network issues are pretty self-explanatory. I'm not sure how I can help you with this. If it works with Firefox and the same configuration, then it may be a browser issue and nothing I can do in floccus to fix this.

<!-- gh-comment-id:1556125949 --> @marcelklehr commented on GitHub (May 21, 2023): Network issues are pretty self-explanatory. I'm not sure how I can help you with this. If it works with Firefox and the same configuration, then it may be a browser issue and nothing I can do in floccus to fix this.
Author
Owner

@spi43984 commented on GitHub (May 21, 2023):

Well, there are no network issues at that time. It could be browser related and that's exactly what I am saying. As floccus is a browser add-on I thought you might be interested to hear that. I can dig into that if you point me into the right direction - as said the plain log files show nothing, floccus just stops working and the icon in the tool bar is crossed out.

<!-- gh-comment-id:1556127519 --> @spi43984 commented on GitHub (May 21, 2023): Well, there are no network issues at that time. It could be browser related and that's exactly what I am saying. As floccus is a browser add-on I thought you might be interested to hear that. I can dig into that if you point me into the right direction - as said the plain log files show nothing, floccus just stops working and the icon in the tool bar is crossed out.
Author
Owner

@marcelklehr commented on GitHub (May 21, 2023):

You can try going into about:extensions, enable developer mode and inspect the floccus background page.

<!-- gh-comment-id:1556135662 --> @marcelklehr commented on GitHub (May 21, 2023): You can try going into about:extensions, enable developer mode and inspect the floccus background page.
Author
Owner

@spi43984 commented on GitHub (Jun 18, 2023):

You can try going into about:extensions, enable developer mode and inspect the floccus background page.

Will do. Are there extensions floccus might have an issue with? Like Tab Suspender (https://chrome.google.com/webstore/detail/tab-suspender/fiabciakcmgepblmdkmemdbbkilneeeh)?

<!-- gh-comment-id:1596138282 --> @spi43984 commented on GitHub (Jun 18, 2023): > You can try going into about:extensions, enable developer mode and inspect the floccus background page. Will do. Are there extensions floccus might have an issue with? Like Tab Suspender (https://chrome.google.com/webstore/detail/tab-suspender/fiabciakcmgepblmdkmemdbbkilneeeh)?
Author
Owner

@spi43984 commented on GitHub (Jun 20, 2023):

So far I hadn't have any issues any more - still trying.

Chromium and Firefox use a different structure for bookmarks - like the bookmarks menu and the bookmarks bar. In FF I sync the entire set, in Chromium I have two sync jobs - one for the bookmarks menu and another one for the bookmarks bar. I also need two different API tokens to authenticate in Nextcloud then (or I need to set up both sync jobs at the same time or write down the API token...).

Is there a way to re-use one API token for the other sync job or do I really need different ones?
What is the preferred way to sync bookmarks between different browsers and keep their bookmark structure (menu into menu and bar into bar with different names in different browsers)?

<!-- gh-comment-id:1598598573 --> @spi43984 commented on GitHub (Jun 20, 2023): So far I hadn't have any issues any more - still trying. Chromium and Firefox use a different structure for bookmarks - like the bookmarks menu and the bookmarks bar. In FF I sync the entire set, in Chromium I have two sync jobs - one for the bookmarks menu and another one for the bookmarks bar. I also need two different API tokens to authenticate in Nextcloud then (or I need to set up both sync jobs at the same time or write down the API token...). Is there a way to re-use one API token for the other sync job or do I really need different ones? What is the preferred way to sync bookmarks between different browsers and keep their bookmark structure (menu into menu and bar into bar with different names in different browsers)?
Author
Owner

@spi43984 commented on GitHub (Jun 20, 2023):

Ok, I got the error again. In floccus background page I see net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED errors. That happened after Chromium crashed and I restarted Chromium.

The nextcloud server accepts client certificates, but for nextcloud none are needed. Floccus on Firefox works without any issues after Firefox being restarted. Only on Chromium floccus stops syncing.

<!-- gh-comment-id:1599109905 --> @spi43984 commented on GitHub (Jun 20, 2023): Ok, I got the error again. In floccus background page I see net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED errors. That happened after Chromium crashed and I restarted Chromium. The nextcloud server accepts client certificates, but for nextcloud none are needed. Floccus on Firefox works without any issues after Firefox being restarted. Only on Chromium floccus stops syncing.
Author
Owner

@spi43984 commented on GitHub (Jun 21, 2023):

Added a AutoSelectCertificateForUrls managed policy for Chromium - haven't seen any client cert errors yet...

<!-- gh-comment-id:1601218269 --> @spi43984 commented on GitHub (Jun 21, 2023): Added a AutoSelectCertificateForUrls managed policy for Chromium - haven't seen any client cert errors yet...
Author
Owner

@github-actions[bot] commented on GitHub (Jun 21, 2024):

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:2181765982 --> @github-actions[bot] commented on GitHub (Jun 21, 2024): 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#908
No description provided.