XXL-JOB Scheduler Script Not Found Client-error:No route to host

Heartbeat detection is normal, but manual execution reports the following error:
msg:java.lang.RuntimeException: Client-error:No route to host


 /data/XXL-JOB/16_1498189158000.sh 
(No such file or directory)

Cause: There might be a firewall blocking or network issue causing the host to be unreachable.

Solution:
1. Use ping to check host connectivity or telnet to see if the Tomcat port is reachable.
2. Add a firewall exception for port 9999 or temporarily disable the firewall.

Leave a Comment

Your email address will not be published.