[GH-ISSUE #1964] git (github) http error 401 #1314

Closed
opened 2026-02-25 22:39:39 +03:00 by kerem · 5 comments
Owner

Originally created by @universish on GitHub (May 25, 2025).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1964

Which version of floccus are you using?

v5.4.5

How many bookmarks do you have, roughly?

1000000+

Are you using other means to sync bookmarks in parallel to floccus?

no

Sync method

Git

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

ungoogled chromium 136.0.7103.113 (OS Windows 11 Pro 24H2

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

2025-05-25T23:47:28.196Z Starting sync process for account m*********
2025-05-25T23:47:28.353Z onSyncStart: begin
2025-05-25T23:47:28.356Z (git) init
2025-05-25T23:47:28.375Z (git) fetch from remote
2025-05-25T23:47:28.728Z Syncing failed with HTTP Error: 401
2025-05-25T23:47:28.730Z onSyncFail

Expected Behavior

I created a hidden repo on github, I wanted to use this repo.

To Reproduce

  1. new profile add
  2. git over https
  3. next
  4. Repository URL using HTTP > https://github.com/<user_name>/<repo_name>
  5. username > github username
  6. password > github password
  7. next
  8. bookmarks file > bookmarks..html
  9. file format > html
  10. Local folser > bookmarks folder /
  11. next
  12. Synchronization interval > 5m
  13. Synchronization strategy > recommended
  14. Nested profiles > Yes, ...

Debug log provided

  • I have provided a debug log file
Originally created by @universish on GitHub (May 25, 2025). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1964 ### Which version of floccus are you using? v5.4.5 ### How many bookmarks do you have, roughly? 1000000+ ### Are you using other means to sync bookmarks in parallel to floccus? no ### Sync method Git ### Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please. ungoogled chromium 136.0.7103.113 (OS Windows 11 Pro 24H2 ### 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 2025-05-25T23:47:28.196Z Starting sync process for account m********* 2025-05-25T23:47:28.353Z onSyncStart: begin 2025-05-25T23:47:28.356Z (git) init 2025-05-25T23:47:28.375Z (git) fetch from remote 2025-05-25T23:47:28.728Z Syncing failed with HTTP Error: 401 2025-05-25T23:47:28.730Z onSyncFail ### Expected Behavior I created a hidden repo on github, I wanted to use this repo. ### To Reproduce 1. new profile add 2. git over https 3. next 4. Repository URL using HTTP > https://github.com/<user_name>/<repo_name> 5. username > github username 6. password > github password 7. next 8. bookmarks file > bookmarks..html 9. file format > html 10. Local folser > bookmarks folder / 11. next 12. Synchronization interval > 5m 13. Synchronization strategy > recommended 14. Nested profiles > Yes, ... ### Debug log provided - [ ] I have provided a debug log file
kerem 2026-02-25 22:39:39 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (May 25, 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 💙

<!-- gh-comment-id:2908173944 --> @github-actions[bot] commented on GitHub (May 25, 2025): 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. 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 :blue_heart:
Author
Owner

@marcelklehr commented on GitHub (May 31, 2025):

Hello @universish

password > github password

You will likely need to create an API key to sync with github. Let me know if this fixes your issues :)

<!-- gh-comment-id:2925135115 --> @marcelklehr commented on GitHub (May 31, 2025): Hello @universish > password > github password You will likely need to create an API key to sync with github. Let me know if this fixes your issues :)
Author
Owner

@universish commented on GitHub (May 31, 2025):

I gave up. I'll try again with drive. hopefully it's fixed

<!-- gh-comment-id:2925713781 --> @universish commented on GitHub (May 31, 2025): I gave up. I'll try again with drive. hopefully it's fixed
Author
Owner

@Apen commented on GitHub (Jun 24, 2025):

I have the same bug.
I use floccus on Vivaldi with github sync, no problem.
On android, it doesnt work, same repository, same credentials (so same token).

2025-06-11T07:22:26.672Z onSyncStart: begin
2025-06-11T07:22:26.673Z (git) init
2025-06-11T07:22:26.752Z (git) fetch from remote
2025-06-11T07:22:27.268Z Syncing failed with HTTP Error: 401 Unauthorized
2025-06-11T07:22:27.278Z onSyncFail
<!-- gh-comment-id:3000106515 --> @Apen commented on GitHub (Jun 24, 2025): I have the same bug. I use floccus on Vivaldi with github sync, no problem. On android, it doesnt work, same repository, same credentials (so same token). ``` 2025-06-11T07:22:26.672Z onSyncStart: begin 2025-06-11T07:22:26.673Z (git) init 2025-06-11T07:22:26.752Z (git) fetch from remote 2025-06-11T07:22:27.268Z Syncing failed with HTTP Error: 401 Unauthorized 2025-06-11T07:22:27.278Z onSyncFail ```
Author
Owner

@marcelklehr commented on GitHub (Jun 24, 2025):

On android, it doesnt work

See #1608

<!-- gh-comment-id:3000380709 --> @marcelklehr commented on GitHub (Jun 24, 2025): > On android, it doesnt work See #1608
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#1314
No description provided.