Skip to content

[bug] internal server error on publish #888

Closed
@hetao29

Description

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:

  1. centrifugo config allow history
  2. redis drop some key by allkey-lfu config
maxmemory 500M
maxmemory-policy allkeys-lfu
  1. and publish the message and add it to history happen error.

thanks.

Versions

Centrifugo version is 5.4.5
Operating system is ubuntu 22.04 , docker centrifugo/centrifugo:v5.4.5

** config below:

{
	"api_key": "xx",
	"admin_password": "xx",
	"admin_secret": "xx",
	"engine": "redis",
	"redis_cluster_address":[
		"xxx"
	],
	"token_hmac_secret_key": "xx",
	"port":8000,
	"ping_interval":"20s",
	"pong_timeout":"5s",
	"redis_prefix": "centrifugov5.1",
	"uni_http_stream":true,
	"namespaces": [
		{
			"name": "aa",
			"presence": true,
			"join_leave":true,
			"history_size": 50,
			"history_ttl": "300s",
			"force_push_join_leave": true,
			"allow_subscribe_for_anonymous":true,
			"allow_subscribe_for_client":true
		}
	],
	"allowed_origins": [
		"*"
	]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions