crawlab-team / crawlab

Distributed web crawler admin platform for spiders management regardless of languages and frameworks. 分布式爬虫管理平台,支持任何语言和框架
https://www.crawlab.cn
BSD 3-Clause "New" or "Revised" License
11.38k stars 1.8k forks source link

rpc error, grpc error, connect to grpc: connection refused #1268

Closed thachnv92 closed 1 year ago

thachnv92 commented 1 year ago

Describe the bug I have 3 servers:

I setup crawlab Ok, all thing is work fine.

Yesterday, all task get status is Error, with message: "Task ended with an error: grpc error: stream not found"

image

I check logs of container worker node and get logs as below: image

I check master node, It's OK. I try to check connection from both server A and 2 worker node container in server A to grpc :9666, all thing is Ok. Telnet OK and curl connection OK.

I try to create one more worker node is worker_node_3, and run task on it, It's Ok. Then, I must remove old worker node and re-create to fix this issue temporary.

tikazyq commented 1 year ago

Hi @thachnv92,

Have you tried upgrading to the newest version and restart all master and worker nodes to see if it works okay?

thachnv92 commented 1 year ago

Many thanks, I forgot to update this.

It need to more time to retry connect grpc to master node.