Get nomad cluster nodes: EOF connection reset by peer

Hi,
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
or
Get “http://{nomad_server_host}:4646/v1/nodes”: read tcp 192.168.14.216:48812->192.168.223.37:4646: 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?

Thanks,
jrasell and the Nomad team