infinilabs / gateway

🚀 A High-performance gateway designed for search scenarios. Good friend of Elasticsearch/Opensearch/Easysearch.
https://www.infinilabs.com/en/docs/latest/gateway/
28 stars 3 forks source link

kibana反馈集群503不可用 #29

Closed hebo1982 closed 1 year ago

hebo1982 commented 1 year ago

gateway版本:

gateway 1.7.0_SNAPSHOT 705 2022-08-16 03:13:43 +0000 UTC 2023-12-31 10:10:10 +0000 UTC 4b2bdc84d5c1d9882493adfe43486d8dfaab68bc

访问kibana返回:

{"statusCode":503,"error":"Service Unavailable","message":"Request Timeout after 30000ms"}

gateway的日志有:

[09-06 23:58:36] [ERR] [server.go:2301] error in serveConn, runtime error: invalid memory address or nil pointer dereference,runtime error: invalid memory address or nil pointer dereference
[09-07 02:40:19] [ERR] [server.go:2301] error in serveConn, runtime error: invalid memory address or nil pointer dereference,runtime error: invalid memory address or nil pointer dereference

kibana日志:

大量
{"type":"log","@timestamp":"2022-09-07T00:53:09Z","tags":["warning","plugins","licensing"],"pid":89427,"message":"License information could not be obtained from Elasticsearch due to Error: Request Timeout after 30000ms error"}
{"type":"log","@timestamp":"2022-09-07T00:53:22Z","tags":["error","plugins","taskManager","taskManager"],"pid":89427,"message":"Failed to poll for work: Error: Request Timeout after 30000ms"}
{"type":"log","@timestamp":"2022-09-07T00:53:33Z","tags":["warning","elasticsearch","data"],"pid":89427,"message":"Unable to revive connection: http://10.0.6.146:9528/"}
{"type":"log","@timestamp":"2022-09-07T00:53:33Z","tags":["warning","plugins","licensing"],"pid":89427,"message":"License information could not be obtained from Elasticsearch due to Error: Request Timeout after 30000ms error"}
{"type":"log","@timestamp":"2022-09-07T00:53:39Z","tags":["warning","plugins","licensing"],"pid":89427,"message":"License information could not be obtained from Elasticsearch due to Error: Request Timeout after 30000ms error"}
{"type":"log","@timestamp":"2022-09-07T00:53:39Z","tags":["warning","elasticsearch","data"],"pid":89427,"message":"Unable to revive connection: http://10.0.6.146:9528/"}

重启kibana后恢复正常。

medcl commented 1 year ago

旧版本有 bug,更新一下