Collector health-check not responding on EC2 server when collector and enricher running

Hi,
I am facing issue with health-check. when I am hitting curl request for health-check in localhost the response time is too high and after long time its showing.

  • Trying 127.0.0.1…

  • TCP_NODELAY set

  • Connected to localhost (127.0.0.1) port 80 (#0)

GET /health HTTP/1.1

Host: localhost

User-Agent: curl/7.58.0

Accept: /

  • Recv failure: Connection reset by peer

  • stopped the pause stream!

  • Closing connection 0

curl: (56) Recv failure: Connection reset by peer

So due to this I am not able to health-check on ELB and getting unhealthy hosts and not able to use it with my applications.

Hi @Laxmikant_Joshi,

Sorry for taking some time to get back to you.

Did you solve manage to solve your issue ?

Are you running the curl command on the EC2 instance where the collector is running ?

Are you using the same port as specified in your collector config here ?