简体   繁体   中英

Rancher & Docker Failed to get ping from agent

I am facing another issue with Rancher & Docker.

I've installed the Rancher Server and then, in another server, a Rancher Agent using the command provided from Rancher Server. I can see the node in the host section but every 5 minutes rancher shows the message "Reconnecting" to the node.

I've checked the rancher server logs and it shows the following:

[i.c.p.a.s.ping.impl.PingMonitorImpl ] Failed to get ping from agent [6] count [3]

and no more information.

Could you please shed some light on this issue?

Thanks

I have had the same problem. I really want to get this resolved,but I have no idea.


2017-02-24 08:11:25,995 ERROR [:] [] [] [] [TaskScheduler-2] [i.c.p.a.s.ping.impl.PingMonitorImpl ] Failed to get ping from agent [6] count [9]

This happens if the load balancer that is supporting the Rancher URL doesn't support WebSockets.

Please try bypassing your load balancer temporarily by pointing your Rancher URL directly to one of the Rancher servers. If the issues goes away then work with your networking team to rules to support WebSockets.

Side note: Rancher v1.6 is very old and is EOL. You should really start moving to Rancher v2.x.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM