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: Cannot read property 'status' of undefined #179

Open deniszh opened 6 years ago

deniszh commented 6 years ago

Trying to test Hastic with Graphite. Server and panel are on latest version, but during labelling I'm getting error above from server. screen shot 2018-09-27 at 15 34 47

Grafana sending /status?id=UkWAa3fgmF0Xqv9o to server and getting {"status":"FAILED","errorMessage":"Cannot read property 'status' of undefined"} back.

Segment requests /segments?id=UkWAa3fgmF0Xqv9o&from=...&to.. are visible and Hastic server returns proper data.

Server error logs:


TypeError: Cannot read property 'status' of null
    at /var/www/server/dist/server.js:125:23893
    at Generator.next (<anonymous>)
    at o (/var/www/server/dist/server.js:125:23067)
    at <anonymous>
TypeError: Cannot read property 'status' of null
    at /var/www/server/dist/server.js:125:23893
    at Generator.next (<anonymous>)
    at o (/var/www/server/dist/server.js:125:23067)
    at <anonymous>```
rozetko commented 6 years ago

Hey, @deniszh I'll try to reproduce it now and let you know when it would be fixed

rozetko commented 6 years ago

@deniszh, did you create new dashboard and analytic unit after panel update? Or added segments to the old one?

deniszh commented 6 years ago

I created everything from scratch. Just reproduced it once more. screen shot 2018-09-28 at 14 04 29

rozetko commented 6 years ago

Hey, @deniszh! We've managed to reproduce this bug It's connected to Docker Trying to fix it now

amper43 commented 6 years ago

Hey, @deniszh! Now you can run hastic as described in our wiki (https://github.com/hastic/hastic-server/wiki/Docker)

jonyrock commented 6 years ago

@amper43 is it fixed? Is there a log of work?

deniszh commented 6 years ago

Hm, I'm still getting this error on 0.2.3-alpha release or latest master btw. I'm using latest panel code too.

jonyrock commented 5 years ago

@deniszh please let us know if you experience this issue in 0.3.1-beta