Client de-register it self from eureka server

37 views
Skip to first unread message

Dhayalan Ganapathy

unread,
Mar 21, 2023, 7:06:31 AM3/21/23
to eureka_netflix
Hi,

I had the eureka server running on port 8761 and able to register service intoit, but after some time it deregister itself with error 

connection timed out 
serviceurl=http://host:port/eureka/ exception =I/O error on PUT / POST request for "http://host:port/eureka/apps/SERVICE_NAME/dockerinstanceId:service _name:port": Connect to host:port failed: Connection timed out
for RestTemplateEurekaHttpClient.sendHeartBeat , register methods.

com.netflix.discovery.DiscoveryClinet$HeartbeatThread] rejected from java.util.cuncurrent.threadpoolexecutor[running , pool size=2, active thread =2]

Eureka server/client is 3.1.3 jar.
I checked  Port,  it is exposed and first time it is able to register after 5 mins it will automatically de register and after few mins registers itself.
curl / in browser host:port/eureka/apps are showing empty when the service is deregister it.
If any one faced this king of issue please help.
Reply all
Reply to author
Forward
0 new messages