hastic-zzz / hastic-server

Hastic data management server for analyzing patterns and anomalies from Grafana
GNU General Public License v3.0
330 stars 23 forks source link

Error: request failed with status code 503 #189

Closed rozetko closed 5 years ago

rozetko commented 5 years ago

Steps to reproduce:

Expected behaviour:

Actual behaviour:

Server and Grafana are running on the same host

jonyrock commented 5 years ago

Who is the real author of issue on github? I think the author is @ipalbeniz

ipalbeniz commented 5 years ago

Yes, I'm here :)

amper43 commented 5 years ago

Hi, @ipalbeniz ! Do you start Hastic inside docker?

ipalbeniz commented 5 years ago

Hi @amper43!

Hastic is not running inside docker. I'm using node v8.12.0 + Ubuntu 16.04.5 LTS, following these steps:

wget https://github.com/hastic/hastic-server/releases/download/0.2.3-alpha/hastic-server-0.2.3-alpha-node-8.tar.gz
tar -zxvf hastic-server-0.2.3-alpha-node-8.tar.gz
cd hastic-server-0.2.3-alpha/server/dist
node server

Same with grafana (v5.2.4), that is not running inside docker. Hastic-Panel is v0.2.3

jonyrock commented 5 years ago

Hey @ipalbeniz , can you please:

and send us info from there.

ipalbeniz commented 5 years ago

Hi @jonyrock Sorry about the delay. This is what I get when I go to http://localhost:8000 { "server": "OK", "analyticsReady": true }

jonyrock commented 5 years ago

@ipalbeniz can we make a google.meet (with screen sharing) with you? so you show us :) Are you on IRC?

rozetko commented 5 years ago

Hey, @ipalbeniz Can you please check whether you have Server or Browser datasource access type? image If it's not Server - hastic-server won't be able to get data from there

ipalbeniz commented 5 years ago

Hi,

I reinstalled everything with the latest version available: Grafana (v5.3.4), Hastic Graph Panel (v0.2.4), InfluxDB (v1.7.1) and Hastic (v0.2.4). Now everything works, so this issue could be closed.

Thank you so much for your help :)

rozetko commented 5 years ago

Glad to help!