-
-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] internal server error on publish #888
Comments
Hello @hetao29 I think logs should contain more specific error returned from Redis, not just internal error exposed to the outside. Generally you can't use Centrifugo history with Redis LRU policies, because it may bring unexpected side effects to message offset logic upon key eviction. Though I'd like to look at exact error that is happening in this particular case. |
It was a problem in the production environment. I took a rough look at the centrifugo and redis logs and found no obvious error logs; the initial estimate is that it is related to history; |
Would be nice to see the exact error. Will try to reproduce this myself at some point, and think whether it may be improved somehow. There is an idea to add an option to only use one key for the history instead of two. If possible, it will provide a bit worse characteristics for the recovery in some edge cases, but should be more friendly to cache eviction. |
Describe the bug
on Publish message, some time error: internal server error ,and code is 100, and it recover after 1-3 minis later.
I have searched the issue, Like:
#643
I think the reason mayby is:
thanks.
Versions
Centrifugo version is 5.4.5
Operating system is ubuntu 22.04 , docker centrifugo/centrifugo:v5.4.5
** config below:
The text was updated successfully, but these errors were encountered: