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

HTTP Error: 404 Not Found #1759

Closed
1 task
Hr46ph opened this issue Nov 7, 2024 · 6 comments
Closed
1 task

HTTP Error: 404 Not Found #1759

Hr46ph opened this issue Nov 7, 2024 · 6 comments

Comments

@Hr46ph
Copy link

Hr46ph commented Nov 7, 2024

Which version of floccus are you using?

5.3.1

How many bookmarks do you have, roughly?

1k

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.

Version 127.0.6533.119 (Official Build, ungoogled-chromium) (arm64)

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

n/a

Which version of Nextcloud? (if relevant)

n/a

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

n/a

Describe the Bug

I run a private Gitea server on Kubernetes. I created an account for floccus, created a repo and use the details in Floccus.
Floccus works and syncs fine.

When I login with my own account via Gitea web, Floccus stops working and gives error 404.

Expected Behavior

Floccus should work independently from my browser session.

I tried sending credentials but that doesn't change and fails the same.

To Reproduce

Create a separate account on gitea. I presume this will also work with gitlab and github but I didn't test.
Do NOT enable 2FA, just password authentication.
Login with the new account, and create a personal repository.
Setup Floccus to use the new account and repository.
Click sync, verify it works.

Open a tab, login to Gitea web with another account (not your new floccus account). Click Floccus addon, force sync. it will fail.

Debug log provided

  • I have provided a debug log file
@Hr46ph Hr46ph added the bug label Nov 7, 2024
Copy link

github-actions bot commented Nov 7, 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 a few years ago, 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!
To continue the development and maintenance of this project in a sustainable way it is expected that you donate to the project when opening a ticket,
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.

I look forward to working with you on this issue
Cheers 💙

@marcelklehr
Copy link
Member

Would be interesting to know which browser this is, as by default floccus shouldn't share cookies with the main browser session. Do you have perhaps enabled "send client credentials" in your profile settings?

@github-project-automation github-project-automation bot moved this to Backlog in Floccus Nov 10, 2024
@marcelklehr marcelklehr moved this from Backlog to Triaging in Floccus Nov 10, 2024
@Hr46ph
Copy link
Author

Hr46ph commented Nov 11, 2024

Would be interesting to know which browser this is, as by default floccus shouldn't share cookies with the main browser session. Do you have perhaps enabled "send client credentials" in your profile settings?

Version 127.0.6533.119 (Official Build, ungoogled-chromium) (arm64)

Fully up to date MacOS Sequoia 15.1 on Apple Silicon.

When I noticed and investigated I enabled send client credentials to test it but it didn’t matter.

I think if it would share cookies with the main session refreshing the main browser page would log me in with Floccus after configuring Floccus and successfully sync. That does not happen the main browser session stays logged in with my own credentials it’s just floccus who seems to loose the login.

@marcelklehr
Copy link
Member

huh. Can you reproduce this with another browser? I suspect this might be a bug in Ungoogled Chromium or Gitea otherwise, as I've never seen this

@Hr46ph
Copy link
Author

Hr46ph commented Nov 13, 2024

It might be. I never considered it could be the website being the cause.

I tested it with a temporary account on Gitlab in Ungoogled Chromium and that works fine.

I then tested official Google Chrome with both Gitlab and my own Gitea and Gitlab works fine, Gitea logs Floccus out as well.

Its really weird. It seems its not the Floccus addon but if you have any idea about what could cause this, it would help me logging this bug with the Gitea developers.

@Hr46ph Hr46ph closed this as completed Nov 13, 2024
@github-project-automation github-project-automation bot moved this from Triaging to Done in Floccus Nov 13, 2024
@marcelklehr
Copy link
Member

I have no idea, to be honest. Floccus uses git over https to sync with gitea using https://isomorphic-git.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants