Marvel: Error 400 Bad Request: Cannot assign to read only property 'type' of green

monitoring

(karthikeyan veerapandian) #1

Has anyone facing this issue ?
It happens as soon as I hit http://localhost:5601/app/marvel.

Here are details of our cluster.
ES - 2.3.2
Marvel agent - 2.3.2
Kibana - 4.5
Marvel - 2.3.2

Marvel is pointing to separate one node monitoring cluster.

Found this in the log:
{"type":"response","@timestamp":"2016-10-10T18:58:29+00:00","tags":[],"pid":15962,"method":"post","statusCode":400,"req":{"url":"/api/marvel/v1/clusters/3ut_McNuTI2om20lth9Cuw","method":"post","headers":{"host":":5601","connection":"keep-alive","content-length":"200","accept":"application/json, text/plain, /","origin":"http://:5601","kbn-version":"4.5.0","user-agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36","content-type":"application/json;charset=UTF-8","referer":"http://:5601/app/marvel","accept-encoding":"gzip, deflate","accept-language":"en-US,en;q=0.8,ta;q=0.6"},"remoteAddress":"","userAgent":"","referer":"http://:5601/app/marvel"},"res":{"statusCode":400,"responseTime":224,"contentLength":9},"message":"POST /api/marvel/v1/clusters/3ut_McNuTI2om20lth9Cuw 400 224ms - 9.0B"}


(Chris Earle) #2

Hi,

I have not seen this issue before. However, from your loggered message, I did notice that the Kibana host seems to be set improperly?

"origin":"http://:5601"

I'm not so sure that that's the cause, but it's probably not helping. Any chance that you could show your Kibana configuration?

Thanks,
Chris


(karthikeyan veerapandian) #3

I am only setting this
elasticsearch.url: http://localhost:9290


(Chris Earle) #4

In your Kibana configuration (kibana.yml), can you change this just to see what happens?

server.host: 127.0.0.1

Then try again?


(karthikeyan veerapandian) #5

The UI is not showing up after this change. Also i have multiple clusters working fine with the similar configuration in kibana. This is happening only on one cluster


(karthikeyan veerapandian) #6

i just realized the ip's are blanked out in the post. But the log shows actual ip of kibana server.


(system) #7