[GH-ISSUE #568] Can't change password? #397

Closed
opened 2026-02-25 22:37:02 +03:00 by kerem · 5 comments
Owner

Originally created by @Whissi on GitHub (Jun 11, 2020).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/568

Describe the bug
I created a new app password in Nextcloud.
I now want to use that password in floccus but after saving changed settings, next sync will just fail with "E018: Couldn't authenticate with the server" -- nothing in logs.

To Reproduce
Steps to reproduce the behavior:

  1. Set up floccus in browser.
  2. Make sure it's working and can sync.
  3. Now revoke used app password and create a new one.
  4. Open floccus settings, go to account details, paste new app password into password field and click Save button below.
  5. Back in floccus settings start sync.

Expected behavior
Floccus should be able to continue synchronizing using new credentials.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Tried in Firefox 77 and Microsoft Edge 84
  • Floccus version: 4.2.1
  • Floccus sync method: Nextcloud Bookmarks

Server (please complete the following information):

  • Nextcloud version: 19.0.0
Originally created by @Whissi on GitHub (Jun 11, 2020). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/568 **Describe the bug** I created a new app password in Nextcloud. I now want to use that password in floccus but after saving changed settings, next sync will just fail with "**E018: Couldn't authenticate with the server**" -- nothing in logs. **To Reproduce** Steps to reproduce the behavior: 1. Set up floccus in browser. 2. Make sure it's working and can sync. 3. Now revoke used app password and create a new one. 4. Open floccus settings, go to account details, paste new app password into password field and click Save button below. 5. Back in floccus settings start sync. **Expected behavior** Floccus should be able to continue synchronizing using new credentials. **Desktop (please complete the following information):** - OS: Windows - Browser: Tried in Firefox 77 and Microsoft Edge 84 - Floccus version: 4.2.1 - Floccus sync method: Nextcloud Bookmarks **Server (please complete the following information):** - Nextcloud version: 19.0.0
kerem 2026-02-25 22:37:02 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@marcelklehr commented on GitHub (Jun 16, 2020):

This should be resolved in the latest release.

<!-- gh-comment-id:644846635 --> @marcelklehr commented on GitHub (Jun 16, 2020): This should be resolved in the latest release.
Author
Owner

@Whissi commented on GitHub (Jun 16, 2020):

Do you know when this update will appear in Microsoft store?

<!-- gh-comment-id:644866189 --> @Whissi commented on GitHub (Jun 16, 2020): Do you know when this update will appear in Microsoft store?
Author
Owner

@marcelklehr commented on GitHub (Jun 16, 2020):

Probably today or tomorrow, I'm guessing. It's in review right now. :)

<!-- gh-comment-id:644871520 --> @marcelklehr commented on GitHub (Jun 16, 2020): Probably today or tomorrow, I'm guessing. It's in review right now. :)
Author
Owner

@Whissi commented on GitHub (Jun 18, 2020):

Still not working with 4.2.5 in Edge. When I change password and start new sync, it will always end with E018: Couldn't authenticate with the server. I made the same account change in Firefox and Firefox is able to sync. Floccus logs from Edge:

2020-06-18T11:15:55.301Z Starting sync process for account myusername@cloud.example.org
2020-06-18T11:15:55.372Z Using normal strategy
2020-06-18T11:15:55.394Z Overriding title of built-in node 1 Favorites bar => Bookmarks Bar
2020-06-18T11:15:55.395Z Overriding title of built-in node 2 Other favorites => Other Bookmarks
2020-06-18T11:16:20.822Z Fetching bookmarks
2020-06-18T11:16:46.185Z Syncing failed with E018: Couldn't authenticate with the server
2020-06-18T11:16:48.266Z Starting sync process for account myusername@cloud.example.org
2020-06-18T11:16:48.332Z Using normal strategy
2020-06-18T11:16:48.352Z Overriding title of built-in node 1 Favorites bar => Bookmarks Bar
2020-06-18T11:16:48.353Z Overriding title of built-in node 2 Other favorites => Other Bookmarks
2020-06-18T11:17:13.717Z Fetching bookmarks
2020-06-18T11:17:39.080Z Syncing failed with E018: Couldn't authenticate with the server
2020-06-18T11:15:55.301Z Starting sync process for account myusername@cloud.example.org
2020-06-18T11:15:55.372Z Using normal strategy
2020-06-18T11:15:55.394Z Overriding title of built-in node 1 Favorites bar => Bookmarks Bar
2020-06-18T11:15:55.395Z Overriding title of built-in node 2 Other favorites => Other Bookmarks
2020-06-18T11:16:20.822Z Fetching bookmarks
2020-06-18T11:16:46.185Z Syncing failed with E018: Couldn't authenticate with the server
2020-06-18T11:16:48.266Z Starting sync process for account myusername@cloud.example.org
2020-06-18T11:16:48.332Z Using normal strategy
2020-06-18T11:16:48.352Z Overriding title of built-in node 1 Favorites bar => Bookmarks Bar
2020-06-18T11:16:48.353Z Overriding title of built-in node 2 Other favorites => Other Bookmarks
2020-06-18T11:17:13.717Z Fetching bookmarks
2020-06-18T11:17:39.080Z Syncing failed with E018: Couldn't authenticate with the server

