Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eureka timeout exception

I am new to micro-services and I am getting below exception. I am getting this only some times and I am not able to proceed.

eureka_1 | 2019-02-25 15:08:22.666 ERROR 1 --- [target_eureka-7] c.n.e.cluster.ReplicationTaskProcessor : It seems to be a socket read timeout exception, it will retry later. if it continues to happen and some eureka node occupied all the cpu time, you should set property 'eureka.server.peer-node-read-timeout-ms' to a bigger value

Any thoughts?

like image 814
Java P Avatar asked Dec 08 '25 10:12

Java P


1 Answers

I got this error while trying to run my microservices in a virtual machine. When I raised VM memory from 2.5 to 10 GB it disappeared.

By default in Docker for Windows specified only 2Gb. So try to rise memory volume.

like image 58
Valeriy K. Avatar answered Dec 10 '25 12:12

Valeriy K.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!