Curl responds but no ui

#1

Anyone experienced this? curl looks ok but can’t get the ui to open, just hangs.

Influx and chronograf running on same system.

checked firewall on both the host (not enabled) and AWS (opened up all tcp to any) so don’t believe that’s the issue.

Here’s the curl output:

user@influx:/etc/influxdb$ curl -sl -I localhost:8086/ping
HTTP/1.1 204 No Content
Content-Type: application/json
Request-Id: b6769c5f-4c47-11e9-8004-06768cfcd07c
X-Influxdb-Build: OSS
X-Influxdb-Version: 1.7.4
X-Request-Id: b6769c5f-4c47-11e9-8004-06768cfcd07c
Date: Fri, 22 Mar 2019 02:10:49 GMT

user@influx:/etc/influxdb$ curl -sl -I localhost:8888/ping
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: public, max-age=3600
Content-Length: 343
Content-Type: text/html; charset=utf-8
Etag: “3431322641”
Last-Modified: Wed, 20 Mar 2019 16:15:33 GMT
Vary: Accept-Encoding
X-Chronograf-Version: 1.7.8
Date: Fri, 22 Mar 2019 02:10:57 GMT

#2

Hi welcome :slight_smile: ,
Do you mean that influxd and chronograf services are up and running but that you cannot start the chronograf Graphical interface on your localhost:8888 ?

#3

These are ok ?

Systemctl status influxd
Systemctl status chronograf

#4

Mark,

I believe so. Here is the output from both:

user@influx:~$ sudo systemctl status influxd
● influxdb.service - InfluxDB is an open-source, distributed, time series database
Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-03-22 01:46:43 UTC; 3 days ago
Docs: https://docs.influxdata.com/influxdb/
Main PID: 4565 (influxd)
Tasks: 12
Memory: 67.1M
CPU: 2min 49.061s
CGroup: /system.slice/influxdb.service
└─4565 /usr/bin/influxd -config /etc/influxdb/influxdb.conf


user@influx:~$ sudo systemctl status chronograf
● chronograf.service - Open source monitoring and visualization UI for the entire TICK stack.
Loaded: loaded (/lib/systemd/system/chronograf.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-03-22 16:49:14 UTC; 3 days ago
Docs: https://www.influxdata.com/time-series-platform/chronograf/
Main PID: 14654 (chronograf)
Tasks: 11
Memory: 15.7M
CPU: 8.290s
CGroup: /system.slice/chronograf.service
└─14654 /usr/bin/chronograf

#5

Curl and systemd stuff both look good; can you describe what you mean by “hangs”? Does anything load? Any errors, either in the browser console or on the host where the applications are installed? Which browser are you using? Can you give it a try in “Private Browsing” mode, too?

#6

Nothing loads whatsoever, the browser stays at ‘Connecting…’. Tried incognito as well. Have had others try. Checking if ubuntu apparmor is causing the issue. ?