weaveworks / scope

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

Unable to display lines between containers in topology view #3915

Open medOualla opened 1 year ago

medOualla commented 1 year ago

What you expected to happen?

"Show the full topology of my docker compose services and containers, also the lines"

What happened?

"Shows only the containers and colors of networks in the bottom of each container

How to reproduce it?

Anything else we need to know?

"I followed your steps to install scope: `sudo curl -L git.io/scope -o /usr/local/bin/scope sudo chmod a+x /usr/local/bin/scope scope launch`` "

Versions:

$ scope version: "Weave Scope version 1.13.2"

$ docker version:

 Version:           23.0.1
 API version:       1.42
 Go version:        go1.19.5
 Git commit:        a5ee5b1
 Built:             Thu Feb  9 19:46:54 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          23.0.1
  API version:      1.42 (minimum version 1.12)
  Go version:       go1.19.5
  Git commit:       bc3805a
  Built:            Thu Feb  9 19:46:54 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.18
  GitCommit:        2456e983eb9e37e47538f59ea18f2043c9a73640
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

$ uname -a: "Linux debian-host1 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux"

Logs:

$ docker logs weavescope

warning: I'm not PID 1, I'm PID 2674
/sbin/runsvdir started
time="2023-04-06T13:52:44Z" level=info msg="publishing to: 127.0.0.1:4040"
<probe> INFO: 2023/04/06 13:52:44.780531 Basic authentication disabled
<probe> INFO: 2023/04/06 13:52:44.781458 command line args: --mode=probe --probe.docker=true
<probe> INFO: 2023/04/06 13:52:44.781687 probe starting, version 1.13.2, ID 6f79fd3c4f048d6e
<app> INFO: 2023/04/06 13:52:44.785226 app starting, version 1.13.2, ID 12b001b7ae8320ed
<app> INFO: 2023/04/06 13:52:44.785257 command line args: --mode=app --probe.docker=true
<probe> ERRO: 2023/04/06 13:52:44.786927 Error fetching app details: Get "http://127.0.0.1:4040/api": dial tcp 127.0.0.1:4040: connect: connection refused
<probe> WARN: 2023/04/06 13:52:44.790018 Cannot resolve 'scope.weave.local.': dial tcp 172.17.0.1:53: connect: connection refused
<app> INFO: 2023/04/06 13:52:44.794086 Basic authentication disabled
<app> INFO: 2023/04/06 13:52:44.796764 listening on :4040
<app> WARN: 2023/04/06 13:52:44.886412 Error updating weaveDNS, backing off 20s: Error running weave ps: exit status 1: "Link not found\n". If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.
<probe> ERRO: 2023/04/06 13:52:44.984036 Error checking version: Get "https://checkpoint-api.weave.works/v1/check/scope-probe?arch=amd64&flag_kernel-version=5.10.0-21-amd64&flag_os=linux&os=linux&signature=T0tWhRJo7WMoj7m7iOwdgxTp1D8rkh00cAqTxsLrH9I%3D&version=1.13.2": dial tcp: lookup checkpoint-api.weave.works on 10.237.25.2:53: no such host
<app> ERRO: 2023/04/06 13:52:45.036952 Error checking version: Get "https://checkpoint-api.weave.works/v1/check/scope-app?arch=amd64&flag_kernel-version=5.10.0-21-amd64&flag_os=linux&os=linux&signature=T0tWhRJo7WMoj7m7iOwdgxTp1D8rkh00cAqTxsLrH9I%3D&version=1.13.2": dial tcp: lookup checkpoint-api.weave.works on 10.237.25.2:53: no such host
<probe> ERRO: 2023/04/06 13:52:45.156972 Error checking version: Get "https://checkpoint-api.weave.works/v1/check/scope-probe?arch=amd64&flag_kernel-version=5.10.0-21-amd64&flag_os=linux&os=linux&signature=T0tWhRJo7WMoj7m7iOwdgxTp1D8rkh00cAqTxsLrH9I%3D&version=1.13.2": dial tcp: lookup checkpoint-api.weave.works on 10.237.25.2:53: no such host
<probe> INFO: 2023/04/06 13:52:45.791614 Control connection to 127.0.0.1 starting
<probe> ERRO: 2023/04/06 13:52:47.467896 plugins: problem loading: no such file or directory
<probe> WARN: 2023/04/06 13:52:47.470487 Error collecting weave status, backing off 10s: Get "http://127.0.0.1:6784/report": dial tcp 127.0.0.1:6784: connect: connection refused. If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.
<probe> INFO: 2023/04/06 13:52:47.479038 Publish loop for 127.0.0.1 starting
<probe> WARN: 2023/04/06 13:52:57.471283 Error collecting weave status, backing off 20s: Get "http://127.0.0.1:6784/report": dial tcp 127.0.0.1:6784: connect: connection refused. If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.
<app> WARN: 2023/04/06 13:53:04.905305 Error updating weaveDNS, backing off 40s: Error running weave ps: exit status 1: "Link not found\n". If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.
<probe> WARN: 2023/04/06 13:53:17.474492 Error collecting weave status, backing off 40s: Get "http://127.0.0.1:6784/report": dial tcp 127.0.0.1:6784: connect: connection refused. If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.
<probe> INFO: 2023/04/06 13:59:19.037773 Pipe pipe-5350078926881616482 connection to 127.0.0.1 starting
<probe> INFO: 2023/04/06 13:59:40.127980 Pipe pipe-5350078926881616482 connection to 127.0.0.1 exiting

$ journalctl -u docker.service --no-pager

Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
-- Journal begins at Fri 2023-01-13 11:05:19 +01, ends at Thu 2023-04-06 14:12:34 +00. --
-- No entries --