[GH-ISSUE #1466] [v4.x] Can't login via Nextcloud Bookmarks v13.1.2 #966

Closed
opened 2026-02-25 22:38:35 +03:00 by kerem · 19 comments
Owner

Originally created by @SuperSandro2000 on GitHub (Dec 11, 2023).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1466

Which version of floccus are you using?

4.19.1

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.

Chrome 120.0.6099.71

Which version of Nextcloud Bookmarks are you using? (if relevant)

13.1.1

Which version of Nextcloud? (if relevant)

initially 27.1.4, then 28.0.0

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

When trying to log in via nextcloud I get the following error:
image

Also the following is logged into console:

Access to fetch at 'https://nextcloud.example.com//index.php/login/v2' from origin 'chrome-extension://fnaicdffflnofjppbagibeoednhnbjhg' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Expected Behavior

The nextcloud login window or something should show up.

To Reproduce

Try to log in via Nextcloud Bookmarks.

Debug log provided

  • I have provided a debug log file
Originally created by @SuperSandro2000 on GitHub (Dec 11, 2023). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1466 ### Which version of floccus are you using? 4.19.1 ### 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. Chrome 120.0.6099.71 ### Which version of Nextcloud Bookmarks are you using? (if relevant) 13.1.1 ### Which version of Nextcloud? (if relevant) initially 27.1.4, then 28.0.0 ### What kind of WebDAV server are you using? (if relevant) _No response_ ### Describe the Bug When trying to log in via nextcloud I get the following error: ![image](https://github.com/floccusaddon/floccus/assets/7258858/b9f37d84-2265-4ba8-83b6-b7713fe65493) Also the following is logged into console: ``` Access to fetch at 'https://nextcloud.example.com//index.php/login/v2' from origin 'chrome-extension://fnaicdffflnofjppbagibeoednhnbjhg' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. ``` ### Expected Behavior The nextcloud login window or something should show up. ### To Reproduce Try to log in via Nextcloud Bookmarks. ### Debug log provided - [ ] I have provided a debug log file
kerem 2026-02-25 22:38:35 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (Dec 11, 2023):

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.
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 💙

<!-- gh-comment-id:1849723622 --> @github-actions[bot] commented on GitHub (Dec 11, 2023): 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:
Author
Owner

@marcelklehr commented on GitHub (Dec 15, 2023):

HI @SuperSandro2000

are you sure about the floccus version and the bookmarks app version? Both versions are quite old have been around for some time and shouldn't cease to work suddenly. It's more likely you got one of the recent updates to either, I think.

<!-- gh-comment-id:1857907912 --> @marcelklehr commented on GitHub (Dec 15, 2023): HI @SuperSandro2000 are you sure about the floccus version and the bookmarks app version? Both versions ~~are quite old~~ have been around for some time and shouldn't cease to work suddenly. It's more likely you got one of the recent updates to either, I think.
Author
Owner

@SuperSandro2000 commented on GitHub (Dec 15, 2023):

are you sure about the floccus version and the bookmarks app version?

Yes, unless I am mixing things up.

The Floccus browser extension displays the following version in the bottom left

image

which matches the version available on the chrome webstore https://chromewebstore.google.com/detail/floccus-bookmarks-sync/fnaicdffflnofjppbagibeoednhnbjhg

The bookmarks app got an update in the meanwhile and I also updated to nextcloud 28.

image

<!-- gh-comment-id:1858168504 --> @SuperSandro2000 commented on GitHub (Dec 15, 2023): > are you sure about the floccus version and the bookmarks app version? Yes, unless I am mixing things up. The Floccus browser extension displays the following version in the bottom left ![image](https://github.com/floccusaddon/floccus/assets/7258858/f8521916-96c1-4b79-8f04-cf05f36751fd) which matches the version available on the chrome webstore https://chromewebstore.google.com/detail/floccus-bookmarks-sync/fnaicdffflnofjppbagibeoednhnbjhg The bookmarks app got an update in the meanwhile and I also updated to nextcloud 28. ![image](https://github.com/floccusaddon/floccus/assets/7258858/24759fb4-35ed-4202-a4b1-d3407371a988)
Author
Owner

@marcelklehr commented on GitHub (Dec 15, 2023):

Mh. I cannot reproduce this with the following versions:

floccus 4.19.1
Sync method: Nextcloud Bookmarks
Chrome 120.0.6099.71
13.1.2
Nextcloud 26.0.9

But the nextcloud version shouldn't matter here. Are you sure the URL is correct?

<!-- gh-comment-id:1858201051 --> @marcelklehr commented on GitHub (Dec 15, 2023): Mh. I cannot reproduce this with the following versions: floccus 4.19.1 Sync method: Nextcloud Bookmarks Chrome 120.0.6099.71 13.1.2 Nextcloud 26.0.9 But the nextcloud version shouldn't matter here. Are you sure the URL is correct?
Author
Owner

@SuperSandro2000 commented on GitHub (Dec 15, 2023):

Are you sure the URL is correct?

Yes, I can see the requests in my nginx logs and there are no extra redirects except from http to https. If I paste the URL from the form into my browser url bar I am straight in my nextcloud.

I've just done some additional testing and it seems I also had an with nextcloud 28 incompatible app installed. My logging tab is currently not working, so I didn't notice it yet.

But even after fixing that I still can't log into floccus in chrome but in firefox with version 5.0.3 the log in succeeds but with a pop up that flocus wants to read all websites.

The error printed in the console in chrome is still the same as above. Maybe the update to 5.0.X in chrome will fix that.

Edit: I found a fix. If I add my nextcloud domain to site access under extension settings, things start to work. I think floccus should ask for the specific domain I am trying to log in in chrome, too.

<!-- gh-comment-id:1858370194 --> @SuperSandro2000 commented on GitHub (Dec 15, 2023): > Are you sure the URL is correct? Yes, I can see the requests in my nginx logs and there are no extra redirects except from http to https. If I paste the URL from the form into my browser url bar I am straight in my nextcloud. I've just done some additional testing and it seems I also had an with nextcloud 28 incompatible app installed. My logging tab is currently not working, so I didn't notice it yet. But even after fixing that I still can't log into floccus in chrome but in firefox with version 5.0.3 the log in succeeds but with a pop up that flocus wants to read all websites. The error printed in the console in chrome is still the same as above. Maybe the update to 5.0.X in chrome will fix that. Edit: I found a fix. If I add my nextcloud domain to site access under extension settings, things start to work. I think floccus should ask for the specific domain I am trying to log in in chrome, too.
Author
Owner

@marcelklehr commented on GitHub (Dec 15, 2023):

If I add my nextcloud domain to site access under extension settings, things start to work.

Mmh, it's just, the floccus version you noted is out since July or even before that. I wonder what changed that it doesn't work anymore now?

it seems I also had an with nextcloud 28 incompatible app installed

Which app was that?

<!-- gh-comment-id:1858396587 --> @marcelklehr commented on GitHub (Dec 15, 2023): > If I add my nextcloud domain to site access under extension settings, things start to work. Mmh, it's just, the floccus version you noted is out since July or even before that. I wonder what changed that it doesn't work anymore now? > it seems I also had an with nextcloud 28 incompatible app installed Which app was that?
Author
Owner

@SuperSandro2000 commented on GitHub (Dec 15, 2023):

I wonder what changed that it doesn't work anymore now?

Could be chrome updates which tighten security or so. Or maybe the nextcloud update. I found one entry in the changelog which reads rather promising https://github.com/nextcloud/server/pull/40737

Which app was that?

https://apps.nextcloud.com/apps/metadata

<!-- gh-comment-id:1858457572 --> @SuperSandro2000 commented on GitHub (Dec 15, 2023): > I wonder what changed that it doesn't work anymore now? Could be chrome updates which tighten security or so. Or maybe the nextcloud update. I found one entry in the changelog which reads rather promising https://github.com/nextcloud/server/pull/40737 > Which app was that? https://apps.nextcloud.com/apps/metadata
Author
Owner

@marcelklehr commented on GitHub (Dec 15, 2023):

Could be chrome updates which tighten security or so.

I wasn't able to reproduce with your chrome version though.

Or maybe the nextcloud update.

Did you update to Nextcloud 28 already? the ticket says you're on 27

<!-- gh-comment-id:1858489542 --> @marcelklehr commented on GitHub (Dec 15, 2023): > Could be chrome updates which tighten security or so. I wasn't able to reproduce with your chrome version though. > Or maybe the nextcloud update. Did you update to Nextcloud 28 already? the ticket says you're on 27
Author
Owner

@SuperSandro2000 commented on GitHub (Dec 16, 2023):

Did you update to Nextcloud 28 already? the ticket says you're on 27

I am right now on 28 but initially I discovered this issue on 27.

<!-- gh-comment-id:1858699602 --> @SuperSandro2000 commented on GitHub (Dec 16, 2023): > Did you update to Nextcloud 28 already? the ticket says you're on 27 I am right now on 28 but initially I discovered this issue on 27.
Author
Owner

@pbtoubol commented on GitHub (Dec 16, 2023):

Hello,
I have the same problem with the 2023/12/12 version of Floccus with Bookmarks 13.1.2 version on Nextcloud v27.1.5
With the older versions I always have "E017: Network error: Check your network connection and you account details"

thank you for the help .

<!-- gh-comment-id:1858863493 --> @pbtoubol commented on GitHub (Dec 16, 2023): Hello, I have the same problem with the 2023/12/12 version of Floccus with Bookmarks 13.1.2 version on Nextcloud v27.1.5 With the older versions I always have "E017: Network error: Check your network connection and you account details" thank you for the help .
Author
Owner

@marcelklehr commented on GitHub (Dec 16, 2023):

@pbtoubol This issue is explicitly about floccus v4.19.1, which version is "2023/12/12"? You should see the floccus version in the bottom bar of the floccus menu

<!-- gh-comment-id:1858869641 --> @marcelklehr commented on GitHub (Dec 16, 2023): @pbtoubol This issue is explicitly about floccus v4.19.1, which version is "2023/12/12"? You should see the floccus version in the bottom bar of the floccus menu
Author
Owner

@pbtoubol commented on GitHub (Dec 16, 2023):

It is Version 5.0.3

<!-- gh-comment-id:1858870950 --> @pbtoubol commented on GitHub (Dec 16, 2023): It is Version 5.0.3
Author
Owner

@marcelklehr commented on GitHub (Dec 16, 2023):

Then please open a new issue 💙

<!-- gh-comment-id:1858872872 --> @marcelklehr commented on GitHub (Dec 16, 2023): Then please open a new issue :blue_heart:
Author
Owner

@SuperSandro2000 commented on GitHub (Dec 16, 2023):

Do you know when the chrome extension will be updated?

<!-- gh-comment-id:1858872885 --> @SuperSandro2000 commented on GitHub (Dec 16, 2023): Do you know when the chrome extension will be updated?
Author
Owner

@marcelklehr commented on GitHub (Dec 16, 2023):

@SuperSandro2000 Do you know when the chrome extension will be updated?

soon-ish, I have one more ticket on the list that I would like to fix before that

<!-- gh-comment-id:1858873202 --> @marcelklehr commented on GitHub (Dec 16, 2023): > @SuperSandro2000 Do you know when the chrome extension will be updated? soon-ish, I have one more ticket on the list that I would like to fix before that
Author
Owner

@marcelklehr commented on GitHub (Jun 12, 2024):

@SuperSandro2000 Is this still an issue for you?

<!-- gh-comment-id:2163517779 --> @marcelklehr commented on GitHub (Jun 12, 2024): @SuperSandro2000 Is this still an issue for you?
Author
Owner

@SuperSandro2000 commented on GitHub (Jun 26, 2024):

I think this is no longer happening with 5.2.3-

<!-- gh-comment-id:2192702286 --> @SuperSandro2000 commented on GitHub (Jun 26, 2024): I think this is no longer happening with 5.2.3-
Author
Owner

@auxsvr commented on GitHub (May 20, 2025):

Using Floccus 5.4.5, Nextcloud 31.0.5 and Chrome 136.0.7103.92, I have the same problem with CORS headers and cannot use Floccus.

<!-- gh-comment-id:2895678942 --> @auxsvr commented on GitHub (May 20, 2025): Using Floccus 5.4.5, Nextcloud 31.0.5 and Chrome 136.0.7103.92, I have the same problem with CORS headers and cannot use Floccus.
Author
Owner

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

Hey @auxsvr
I'm sorry for the trouble. Could you please open a new issue?

<!-- gh-comment-id:2896712847 --> @marcelklehr commented on GitHub (May 21, 2025): Hey @auxsvr I'm sorry for the trouble. Could you please open a new issue?
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#966
No description provided.