floccusaddon / floccus

:cloud: Sync your bookmarks privately across browsers and devices
https://floccus.org
Mozilla Public License 2.0
5.66k stars 239 forks source link

Brave Webdav sync fails with E036 Missing permissions #1667

Open arnaudaz opened 3 months ago

arnaudaz commented 3 months ago

Which version of floccus are you using?

5.2.4

How many bookmarks do you have, roughly?

1

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.

MacOS Brave - Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64)

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)

No response

Describe the Bug

I am testing floccus and am unable to get the extension to sync with my webdav based bookmarks. I am able to setup the sync profile successfully, but syncs never succeed, with the following log:

2024-07-05T00:17:52.142Z Starting sync process for account sync-1 2024-07-05T00:17:52.143Z onSyncStart: begin 2024-07-05T00:17:52.143Z onSyncFail 2024-07-05T00:17:52.143Z Syncing failed with E036: Missing permissions to access the sync server 2024-07-05T00:17:52.144Z onSyncFail

I am able to sync the profile on the mobile floccus app and in Chrome on the same device. Have tried disabling and re-enabling the extension, restarting the browser, and creating a new brave profile and setting up from scratch.

Expected Behavior

Syncing works on Brave with webdav after profile setup.

To Reproduce

Install Brave Install Floccus Extension Add new or existing WebDav sync profile Attempt to sync profile

Debug log provided

github-actions[bot] commented 3 months ago

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 and have been 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! 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 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:

marcelklehr commented 3 months ago

Hi @arnaudaz Does this also happen in Chrome for you?

marcelklehr commented 3 months ago

I cannot reproduce this on Linux with the same brave version. Can you try visiting brave://extensions and clicking on "Details" for floccus. It should have site access for all sites. Can you confirm?

arnaudaz commented 3 months ago

In Chrome on the same machine floccus works fine, it is only failing in Brave. Attaching a screenshot of my settings for the extensions: Screenshot 2024-07-06 at 7 37 53 PM

marcelklehr commented 3 months ago

Looks good :/ Not sure what might be causing this. Maybe it's a brave bug

marcelklehr commented 2 months ago

Does it work if you import a profile exported from a different browser?