-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Git on android: "Failed to fetch" #1608
Comments
Hello 👋 Thank you for taking the time to open this issue with floccus. I know it's frustrating when software I look forward to working with you on this issue |
It's possible this is a network problem. I'll look into the settings issue. |
I have the same issue. Using 5.1.2. This is what I get in the android log: Capacitor/Console: File: http://localhost/#/tree/17158905901720.4856727622664514 - Line 0 - Msg: Access to fetch at 'https://redacted.com/redactedusername/floccusbookmarks/info/refs?service=git-upload-pack' from origin 'http://localhost' 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. The same server with the browser plugin works ok. |
Ah, thank you for the extended log, @babblerz The error makes sense now. I'll look into fixing this. |
Fixed the settings issue. I can reproduce the CORS issue, I'll look into fixing it. |
Upstream blocker: ionic-team/capacitor#7473 |
Hello, Just posting to follow this issue which I encounter myself too. Thank you for your work! |
Similar issue. Looks like if fails to checkout the branch.
|
Which version of floccus are you using?
5.1.1
How many bookmarks do you have, roughly?
1000+
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.
Android 9 Honor 20
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
I'm importing profile from browser, which works. But I tried creating same profile from scratch and it did not work either.
Profile uses github private repository.
So I have "Failed to fetch" error after sync. And if I go to settings I get blank screen. That is why I can't attach debug logs.
You can see it on video below.
Expected Behavior
Well, it should sync I believe.
To Reproduce
222.mp4
Debug log provided
The text was updated successfully, but these errors were encountered: