Open Compro-Prasad opened 5 years ago
I think I got something:
#f(compiled-function (&rest rest) #<bytecode 0x2fa7e8d>)(:data "" :symbol-status error :error-thrown (error . "exited abnormally with code 2\n") :response #s(request-response :status-code nil :history nil :data "" :error-thrown (error . "exited abnormally with code 2\n") :symbol-status error :url "http://localhost:9200/" :done-p nil :settings (:type "GET" :parser buffer-string :headers (("Content-Type" . "application/json; charset=UTF-8")) :data "" :timeout 600 :complete #f(compiled-function (&rest rest) #<bytecode 0x2fa7e8d>) :error #f(compiled-function (&rest args2) #<bytecode 0x2fa7ecd>) :url "http://localhost:9200/" :response #8 :encoding utf-8) :-buffer #<killed buffer> :-raw-header "curl: option --compressed: the installed libcurl version doesn't support this\ncurl: try 'curl --help' for more information\n" :-timer nil :-backend curl :-tempfiles ("c:/Users/name/AppData/Local/Temp/1/emacs-requestCRjhuj")))
Here curl version is lower IMO: curl: option --compressed: the installed libcurl version doesn't support this\ncurl: try 'curl --help' for more information\n
Elfeed also has a similar issue and is fixed by https://github.com/skeeto/elfeed/commit/40d3463ca2c4380d2d9aaf79b0ad8583f464d81b
Interesting, I think this may have to do with the http client that es-mode uses.
Can you share what version of Elasticsearch you're using?
7.3.1
Its a fresh install of elasticsearch on Windows 10. I installed es-mode and got the above error. It is working when I use curl or the browser. Don't know what else should I install.
Also, I don't know how to write .es files. I have created a test.es with the following contents:
It also doesn't work with: