Using Elasticsearch with Julia

Hi everyone,

I am trying to use elasticsearch with Julia ,when I try to connect to my index I get this error :

PyError ($(Expr(:escape, :(ccall(#= /home/J1028071/.julia/packages/PyCall/zqDXB/src/pyfncall.jl:43 =# @pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, pyargsptr, kw))))) <class 'elasticsearch.exceptions.SerializationError'> SerializationError('Unknown mimetype, unable to deserialize: text/html')

Here is my code :

using PyCall
es = pyimport(“elasticsearch”)
js = pyimport(“json”)
client = es.Elasticsearch(“http://kibana-cig:5601”)
elastic_info = es.Elasticsearch.info(client)

If anyone has ever had this error or knows how to fix it…

Thank you for your help !