Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

ehcache- Initial cause was ICMP Port Unreachable


Level 4

Getting the below repeatedly on aem6.4.Please any sugesstions.

[Multicast Heartbeat Receiver Thread] net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver Error receiving heartbeat. ICMP Port Unreachable. Initial cause was ICMP Port Unreachable

java.net.PortUnreachableException: ICMP Port Unreachable

        at java.net.PlainDatagramSocketImpl.receive0(Native Method)

        at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:143)

        at java.net.DatagramSocket.receive(DatagramSocket.java:812)

        at net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver$MulticastReceiverThread.run(MulticastKeepaliveHeartbeatReceiver.java:124) [org.apache.servicemix.bundles.ehcache:]

3 Replies


Level 10

If you have observed this error on a consistent basis then most likely its due to firewall issues otherwise if it happens intermittently then it could be due to heavy load on that server/network. Engage network team, find out the server load/statistics, check GC logs, traffic volume, lb logs etc.

If you are using distributed/replicated caching then it could be related to clustered network or server overload within that cluster.Find out recent changes in the setup since you observed the error.


Employee Advisor

It's likely a network issue, the system cannot open a socket to listen for UDP packages.


Level 4

Thanks a lot the issue is solved now.It was a port that was blocked.