In server's php.log I see

[18-Jun-2020 11:17:38 UTC] {"reqId":"z9c790deaapNbFksi6NC","level":2,"time":"2020-06-18T11:17:38+00:00","remoteAddr":"1.2.3.4","user":"--","app":"core","method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?page=0&limit=300","message":"Login failed: 'myusername' (Remote IP: '1.2.3.4')","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.45 Safari/537.36 Edg/84.0.522.20","version":"19.0.0.12"}
[18-Jun-2020 11:17:38 UTC] {"reqId":"z9c790deaapNbFksi6NC","level":1,"time":"2020-06-18T11:17:38+00:00","remoteAddr":"1.2.3.4","user":"--","app":"core","method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?page=0&limit=300","message":"Bruteforce attempt from \"1.2.3.4\" detected for action \"login\".","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.45 Safari/537.36 Edg/84.0.522.20","version":"19.0.0.12"}

which is coming from my browser.

<!-- gh-comment-id:645953971 --> @Whissi commented on GitHub (Jun 18, 2020): Still not working with 4.2.5 in Edge. When I change password and start new sync, it will always end with `E018: Couldn't authenticate with the server`. I made the same account change in Firefox and Firefox is able to sync. Floccus logs from Edge: ``` 2020-06-18T11:15:55.301Z Starting sync process for account myusername@cloud.example.org 2020-06-18T11:15:55.372Z Using normal strategy 2020-06-18T11:15:55.394Z Overriding title of built-in node 1 Favorites bar => Bookmarks Bar 2020-06-18T11:15:55.395Z Overriding title of built-in node 2 Other favorites => Other Bookmarks 2020-06-18T11:16:20.822Z Fetching bookmarks 2020-06-18T11:16:46.185Z Syncing failed with E018: Couldn't authenticate with the server 2020-06-18T11:16:48.266Z Starting sync process for account myusername@cloud.example.org 2020-06-18T11:16:48.332Z Using normal strategy 2020-06-18T11:16:48.352Z Overriding title of built-in node 1 Favorites bar => Bookmarks Bar 2020-06-18T11:16:48.353Z Overriding title of built-in node 2 Other favorites => Other Bookmarks 2020-06-18T11:17:13.717Z Fetching bookmarks 2020-06-18T11:17:39.080Z Syncing failed with E018: Couldn't authenticate with the server 2020-06-18T11:15:55.301Z Starting sync process for account myusername@cloud.example.org 2020-06-18T11:15:55.372Z Using normal strategy 2020-06-18T11:15:55.394Z Overriding title of built-in node 1 Favorites bar => Bookmarks Bar 2020-06-18T11:15:55.395Z Overriding title of built-in node 2 Other favorites => Other Bookmarks 2020-06-18T11:16:20.822Z Fetching bookmarks 2020-06-18T11:16:46.185Z Syncing failed with E018: Couldn't authenticate with the server 2020-06-18T11:16:48.266Z Starting sync process for account myusername@cloud.example.org 2020-06-18T11:16:48.332Z Using normal strategy 2020-06-18T11:16:48.352Z Overriding title of built-in node 1 Favorites bar => Bookmarks Bar 2020-06-18T11:16:48.353Z Overriding title of built-in node 2 Other favorites => Other Bookmarks 2020-06-18T11:17:13.717Z Fetching bookmarks 2020-06-18T11:17:39.080Z Syncing failed with E018: Couldn't authenticate with the server ``` In server's php.log I see ``` [18-Jun-2020 11:17:38 UTC] {"reqId":"z9c790deaapNbFksi6NC","level":2,"time":"2020-06-18T11:17:38+00:00","remoteAddr":"1.2.3.4","user":"--","app":"core","method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?page=0&limit=300","message":"Login failed: 'myusername' (Remote IP: '1.2.3.4')","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.45 Safari/537.36 Edg/84.0.522.20","version":"19.0.0.12"} [18-Jun-2020 11:17:38 UTC] {"reqId":"z9c790deaapNbFksi6NC","level":1,"time":"2020-06-18T11:17:38+00:00","remoteAddr":"1.2.3.4","user":"--","app":"core","method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?page=0&limit=300","message":"Bruteforce attempt from \"1.2.3.4\" detected for action \"login\".","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.45 Safari/537.36 Edg/84.0.522.20","version":"19.0.0.12"} ``` which is coming from my browser.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 21, 2023):

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.

<!-- gh-comment-id:1477198026 --> @github-actions[bot] commented on GitHub (Mar 21, 2023): 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#397
No description provided.