<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Hi Team,</div>
<div><br>
</div>
<div>Do we have support for elastic search 5&#43; versions ? I am using apiman 1.2.9.</div>
<div><br>
</div>
<div>I have upgraded the elastic search version 5.6.3 and started getting following error.</div>
<div><br>
</div>
<div>
<div>ERROR [stderr] (ESRegistryCacheInvalidator) Exception in thread &#8220;ESRegistryCacheInvalidator&#8221; java.lang.RuntimeException: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed
 JSON at line 1 column 5 path $</div>
<div>17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.apiman.gateway.engine.es.AbstractClientFactory.initializeClient(AbstractClientFactory.java:68)</div>
<div>17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.apiman.gateway.engine.es.DefaultESClientFactory.createJestClient(DefaultESClientFactory.java:121)</div>
<div>17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.apiman.gateway.engine.es.DefaultESClientFactory.createClient(DefaultESClientFactory.java:68)</div>
<div>17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.apiman.gateway.engine.es.AbstractESComponent.createClient(AbstractESComponent.java:61)</div>
<div>17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.apiman.gateway.engine.es.AbstractESComponent.getClient(AbstractESComponent.java:51)</div>
<div>17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.apiman.gateway.engine.es.PollCachingESRegistry.checkCacheVersion(PollCachingESRegistry.java:204)</div>
<div>17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.apiman.gateway.engine.es.PollCachingESRegistry$6.run(PollCachingESRegistry.java:180)</div>
<div>17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at java.lang.Thread.run(Thread.java:745)</div>
<div>17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path $</div>
<div>17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at com.google.gson.JsonParser.parse(JsonParser.java:65)</div>
<div>17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at com.google.gson.JsonParser.parse(JsonParser.java:45)</div>
<div>17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.searchbox.action.AbstractAction.parseResponseBody(AbstractAction.java:96)</div>
<div>17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.searchbox.action.AbstractAction.createNewElasticSearchResult(AbstractAction.java:67)</div>
<div>17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.searchbox.action.GenericResultAbstractAction.createNewElasticSearchResult(GenericResultAbstractAction.java:20)</div>
<div>17:35:54,007 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.searchbox.client.http.JestHttpClient.deserializeResponse(JestHttpClient.java:146)</div>
<div>17:35:54,007 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:65)</div>
<div>17:35:54,008 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.apiman.gateway.engine.es.AbstractClientFactory.createIndex(AbstractClientFactory.java:80)</div>
<div>17:35:54,008 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at io.apiman.gateway.engine.es.AbstractClientFactory.initializeClient(AbstractClientFactory.java:65)</div>
<div>17:35:54,008 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; ... 7 more</div>
<div>17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path $</div>
<div>17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1573)</div>
<div>17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1423)</div>
<div>17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:546)</div>
<div>17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at com.google.gson.stream.JsonReader.peek(JsonReader.java:429)</div>
<div>17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; at com.google.gson.JsonParser.parse(JsonParser.java:60)</div>
<div>17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) &nbsp; &nbsp; ... 15 more</div>
</div>
<div><br>
</div>
<div>Thanks and Regards,</div>
<div>Ram Tanna</div>
</div>
<P><br><span style="text-decoration: none">"<strong><span style="text-decoration: underline">Confidentiality Warning</span></strong></span>: This message and any attachments are intended only for the use of the intended recipient(s), are confidential and may be privileged. If you are not the intended recipient, you are hereby notified that any review, re-transmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this message and any attachments from your system.</P>
<P><strong><span style="text-decoration: underline">Virus Warning:</span></strong> Although the company has taken reasonable precautions to ensure no viruses are present in this email. The company cannot accept responsibility for any loss or damage arising from the use of this email or attachment."</P></body>
</html>