Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.fasterxml.jackson.core.JsonParseException: Unrecognized character escape '.' (code 46) #75531

Closed
TomashKhamlai opened this issue Jul 20, 2021 · 4 comments
Labels
>bug :Core/Infra/REST API REST infrastructure and utilities :Search/Search Search-related issues that do not fall into other categories Team:Core/Infra Meta label for core/infra team Team:Search Meta label for search team

Comments

@TomashKhamlai
Copy link

TomashKhamlai commented Jul 20, 2021

Elasticsearch version (bin/elasticsearch --version):
Version: 6.8.17, Build: default/deb/206f6a2/2021-07-01T18:51:20.391869Z, JVM: 1.8.0_242

Plugins installed: []
analysis-icu analysis-phonetic

JVM version (java -version):
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing)

OS version (uname -a if on a Unix-like system):
Linux b2cb87e8e202 5.4.0-1051-aws #53~18.04.1-Ubuntu SMP Fri Jun 18 14:53:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Description of the problem including expected versus actual behavior:
On Magento 2 (where ElasticSearch is default option) I have an issue that is quite difficult to identify. And I would like to create the issue on Magento2 github project, but unfortunately I do not have valid steps to reproduce. But so far I have steps to reproduce here.

Let me show you my blurry understanding of the problem:
There is a string "Pris per fp. ." (not only this, there are others that share the same feature). It has a dot and a space that is preceding a dot and even one more dot before. My guess is that somewhere between PHP and MySQL and Elastic there is a misunderstanding about one of these suspicious sequences:

  • " ." (space + dot)
  • ". " (dot + space)

The shop is selling different details like screw drivers or for example screen replacements. So even this 2.5x3.2. is potential issue. I am still in process of bug investigation. Now let't go back to Elastic related stuff.

Steps to reproduce:

Please include a minimal but complete recreation of the problem,
including (e.g.) index creation, mappings, settings, query etc. The easier
you make for us to reproduce it, the more likely that somebody will take the
time to look at it.

  1. Start an elasticsearch instance
docker run \
    --env 'node.name=mage-single-node' \
    --env 'cluster.name=mage-single-node' \
    --env 'discovery.type=single-node' \
    -d --name=mage-single-node -p9200:9200 -it docker.elastic.co/elasticsearch/elasticsearch:6.8.17;
  1. Make request
curl -XGET "http://localhost:9200/_search?" \
-H"Content-Type: application/json" -d'
{
  "query": {
    "query_string": {
      "query": "\."
    }
  }
}'

Expected result:

{
  "query": {
    "query_string": {
      "query": "."
    }
  }
}'
{
  "took" : 0,
  "timed_out" : false,
  "_shards" : {
    "total" : 0,
    "successful" : 0,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : 0,
    "max_score" : 0.0,
    "hits" : [ ]
  }
}

Actual result:

{
  "query": {
    "query_string": {
      "query": "\."
    }
  }
}'
{
  "error" : {
    "root_cause" : [
      {
        "type" : "json_parse_exception",
        "reason" : "Unrecognized character escape '.' (code 46)\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@581be1c5; line: 5, column: 19]"
      }
    ],
    "type" : "json_parse_exception",
    "reason" : "Unrecognized character escape '.' (code 46)\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@581be1c5; line: 5, column: 19]"
  },
  "status" : 500
}

Provide logs (if relevant):
On production I see these logs

