mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-25 14:16:12 +03:00
[GH-ISSUE #1378] floccus stops auto-sync after some time on Chromium, FF and Android app keep working #908
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#908
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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.
@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.
@marcelklehr commented on GitHub (May 21, 2023):
You can try going into about:extensions, enable developer mode and inspect the floccus background page.
@spi43984 commented on GitHub (Jun 18, 2023):
Will do. Are there extensions floccus might have an issue with? Like Tab Suspender (https://chrome.google.com/webstore/detail/tab-suspender/fiabciakcmgepblmdkmemdbbkilneeeh)?
@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)?
@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.
@spi43984 commented on GitHub (Jun 21, 2023):
Added a AutoSelectCertificateForUrls managed policy for Chromium - haven't seen any client cert errors yet...
@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.