[GH-ISSUE #1378] Random errors in UI during link management #885

Closed
opened 2026-03-02 11:53:29 +03:00 by kerem · 1 comment
Owner

Originally created by @Framstag on GitHub (May 10, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1378

Describe the Bug

I get random errors (I would say, 1/3-2/3 of the time) during management of bookmarks. I have imported bookmarks from browser and pocket and I'm not sorting them in into a tag and list structure.

During assigned tags or removing them from the import list I get errors during such tag assignment or list removed for individual bookmarks - making the application nearly unusable.

Error sappear as red popup "Something is wrong, there was an error in your request".

My setup (everything in the current version):

  • IPv64.net for DynDNS and IPV4=>IPV6 proxying
  • Nginx Proxy Manager as SSL network proxy (https => http)
  • TrueNAS (and the TrueNAS package for Karakeep)

In the Nginx logs I can see many of the following errors (where XXX is a IPv6 address):

2025/05/05 21:46:51 [warn] 608768#608768: *260271 upstream server temporarily disabled while reading response header from upstream, client: XXX>
2025/05/05 21:46:51 [error] 608768#608768: *260272 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: XXX>

In the browser debug console I see a HTP 502 response in case of POSTs as e.g. a result of "Remove from list".

I use the setup for other applications, too. So it must be something special to Karakeep (though it might be, that it is not Karakeeps fault).

I tried various configuration changes to Nginx, especially in SSL handling, but none of them seem to fix the problem.

In principle it looks like either a timeout problem (though request are handling in sub-second time) or a connection issue. I'm lost because I do not see how I can change logging in Karakeep or otherwise influence things. Karakeep itself is not dumping any error in the log, though I see that changes like adding a tag have not been applied in case of error.

My last idea would be using recording and analyzing network traffic, which would be some efffort (at least for me) to get correctly set up, to se what is (not) happening.

Any experience in this, any idea regarding nginx setup or analysis on the Karakeep side? Or possibly even a concrete bugfix?

Steps to Reproduce

See description above

Expected Behaviour

Everything works without hassle. Every operation in the UI is successful.

Screenshots or Additional Context

No response

Device Details

See above IPV64.net, Nginx Proxy Manager, trueNAs, Firefox

Exact Karakeep Version

0.24.1

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @Framstag on GitHub (May 10, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1378 ### Describe the Bug I get random errors (I would say, 1/3-2/3 of the time) during management of bookmarks. I have imported bookmarks from browser and pocket and I'm not sorting them in into a tag and list structure. During assigned tags or removing them from the import list I get errors during such tag assignment or list removed for individual bookmarks - making the application nearly unusable. Error sappear as red popup "Something is wrong, there was an error in your request". My setup (everything in the current version): * IPv64.net for DynDNS and IPV4=>IPV6 proxying * Nginx Proxy Manager as SSL network proxy (https => http) * TrueNAS (and the TrueNAS package for Karakeep) In the Nginx logs I can see many of the following errors (where XXX is a IPv6 address): 2025/05/05 21:46:51 [warn] 608768#608768: *260271 upstream server temporarily disabled while reading response header from upstream, client: XXX> 2025/05/05 21:46:51 [error] 608768#608768: *260272 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: XXX> In the browser debug console I see a HTP 502 response in case of POSTs as e.g. a result of "Remove from list". I use the setup for other applications, too. So it must be something special to Karakeep (though it might be, that it is not Karakeeps fault). I tried various configuration changes to Nginx, especially in SSL handling, but none of them seem to fix the problem. In principle it looks like either a timeout problem (though request are handling in sub-second time) or a connection issue. I'm lost because I do not see how I can change logging in Karakeep or otherwise influence things. Karakeep itself is not dumping any error in the log, though I see that changes like adding a tag have not been applied in case of error. My last idea would be using recording and analyzing network traffic, which would be some efffort (at least for me) to get correctly set up, to se what is (not) happening. Any experience in this, any idea regarding nginx setup or analysis on the Karakeep side? Or possibly even a concrete bugfix? ### Steps to Reproduce See description above ### Expected Behaviour Everything works without hassle. Every operation in the UI is successful. ### Screenshots or Additional Context _No response_ ### Device Details See above IPV64.net, Nginx Proxy Manager, trueNAs, Firefox ### Exact Karakeep Version 0.24.1 ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem 2026-03-02 11:53:29 +03:00
Author
Owner

@MohamedBassem commented on GitHub (May 10, 2025):

Anything any karakeep's own logs when those issues happen? Could karakeep be running out of memory for example?

<!-- gh-comment-id:2868833408 --> @MohamedBassem commented on GitHub (May 10, 2025): Anything any karakeep's own logs when those issues happen? Could karakeep be running out of memory for example?
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/karakeep#885
No description provided.