Get nomad cluster nodes: EOF connection reset by peer

I have a nomad cluster with three servers and 1k clients. And when requesting nomad server to get all nodes in cluster periodically, I always get response error: EOF or connection reset by peer.

My nomad sdk client is initialized by nomadapi.DefaultConfig(). So what’s the problem in my usecase?

The detail error message like this:
Get \“http://{nomad_server_host}:4646/v1/nodes?\”: EOF
Get “http://{nomad_server_host}:4646/v1/nodes”: read tcp> read: connection reset by peer

Hi @qqzeng.

When performing the API call, are you adding any query parameters such as setting up blocking queries? Is there any resources such as a load balancer sitting between the Nomad servers and the location where the API call is being triggered from?

jrasell and the Nomad team