[GH-ISSUE #1016] E019 sting template not substituting values #668

Closed
opened 2026-02-25 22:37:47 +03:00 by kerem · 1 comment
Owner

Originally created by @da2x on GitHub (Jan 8, 2022).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1016

Describe the bug

The literal sting E019: HTTP status {0}. Failed {1} request. Check your server configuration and log..

To Reproduce

  1. Trigger an E019, e.g. by misconfiguring a WebDAV account.

Expected behavior

E.g. E019: HTTP status 500. Failed PUT request. Check your server configuration and log..

Screenshots

N/A

Desktop

  • OS: Fedora 35
  • Browser Firefox
  • Browser Version: 95
  • Floccus version: 4.8.7
  • Floccus sync method: WebDAV

Server

  • OS: Linux, lighttpd
  • Nextcloud version: N/A
  • Bookmarks app version: N/A

Note: Please write down the actual version numbers instead of writing 'latest'.

Debug log

2022-01-08T09:17:31.927Z Starting sync process for account floccus@127.0.0.1
2022-01-08T09:17:32.035Z onSyncStart: begin
2022-01-08T09:17:32.037Z http://127.0.0.1/webdav/bookmarks/bookmarks.xbel.lock
2022-01-08T09:17:32.045Z http://127.0.0.1/webdav/bookmarks/bookmarks.xbel.lock
2022-01-08T09:17:32.053Z Syncing failed with E019: HTTP status {0}. Failed {1} request. Check your server configuration and log.
2022-01-08T09:17:32.059Z onSyncFail
127.0.0.1 127.0.0.1 floccus [08/Jan/2022:10:20:32 +0100] "GET /webdav/bookmarks/bookmarks.xbel.lock HTTP/1.1" 404 341 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
127.0.0.1 127.0.0.1 floccus [08/Jan/2022:10:20:32 +0100] "PUT /webdav/bookmarks/bookmarks.xbel.lock HTTP/1.1" 500 365 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
127.0.0.1 127.0.0.1 floccus [08/Jan/2022:10:20:32 +0100] "DELETE /webdav/bookmarks/bookmarks.xbel.lock HTTP/1.1" 404 341 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
  • Debug log provided

Additional context

github.com/floccusaddon/floccus@65e6450671/src/errors/Error.ts (L146-L156)

Originally created by @da2x on GitHub (Jan 8, 2022). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1016 ### Describe the bug The literal sting `E019: HTTP status {0}. Failed {1} request. Check your server configuration and log.`. ### To Reproduce 1. Trigger an E019, e.g. by misconfiguring a WebDAV account. ### Expected behavior E.g. `E019: HTTP status 500. Failed PUT request. Check your server configuration and log.`. ### Screenshots N/A ### Desktop - OS: Fedora 35 - Browser Firefox - Browser Version: 95 - Floccus version: 4.8.7 - Floccus sync method: WebDAV ### Server - OS: Linux, lighttpd - Nextcloud version: N/A - Bookmarks app version: N/A Note: Please write down the actual version numbers instead of writing 'latest'. ### Debug log ``` 2022-01-08T09:17:31.927Z Starting sync process for account floccus@127.0.0.1 2022-01-08T09:17:32.035Z onSyncStart: begin 2022-01-08T09:17:32.037Z http://127.0.0.1/webdav/bookmarks/bookmarks.xbel.lock 2022-01-08T09:17:32.045Z http://127.0.0.1/webdav/bookmarks/bookmarks.xbel.lock 2022-01-08T09:17:32.053Z Syncing failed with E019: HTTP status {0}. Failed {1} request. Check your server configuration and log. 2022-01-08T09:17:32.059Z onSyncFail ``` ``` 127.0.0.1 127.0.0.1 floccus [08/Jan/2022:10:20:32 +0100] "GET /webdav/bookmarks/bookmarks.xbel.lock HTTP/1.1" 404 341 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" 127.0.0.1 127.0.0.1 floccus [08/Jan/2022:10:20:32 +0100] "PUT /webdav/bookmarks/bookmarks.xbel.lock HTTP/1.1" 500 365 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" 127.0.0.1 127.0.0.1 floccus [08/Jan/2022:10:20:32 +0100] "DELETE /webdav/bookmarks/bookmarks.xbel.lock HTTP/1.1" 404 341 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" ``` - [x] Debug log provided ### Additional context https://github.com/floccusaddon/floccus/blob/65e64506710636f22a9929e599633d2e388e7095/src/errors/Error.ts#L146-L156
kerem 2026-02-25 22:37:47 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (Mar 20, 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:1476308208 --> @github-actions[bot] commented on GitHub (Mar 20, 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#668
No description provided.