[v4.x] Can't login via Nextcloud Bookmarks v13.1.2
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:
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
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:
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.
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
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.
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?
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.
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?
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
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
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.
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 .
@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
It is Version 5.0.3
Then please open a new issue :blue_heart:
Do you know when the chrome extension will be updated?
@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
@SuperSandro2000 Is this still an issue for you?
I think this is no longer happening with 5.2.3-