mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-25 06:06:05 +03:00
[GH-ISSUE #1945] Can't authenticate with the server (google drive) #1298
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#1298
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 @asherkory on GitHub (May 6, 2025).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1945
Which version of floccus are you using?
5.5.3
How many bookmarks do you have, roughly?
10k
Are you using other means to sync bookmarks in parallel to floccus?
No
Sync method
Google Drive
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Firefox version 136.02, Android 15
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
On multiple devices using Firefox, plus also the android app, I receive this error when trying to sync:
E018: Couldn't authenticate with the server.Debug logs:
I tried deleting the existing profile and adding a new profile. Same result.
Expected Behavior
Syncing should work.
To Reproduce
Happens every time I try to sync, no matter whether I'm using the browser extension or android app.
Debug log provided
@github-actions[bot] commented on GitHub (May 6, 2025):
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. Let me give you a short introduction on what to expect from this issue tracker to avoid misunderstandings.
I'm Marcel. I created floccus a few years ago, and have been maintaining it 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. It helps when you stick around to answer follow up questions I may have,
as very few bugs can be fixed directly from the first bug report, without any interaction. If information is missing in your bug report
and the issue cannot be solved without it, I will have to close the issue after a while.
Note also that GitHub in general 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!
If you cannot lend a helping hand, to continue the development and maintenance of this project in a sustainable way,
I ask that you donate to the project when opening an issue (or at least once your issue is solved), 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.
Thank you for reading through this primer. I look forward to working with you on this issue!
Cheers 💙
@marcelklehr commented on GitHub (May 7, 2025):
Hey @asherkory
Thank you for giving feedback by opening this issue! I appreciate it! Google Drive authentication is known to cause issues that I haven't been able to reproduce so far (see #1562 ). The log you posted seems to be from the Android app, could you also upload the log from the Desktop version of floccus, it should give more details for the error.
Thank you for your cooperation!
@asherkory commented on GitHub (May 7, 2025):
Thanks for linking to the known issue. Here's the desktop log -- doesn't seem to give much more info:
I tried debugging the network requests (as mentioned in the linked issue). Looks like the GET request to Google Drive is returning a 403. Here's the response:
When I try to manually download
bookmarks.xbelfrom my google drive account, google drive thinks it's infected with a virus.It looks like the POST oauth requests to authenticate are successful, as are the PATCH requests to update the bookmarks file. Indeed, on my google drive account I can see that the "last modified" timestamp does update to the current time.
Let me know if there's any other info I could provide.
edit: Did a little searching, looks like there might be a parameter you can pass to bypass the virus checking:
acknowledgeAbuse=true. docs, similar issue@marcelklehr commented on GitHub (May 7, 2025):
Aha! Insightful! Thank you!
acknowledgeAbuse... headscratch Interesting parameter name choice.
@marcelklehr commented on GitHub (May 7, 2025):
Can you check if there is actually anything malicious in your bookmarks file, though? I'd rather not circumvent a legitimate issue.
@asherkory commented on GitHub (May 7, 2025):
Okay, interesting -- I did some investigating and discovered that Google Drive's virus scanner was flagging one particular bookmark. The URL was a very normal website that none of my web browsers have an issue with, so who knows exactly why Drive had an issue with it. I removed the offending bookmark manually from
bookmarks.xbeland was able to sync again on all my devices.I know this technically resolves my issue, but I wonder if it would be nice to have some way to warn the user that their bookmarks file may be infected, allow them to bypass the warning and still sync or at least surface the error message in a more obvious way.
@marcelklehr commented on GitHub (May 9, 2025):
Interesting. Google suggests to warn the user with the option to continue with the download anyway, but enough users seem to be affected by this that I think Drive may be overreacting when it comes to floccus, so I think I'll just always add that GET parameter just in case and not lose sleep over this. Thanks for going the extra mile with this report!
@asherkory commented on GitHub (May 9, 2025):
Thanks for being so responsive!