# No container stats and cannot execute shell/view logs on some hosts

**URL:** <https://forums.suse.com/t/no-container-stats-and-cannot-execute-shell-view-logs-on-some-hosts/2694>\
**Category:** Rancher 1.x\
**Created:** [May 5, 2016, 1:49am UTC](https://forums.suse.com/t/no-container-stats-and-cannot-execute-shell-view-logs-on-some-hosts/2694 "2016-05-05T01:49:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tchan](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@tchan](https://forums.suse.com/u/tchan)\
**Post date:** [May 5, 2016, 1:49am UTC](https://forums.suse.com/t/no-container-stats-and-cannot-execute-shell-view-logs-on-some-hosts/2694/1 "2016-05-05T01:49:04Z")

</div>

rancher 1.1.0-dev1  
docker 1.10.3

Running into some issues on some hosts. 2 hosts are fine (running 1.10.3 and 1.7.0). 2 other hosts that I just brought up (1.10.3) have issues.

If I click on a container on a problematic host, the CPU/Memory/Network/Storage graphs displays “Connecting…” and occasionally flashes the graph axis for less than a second. Execute shell will flash the shell window up for less than a second before it goes away. View Logs will bring up the window but it says “Disconnected” on the bottom.

Any ideas?

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [May 6, 2016, 6:04am UTC](https://forums.suse.com/t/no-container-stats-and-cannot-execute-shell-view-logs-on-some-hosts/2694/2 "2016-05-06T06:04:05Z")

</div>

What type of OS is the host running??

---

<div class="post-metadata">

**Author:** ![tchan](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@tchan](https://forums.suse.com/u/tchan)\
**Post date:** [May 6, 2016, 6:56am UTC](https://forums.suse.com/t/no-container-stats-and-cannot-execute-shell-view-logs-on-some-hosts/2694/3 "2016-05-06T06:56:30Z")

</div>

Server on Debian Jessie. Host on that same machine and other Debian Jessie is fine.

Problematic hosts are running CentOS 7.2 and Debian Jessie.

---

<div class="post-metadata">

**Author:** ![dsvmacdonald](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@dsvmacdonald](https://forums.suse.com/u/dsvmacdonald)\
**Post date:** [May 6, 2016, 11:39am UTC](https://forums.suse.com/t/no-container-stats-and-cannot-execute-shell-view-logs-on-some-hosts/2694/4 "2016-05-06T11:39:35Z")

</div>

FYI - we are experiencing this issue too. We’re running REHL 7.2.

---

<div class="post-metadata">

**Author:** ![ebishop](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@ebishop](https://forums.suse.com/u/ebishop)\
**Post date:** [May 6, 2016, 12:43pm UTC](https://forums.suse.com/t/no-container-stats-and-cannot-execute-shell-view-logs-on-some-hosts/2694/5 "2016-05-06T12:43:24Z")

</div>

I was exeriencing this as well. So I upgraded Docker and Rancher, and verified the time on each server was close, and this seemed to help. I think there are other similar “problems” reported on this topc.

---

<div class="post-metadata">

**Author:** ![tchan](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@tchan](https://forums.suse.com/u/tchan)\
**Post date:** [May 6, 2016, 6:23pm UTC](https://forums.suse.com/t/no-container-stats-and-cannot-execute-shell-view-logs-on-some-hosts/2694/6 "2016-05-06T18:23:21Z")

</div>

Ah, that seems to be it. The server time was a bit off (498 s) and the two new machines weren’t able to be connected to. One of the older ones that did work was 234 s from the server, so there must be a threshold where it fails. Time to set up ntp on these test boxes.

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [May 6, 2016, 7:41pm UTC](https://forums.suse.com/t/no-container-stats-and-cannot-execute-shell-view-logs-on-some-hosts/2694/7 "2016-05-06T19:41:08Z")

</div>

Yes, the server generates a JWT (token) which contains the host/container/etc the request is for, then the client gives that back to what ends up being the target host to verify, and they are good for 5 minutes.