{"log":"com.fasterxml.jackson.core.JsonParseException: Unrecognized character escape '.' (code 46)\n","stream":"stdout","time":"2021-06-24T07:28:42.692853759Z"}
{"log":" at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@40879bf7; line: 1, column: 118]\n","stream":"stdout","time":"2021-06-24T07:28:42.692859697Z"}
{"log":"\u0009at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1702) ~[jackson-core-2.8.11.jar:2.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692864607Z"}
{"log":"\u0009at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:558) ~[jackson-core-2.8.11.jar:2.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692869949Z"}
{"log":"\u0009at com.fasterxml.jackson.core.base.ParserMinimalBase._handleUnrecognizedCharacterEscape(ParserMinimalBase.java:535) ~[jackson-core-2.8.11.jar:2.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692875101Z"}
{"log":"\u0009at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._decodeEscaped(UTF8StreamJsonParser.java:3247) ~[jackson-core-2.8.11.jar:2.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692880248Z"}
{"log":"\u0009at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishString2(UTF8StreamJsonParser.java:2514) ~[jackson-core-2.8.11.jar:2.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692885731Z"}
{"log":"\u0009at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishAndReturnString(UTF8StreamJsonParser.java:2469) ~[jackson-core-2.8.11.jar:2.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692890996Z"}
{"log":"\u0009at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.getText(UTF8StreamJsonParser.java:315) ~[jackson-core-2.8.11.jar:2.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692896402Z"}
{"log":"\u0009at org.elasticsearch.common.xcontent.json.JsonXContentParser.text(JsonXContentParser.java:83) ~[elasticsearch-x-content-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.69290163Z"}
{"log":"\u0009at org.elasticsearch.index.query.QueryStringQueryBuilder.fromXContent(QueryStringQueryBuilder.java:810) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692907211Z"}
{"log":"\u0009at org.elasticsearch.search.SearchModule.lambda$registerQuery$12(SearchModule.java:810) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692912901Z"}
{"log":"\u0009at org.elasticsearch.common.xcontent.NamedXContentRegistry.parseNamedObject(NamedXContentRegistry.java:141) ~[elasticsearch-x-content-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692918268Z"}
{"log":"\u0009at org.elasticsearch.common.xcontent.support.AbstractXContentParser.namedObject(AbstractXContentParser.java:443) ~[elasticsearch-x-content-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692939866Z"}
{"log":"\u0009at org.elasticsearch.index.query.AbstractQueryBuilder.parseInnerQueryBuilder(AbstractQueryBuilder.java:336) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692945404Z"}
{"log":"\u0009at org.elasticsearch.index.query.BoolQueryBuilder.fromXContent(BoolQueryBuilder.java:326) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692950174Z"}
{"log":"\u0009at org.elasticsearch.search.SearchModule.lambda$registerQuery$12(SearchModule.java:810) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692954881Z"}
{"log":"\u0009at org.elasticsearch.common.xcontent.NamedXContentRegistry.parseNamedObject(NamedXContentRegistry.java:141) ~[elasticsearch-x-content-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692959776Z"}
{"log":"\u0009at org.elasticsearch.common.xcontent.support.AbstractXContentParser.namedObject(AbstractXContentParser.java:443) ~[elasticsearch-x-content-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692964564Z"}
{"log":"\u0009at org.elasticsearch.index.query.AbstractQueryBuilder.parseInnerQueryBuilder(AbstractQueryBuilder.java:336) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.69296911Z"}
{"log":"\u0009at org.elasticsearch.search.builder.SearchSourceBuilder.parseXContent(SearchSourceBuilder.java:1080) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692973784Z"}
{"log":"\u0009at org.elasticsearch.rest.action.search.RestSearchAction.parseSearchRequest(RestSearchAction.java:119) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692978536Z"}
{"log":"\u0009at org.elasticsearch.rest.action.search.RestSearchAction.lambda$prepareRequest$1(RestSearchAction.java:98) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692983127Z"}
{"log":"\u0009at org.elasticsearch.rest.RestRequest.withContentOrSourceParamParserOrNull(RestRequest.java:423) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692987811Z"}
{"log":"\u0009at org.elasticsearch.rest.action.search.RestSearchAction.prepareRequest(RestSearchAction.java:97) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692992522Z"}
{"log":"\u0009at org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:91) ~[elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.692997125Z"}
{"log":"\u0009at org.elasticsearch.xpack.security.rest.SecurityRestFilter.handleRequest(SecurityRestFilter.java:87) ~[?:?]\n","stream":"stdout","time":"2021-06-24T07:28:42.693001629Z"}
{"log":"\u0009at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:240) [elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.693006148Z"}
{"log":"\u0009at org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:336) [elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.693011181Z"}
{"log":"\u0009at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:174) [elasticsearch-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.693016097Z"}
{"log":"\u0009at org.elasticsearch.http.netty4.Netty4HttpServerTransport.dispatchRequest(Netty4HttpServerTransport.java:551) [transport-netty4-client-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.693020906Z"}
{"log":"\u0009at org.elasticsearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:137) [transport-netty4-client-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.693025789Z"}
{"log":"\u0009at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693030344Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693039783Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.69304487Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693049968Z"}
{"log":"\u0009at org.elasticsearch.http.netty4.pipelining.HttpPipeliningHandler.channelRead(HttpPipeliningHandler.java:68) [transport-netty4-client-6.8.11.jar:6.8.11]\n","stream":"stdout","time":"2021-06-24T07:28:42.693055971Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693060632Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693065349Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693070127Z"}
{"log":"\u0009at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-codec-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693074762Z"}
{"log":"\u0009at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [netty-codec-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693078939Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693084237Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693088671Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693093456Z"}
{"log":"\u0009at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-codec-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693097931Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693102309Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693106934Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693111605Z"}
{"log":"\u0009at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-codec-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693115851Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693120343Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693129208Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693133977Z"}
{"log":"\u0009at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) [netty-codec-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.69313861Z"}
{"log":"\u0009at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) [netty-codec-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693143216Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693148001Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693153254Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693157855Z"}
{"log":"\u0009at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [netty-handler-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693162199Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693176748Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693181482Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.69318625Z"}
{"log":"\u0009at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693191057Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693195531Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693200491Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693205387Z"}
{"log":"\u0009at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693210241Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693214686Z"}
{"log":"\u0009at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693219365Z"}
{"log":"\u0009at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693229486Z"}
{"log":"\u0009at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693260819Z"}
{"log":"\u0009at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:656) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693267047Z"}
{"log":"\u0009at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:556) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693271418Z"}
{"log":"\u0009at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:510) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693276035Z"}
{"log":"\u0009at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:470) [netty-transport-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693280462Z"}
{"log":"\u0009at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:909) [netty-common-4.1.32.Final.jar:4.1.32.Final]\n","stream":"stdout","time":"2021-06-24T07:28:42.693285075Z"}
{"log":"\u0009at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]\n","stream":"stdout","time":"2021-06-24T07:28:42.693289793Z"}
@TomashKhamlai TomashKhamlai added >bug needs:triage Requires assignment of a team area label labels Jul 20, 2021
@TomashKhamlai
Copy link
Author

Replacing Jackson to alternative / configuring mapper or other Java objects / upgrading to newer versions of ElasticSearch are not extreme solutions for me if there is example or DevDocs. I also created a question about this issue on StackOverflow

@pugnascotia pugnascotia added the :Search/Search Search-related issues that do not fall into other categories label Jul 21, 2021
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Jul 21, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@pugnascotia pugnascotia added the :Core/Infra/REST API REST infrastructure and utilities label Jul 21, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Jul 21, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@pugnascotia pugnascotia removed the needs:triage Requires assignment of a team area label label Jul 21, 2021
@stu-elastic
Copy link
Contributor

It looks like escaping the backslash to make the request valid JSON will work, that said, this does not appear to be an elasticsearch bug and is a question more appropriate for the forum at https://discuss.elastic.co

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/REST API REST infrastructure and utilities :Search/Search Search-related issues that do not fall into other categories Team:Core/Infra Meta label for core/infra team Team:Search Meta label for search team
Projects
None yet
Development

No branches or pull requests

4 participants