Another stupid question: Web UI shows blank screen

817 views
Skip to first unread message

Clay Bowen

unread,
Nov 3, 2015, 9:52:22 AM11/3/15
to Consul
So I installed the conul cluster, and it appears (via info) to be functioning.  I downloaded the consul ui and installed it under /opt/consul/ui and put the directory in my configuration file (shown below).  When I point a browser to it, however, all I see is a blank screen.  No error messages, just blank.  Maybe I need some other resources loaded?

{
  "datacenter": "testgrid",
  "data_dir": "/opt/consul/data",
  "bind_addr" : "0.0.0.0",
  "client_addr" : "0.0.0.0",
  "bootstrap_expect": 3,
  "retry_join": ["10.16.19.138","10.16.42.239","10.16.67.187"],
  "log_level": "warn",
  "ui_dir": "/opt/consul/ui",
  "server": true,
  "retry_max": 10,
  "retry_interval": "20s",
  "ports" : {
       "dns": 53,
       "http": 8500,
       "https": -1,
       "rpc": 8400,
       "serf_lan": 8301,
       "serf_wan": 8302,
       "server": 8300
  }
}

Thanks,
Clay

Alvaro Miranda Aguilera

unread,
Nov 4, 2015, 12:21:24 AM11/4/15
to consu...@googlegroups.com
Which url are you using?

you should try

http://<consulip>:8500/ui

What is the content of /opt/consul/ui ?

ls -al /opt/consult/ui

Thanks
Alvaro
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/hashicorp/consul/issues
> IRC: #consul on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Consul" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to consul-tool...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/consul-tool/4ef65794-81a8-45a5-bb8c-3bf7156f88b1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Clay Bowen

unread,
Nov 4, 2015, 10:13:02 AM11/4/15
to Consul
I'm using http://10.16.67.187:8500/ui/
(I go to the ip:8500 and it redirects to this address).  I'm using Chrome.

The directory contains the contents of the consul_0.6.0-rc1_web_ui.zip file from the download site:

[root@ip-10-16-19-138 ui]# ls -lR
.:
total 32
-rw-r--r-- 1 root root 28051 Oct 29 20:49 index.html
drwxr-xr-x 2 root root  4096 Oct 29 20:49 static

./static:
total 960
-rw-r--r-- 1 root root 767196 Oct 29 20:49 application.min.js
-rw-r--r-- 1 root root  39476 Oct 29 20:49 base.css
-rw-r--r-- 1 root root  18150 Oct 29 20:49 base.css.map
-rw-r--r-- 1 root root  99962 Oct 29 20:49 bootstrap.min.css
-rw-r--r-- 1 root root  38387 Oct 29 20:49 consul-logo.png
-rw-r--r-- 1 root root   3657 Oct 29 20:49 favicon.png
-rw-r--r-- 1 root root    983 Oct 29 20:49 loading-cylon-purple.svg
[root@ip-10-16-19-138 ui]#

Thanks,
Clay

James Phillips

unread,
Nov 4, 2015, 10:21:49 AM11/4/15
to consu...@googlegroups.com
That looks like the right set of files. Can you fire up something like Chrome dev tools and see if there are any Javascript errors in the console and/or 404-type errors in the Network tab?

Clay Bowen

unread,
Nov 4, 2015, 10:29:26 AM11/4/15
to Consul
I removed the contents of the data directory on all three nodes and restarted (rebuilding the cluster).  This appears to have worked.

Thanks,
Clay

James Phillips

unread,
Nov 4, 2015, 10:34:09 AM11/4/15
to consu...@googlegroups.com
That's interesting - shouldn't be required if you were on 0.5.x before. Any chance you could email me some logs from back then so we can make sure things are ok (james at hashicorp)?

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/consul/issues
IRC: #consul on Freenode
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages