mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-26 14:45:59 +03:00
[GH-ISSUE #765] Sync fails with Firefox and Nextclout with SSL client certicate #489
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#489
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 @yano0takashi on GitHub (Jan 3, 2021).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/765
Describe the bug
Sync fails with the following condition:
Browser: Firefox
Cloudnext: Require SSL client certificate
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Sync finish with success
Desktop (please complete the following information):
Server (please complete the following information):
Note: Please write down the actual version numbers instead of writing 'latest'.
Debug log
2021-01-03T00:28:15.435Z Syncing failed with E017: Network error: Check your network connection and your account details
Note: As your debug log usually contains large parts of your bookmark data, instead of attaching it publicly to the issue here, I recommend uploading it privately at the following URL https://klehranlage.net/index.php/s/7nn82NSBsfQKdsJ
Additional context
Workaround at nginx reverse proxy:
If at home, SSL client certificate is not required.
Bookmark sync is required only at home becase all the browsers with floccus are only at home.
Cloudnext is required at any place.
set $n "0";
if ( $remote_addr !~ "^XXX.XXX.XXX." ) {
set $n "1";
}
if ($ssl_client_verify = SUCCESS) {
set $n "0";
}
if ( $n = "1" ) {
return 499;
}
add_header Content-Security-Policy "";
proxy_pass http://XXX.XXX.XXX.XXX/mycloud/;
proxy_connect_timeout 10;
@marcelklehr commented on GitHub (Jan 3, 2021):
Confirmed.
Note to self: Apparently Firefox needs
credentials: truein the call to fetch for it to send along the configured client cert. We'll prolly need a setting for this.@github-actions[bot] commented on GitHub (Mar 21, 2023):
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.