weaveworks / scope

Monitoring, visualisation & management for Docker & Kubernetes
https://www.weave.works/oss/scope/
Apache License 2.0
5.86k stars 714 forks source link

"Nothing to show" message in the browser and errors in the scope-agent pods #3794

Open sundar-cs opened 4 years ago

sundar-cs commented 4 years ago

What you expected to happen?

Browse to Weave Scope Service URL to see the visualization of the interaction between the 10 micro-services (google shopping demo app) running in the K8s Cluster deployed on AWS (as per this link : https://learnk8s.io/visualise-dependencies-kubernetes)

What happened?

"Nothing to show" message (but the Weave Scope UI appears properly)

How to reproduce it?

As per the above link, install the micro-services and browse to the service Load Balancer URL to ensure that app is fine. Then install the Weave Scope app on the same cluster to see the interactions between those micro-services displayed in the Weave Scope service UI on the browser as shown in the same link above (learnk8s.io)

Anything else we need to know?

The Kubernetes cluster is on AWS. The cluster is created thru KOPS.

Versions:

$ scope version
<Not clear how to do this - but I'm using it from https://cloud.weave.works/k8s/scope.yaml>
$ docker version
root@ip-172-20-59-224:/home/admin# docker version
Client:
 Version:           18.09.9
 API version:       1.39
 Go version:        go1.11.13
 Git commit:        039a7df9ba
 Built:             Wed Sep  4 16:52:00 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.9
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.11.13
  Git commit:       039a7df
  Built:            Wed Sep  4 16:19:38 2019
  OS/Arch:          linux/amd64
  Experimental:     false

$ uname -a
$ kubectl version

admin@ip-172-20-59-224:~$ kubectl version Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.10", GitCommit:"f3add640dbcd4f3c33a7749f38baaac0b3fe810d", GitTreeState:"clean", BuildDate:"2020-05-20T14:00:52Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.10", GitCommit:"f3add640dbcd4f3c33a7749f38baaac0b3fe810d", GitTreeState:"clean", BuildDate:"2020-05-20T13:51:56Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

Logs:

$ docker logs weavescope

or, if using Kubernetes:

$ kubectl logs <weave-scope-pod> -n <namespace> 

kubectl logs -f weave-scope-cluster-agent-6cc85ddbd9-gwgt5 -n weave

<probe> ERRO: 2020/06/04 08:06:36.831282 Error fetching app details: Get http://100.71.75.193:80/api: dial tcp 100.71.75.193:80: i/o timeout
<probe> ERRO: 2020/06/04 08:11:36.831688 Error fetching app details: Get http://100.71.75.193:80/api: dial tcp 100.71.75.193:80: i/o timeout

This has been posted in Slack channel too at: https://app.slack.com/client/T2NDH1D9D/C985DLV6F