Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E033: Redirect detected. #1511

Closed
1 task done
eleaner opened this issue Jan 5, 2024 · 12 comments
Closed
1 task done

E033: Redirect detected. #1511

eleaner opened this issue Jan 5, 2024 · 12 comments

Comments

@eleaner
Copy link

eleaner commented Jan 5, 2024

Which version of floccus are you using?

5.0.7

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.

firefox 121.0

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

13.1.3

Which version of Nextcloud? (if relevant)

Nextcloud AIO v7.9.0

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

No response

Describe the Bug

i created a profile and linked with the nextcloud account but I am receiving this error
image
attaching log
floccus-5.0.7-2024-01-05-full.log

I don't do any redirects that I am aware of

I found the option to ignore redirects but it does not help
image
and a second log
floccus-5.0.7-2024-01-05-full(1).log

Expected Behavior

synchronisation

To Reproduce

I am not sure, but i get the same error with brave

Debug log provided

  • I have provided a debug log file
@eleaner eleaner added the bug label Jan 5, 2024
Copy link

github-actions bot commented Jan 5, 2024

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 💙

@marcelklehr
Copy link
Member

Hi @eleaner
If you get a parse error, check the nextcloud log on your server

@eleaner
Copy link
Author

eleaner commented Jan 5, 2024

I see, my nextcloud is behind authelia
I believe floccs might be trying to connect from unauthorised session and gets rejected

@marcelklehr
Copy link
Member

mmmh, I've heard before that floccus doesn't seem to work well with authelia. I know very little about it, though. Do you know how floccus would need to behave to work with authelia?

@eleaner
Copy link
Author

eleaner commented Jan 5, 2024

I know very little too but if the session is authorised everything should work
e.g. when I authorise floccus to work with nextcloud - it uses my current session and authelia naturally let it pass.
so synchronisation should do the same but it seems to be establishing a new session or connect from a different server

@eleaner
Copy link
Author

eleaner commented Jan 5, 2024

by the way, disabling authelia made it work immediately - so that's definitely it

@marcelklehr
Copy link
Member

marcelklehr commented Jan 5, 2024

it uses my current session

Mh. Floccus doesn't use sessions, though. You can try enabling "send client credentials" in the profile options, but out of the box, floccus only does HTTP basic auth.

@eleaner
Copy link
Author

eleaner commented Jan 5, 2024

well, I am not sure if "session" is a good term
what I mean is when i login to nextcloud it goes through authelia first
I actually don't have them integrated so next I have to login to nextcloud
but authorisation is remembered in the browser somehow
so even if I log-off nextcloud and try to login again, authelia will let me through
it will also let me through through every service that sits behind her
so i would say - browser is authorised

somehow authorisation of plugin in nextcloud also gets through authelia without any issue - still because browser is authorised
but then synchronisation in the same browser must do something different

I doubt I can explain it more clearly

@marcelklehr
Copy link
Member

From your explanation, it seems like authelia sets a cookie. Do you have other client software working with this setup? Like nextcloud desktop?

@eleaner
Copy link
Author

eleaner commented Jan 5, 2024

not that I am aware of
but I guess it would not work that easily as it would have to first allow authelia login

@marcelklehr
Copy link
Member

Have you tried the "send client credentials" in the profile options already? That might fix this, but other than that, I can not help you further.

@marcelklehr marcelklehr moved this to Done in Floccus May 19, 2024
Copy link

github-actions bot commented Jan 7, 2025

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

No branches or pull requests

2 participants