Replies: 1 comment
-
May option
I'm not sure if we should move the reported error to searxng-docker ... I had not observed that SearXNG loses the connection so far ... maybe it is due to the containers? BTW the official SearXNG docker imag uses valkey --> may your issue is related to? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG
2024.11.10+dfaf5868e
How did you install SearXNG?
Official Docker container/instructions.
What happened?
Once every day or three SearXNG will start throwing Python exceptions saying its Redis connection is being reset by peer. This appears to be catastrophic in nature until the SearXNG container is restarted. NOTE: I do NOT restart Redis to remedy this issue – only the SearXNG container.
How To Reproduce
Unfortunately, I can't get this to reproduce with consistency. It does happen regularly now though – a few times a week – after running the container for a while (> 10 hours).
Expected behavior
Redis connections work correctly when Redis is up.
Screenshots & Logs
Additional context
I've set
limiter
tofalse
, which I saw referenced in an older ticket as a possible remedy. What I find odd is that theget_token
function seems to short-circuit if it can't connect. I havelimiter
to false, so I'm unsure why it's getting to line 148. I'm wondering if it would make more sense to base theget_token
logic on thelimiter
value in the config or the value ofSEARXNG_REDIS_URL
beingNone
?Beta Was this translation helpful? Give feedback.
All reactions