Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI completely blank #3438

Closed
willzhang opened this issue Nov 23, 2018 · 3 comments
Closed

UI completely blank #3438

willzhang opened this issue Nov 23, 2018 · 3 comments
Labels
bug Broken end user or developer functionality; not working as the developers intended it

Comments

@willzhang
Copy link

willzhang commented Nov 23, 2018

i can't access the website:http://192.168.92.6:4040/,when i accesss ,it is black.
weavescopeerror

i use the follow command to install scope

curl -L git.io/scope -o /usr/local/bin/scope
chmod a+x /usr/local/bin/scope
scope launch

and the OS version is:

[root@localhost ~]# cat /etc/redhat-release 
CentOS Linux release 7.5.1804 (Core) 
[root@localhost ~]# uname -sr
Linux 4.16.3-1.el7.elrepo.x86_64
[root@localhost ~]# 

docker container is running:

[root@localhost ~]# docker ps
CONTAINER ID        IMAGE                     COMMAND                  CREATED              STATUS              PORTS               NAMES
8b098a695874        weaveworks/scope:1.10.0   "/home/weave/entrypo…"   About a minute ago   Up About a minute                       weavescope
[root@localhost ~]# 

docker info:

[root@localhost ~]# docker info
Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 32
Server Version: 18.09.0
Storage Driver: overlay
 Backing Filesystem: xfs
 Supports d_type: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: c4446665cb9c30056f4998ed953e6d4ff22c7c39
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: fec3683
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.16.3-1.el7.elrepo.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.925GiB
Name: localhost.localdomain
ID: FHGI:SFWY:IVIZ:FEBC:CKZL:WUUB:LWAS:IP7Y:OKYD:VW6G:4P3N:N2JD
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: willdockerhub
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Registry Mirrors:
 https://uyah70su.mirror.aliyuncs.com/
Live Restore Enabled: false
Product License: Community Engine

[root@localhost ~]# 

the scope logs:

[root@localhost ~]# docker logs -f weavescope 
time="2018-11-23T04:55:45Z" level=info msg="publishing to: 127.0.0.1:4040"
<probe> INFO: 2018/11/23 04:55:45.268861 Basic authentication disabled
<app> INFO: 2018/11/23 04:55:45.335434 app starting, version 1.10.0, ID 14fd8cdfcf95dff
<app> INFO: 2018/11/23 04:55:45.335491 command line args: --mode=app --probe.docker=true
<app> INFO: 2018/11/23 04:55:45.336273 Basic authentication disabled
<probe> INFO: 2018/11/23 04:55:45.346214 command line args: --mode=probe --probe.docker=true
<probe> INFO: 2018/11/23 04:55:45.346271 probe starting, version 1.10.0, ID 5563eda8db2f90f4
<app> INFO: 2018/11/23 04:55:45.349280 listening on :4040
<probe> ERRO: 2018/11/23 04:55:45.370749 Error fetching app details: Get http://127.0.0.1:4040/api: dial tcp 127.0.0.1:4040: connect: connection refused
<probe> WARN: 2018/11/23 04:55:45.370811 Cannot resolve 'scope.weave.local.': dial tcp 172.17.0.1:53: connect: connection refused
<app> WARN: 2018/11/23 04:55:45.438030 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> WARN: 2018/11/23 04:55:45.926175 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: 2018/11/23 04:55:46.378314 Control connection to 127.0.0.1 starting
<probe> INFO: 2018/11/23 04:55:48.921778 Publish loop for 127.0.0.1 starting
<probe> WARN: 2018/11/23 04:55:55.927365 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.
<probe> ERRO: 2018/11/23 04:56:01.957928 Error checking version: Get https://checkpoint-api.weave.works/v1/check/scope-probe?arch=amd64&flag_kernel-version=4.16.3-1.el7.elrepo.x86_64&flag_os=linux&os=linux&signature=wspihh%2BSRBT%2FCh84iYTRQBkiASZ7PjkAtrdYQg8Z1jQ%3D&version=1.10.0: dial tcp 216.58.199.115:443: i/o timeout
<app> WARN: 2018/11/23 04:56:05.501516 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: 2018/11/23 04:56:15.945743 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.
@bboreham bboreham added the bug Broken end user or developer functionality; not working as the developers intended it label Nov 23, 2018
@bboreham
Copy link
Collaborator

Thanks for the report. I can reproduce.

@bboreham
Copy link
Collaborator

By the way Get http://127.0.0.1:4040/api: dial tcp 127.0.0.1:4040: connect: connection refused is not the issue - the probe connects fine half a second later.
This is probably just a race with the app getting started.

@bboreham
Copy link
Collaborator

I'm going to re-title this issue, but feel free to file another one about the misleading log message.

@bboreham bboreham changed the title Error fetching app details: Get http://127.0.0.1:4040/api: dial tcp 127.0.0.1:4040: connect: connection refused UI completely blank Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken end user or developer functionality; not working as the developers intended it
Projects
None yet
Development

No branches or pull requests

2 participants