floccusaddon / floccus

:cloud: Sync your bookmarks privately across browsers and devices
https://floccus.org
Mozilla Public License 2.0
5.83k stars 241 forks source link

Syncing failed with E035 for some bookmark with Nextcloud Bookmarks #1669

Closed trupf closed 4 months ago

trupf commented 4 months ago

Which version of floccus are you using?

5.2.4

How many bookmarks do you have, roughly?

1500

Are you using other means to sync bookmarks in parallel to floccus?

No

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 115.7.0esr and Chromium 121.0.6167.139 on Linux (same issue with both browsers)

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

14.2.0

Which version of Nextcloud? (if relevant)

29.0.2

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

Nextcloud webdav server

Describe the Bug

I have issues with some borkmarks which don't get uploaded. An example is: https://www.amazon.de/33-000ft-Regenjacke-wasserdicht-verstaubarer/dp/B081H2BGK5

relevant logfile lines:

2024-07-08T05:22:20.913Z Server: executing CREATEs and UPDATEs 2024-07-08T05:22:20.913Z Executing action { type: 'CREATE', payload: - #undefined[33,000ft Regenjacke Herren Leicht Wasserdicht Faltbare Regenmantel mit Kapuze Fahrrad Rain Windbreaker Windjacke Camping Outdoor schwarz L : Amazon.de: Fashion](https://www.amazon.de/33-000ft-Regenjacke-wasserdicht-verstaubarer/dp/B081H2BGK5) parentId: 54, index: 20, oldItem: - #1567[33,000ft Regenjacke Herren Leicht Wasserdicht Faltbare Regenmantel mit Kapuze Fahrrad Rain Windbreaker Windjacke Camping Outdoor schwarz L : Amazon.de: Fashion](https://www.amazon.de/33-000ft-Regenjacke-wasserdicht-verstaubarer/dp/B081H2BGK5) parentId: 36 } 2024-07-08T05:22:20.914Z (nextcloud-folders)CREATE - #undefined[33,000ft Regenjacke Herren Leicht Wasserdicht Faltbare Regenmantel mit Kapuze Fahrrad Rain Windbreaker Windjacke Camping Outdoor schwarz L : Amazon.de: Fashion](https://www.amazon.de/33-000ft-Regenjacke-wasserdicht-verstaubarer/dp/B081H2BGK5) parentId: 54 2024-07-08T05:22:20.914Z QUEUING GET https://trhome.my-router.de/owncloud/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fwww.amazon.de%2F33-000ft-Regenjacke-wasserdicht-verstaubarer%2Fdp%2FB081H2BGK5 2024-07-08T05:22:20.915Z FETCHING GET https://trhome.my-router.de/owncloud/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fwww.amazon.de%2F33-000ft-Regenjacke-wasserdicht-verstaubarer%2Fdp%2FB081H2BGK5 2024-07-08T05:22:21.233Z Receiving response for GET https://trhome.my-router.de/owncloud/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fwww.amazon.de%2F33-000ft-Regenjacke-wasserdicht-verstaubarer%2Fdp%2FB081H2BGK5 2024-07-08T05:22:21.234Z QUEUING POST https://trhome.my-router.de/owncloud/index.php/apps/bookmarks/public/rest/v2/bookmark 2024-07-08T05:22:21.234Z FETCHING POST https://trhome.my-router.de/owncloud/index.php/apps/bookmarks/public/rest/v2/bookmark 2024-07-08T05:22:21.612Z Receiving response for POST https://trhome.my-router.de/owncloud/index.php/apps/bookmarks/public/rest/v2/bookmark 2024-07-08T05:22:21.617Z Syncing failed with E035: Failed to create the following bookmark on the server: [object Object] 2024-07-08T05:22:24.519Z QUEUING DELETE https://trhome.my-router.de/owncloud/index.php/apps/bookmarks/public/rest/v2/lock 2024-07-08T05:22:24.520Z FETCHING DELETE https://trhome.my-router.de/owncloud/index.php/apps/bookmarks/public/rest/v2/lock 2024-07-08T05:22:24.829Z Receiving response for DELETE https://trhome.my-router.de/owncloud/index.php/apps/bookmarks/public/rest/v2/lock

I don't see what is special for this site/boolkmark, syncing and adding of other sites does just work normal as expected, but from time to time I have a site like this, wich will not get synchronized

Expected Behavior

Bookmark should just get created on the server when synchronising.

To Reproduce

Create bookmark to the site https://www.amazon.de/33-000ft-Regenjacke-wasserdicht-verstaubarer/dp/B081H2BGK5 in your sync folder and start sync/upload.

Debug log provided

github-actions[bot] commented 4 months ago

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:

marcelklehr commented 4 months ago

Can you check the nextcloud logs?

marcelklehr commented 4 months ago

I cannot reproduce this with the bookmark URL you mentioned

trupf commented 4 months ago

Nextcloud log is attached. For me the error is reproducible with that link.

nextcloud.log

marcelklehr commented 4 months ago

That would be a bug in the bookmarks app, then.

marcelklehr commented 4 months ago

I've created an issue over there :) See https://github.com/nextcloud/bookmarks/issues/2195