Copy fails with "No handler found for uri..."
bemeyert opened this issue · 5 comments
bemeyert commented
Hi all,
I want to copy and index from on node to another and it fails. Here the output:
[root@salttestvm70 Elasticsearch-Exporter]# time node exporter.js -th localhost -si logstash-2015.10.24 -sh other-host
Elasticsearch Exporter - Version 2.0.0
Caught exception in Main process: Error: There was an error trying to parse a json response from the server. Server response:
No handler found for uri [/logstash-2015.10.24/_mapping/image/x-icon] and method [PUT]
Error: There was an error trying to parse a json response from the server. Server response:
No handler found for uri [/logstash-2015.10.24/_mapping/image/x-icon] and method [PUT]
at Object.request.buffer_concat (/root/Elasticsearch-Exporter/drivers/elasticsearch.driver.js:192:19)
at IncomingMessage.<anonymous> (/root/Elasticsearch-Exporter/drivers/elasticsearch.driver.js:229:38)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickCallback (node.js:442:13)
Exit code 2: Uncaught Exception
Fetched Entries: 0 documents
Processed Entries: 0 documents
Source DB Size: 0 documents
Someone seems to stumble over a mapping containing a "/". BTW The used version is 1.1.2
bemeyert commented
The above mentioned version applies to Elasticsearch ;)
mallocator commented
Thanks for reporting the bug. I couldn't find anything in the Es docs regarding slashes in types. I assume urlencoding the type section will fix the issue. Have you had any experience with this?
bemeyert commented
@mallocator Cheers, I will give this a try.
bemeyert commented
mallocator commented
Thanks for filing them. I'll take a stab at fixing them as soon as I have time.