opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.79k stars 1.82k forks source link

[BUG] OptionalDataException #4124

Closed Simbafa closed 1 year ago

Simbafa commented 2 years ago

Describe the bug If there are 3 instances of OpenSearch, everything is Ok. If there is only 1 OpenSearch instance, OptionalDataException is thrown when posting data to its 9200 port.

Host/Environment (please complete the following information):

org.opensearch.transport.RemoteTransportException: [opensearch-master-0][10.233.147.174:9300][indices:data/write/bulk[s][p]]
Caused by: org.opensearch.OpenSearchException: java.io.OptionalDataException
    at org.opensearch.security.support.Base64Helper.deserializeObject(Base64Helper.java:182) ~[?:?]
    at org.opensearch.security.transport.SecurityRequestHandler.messageReceivedDecorate(SecurityRequestHandler.java:150) ~[?:?]
    at org.opensearch.security.ssl.transport.SecuritySSLRequestHandler.messageReceived(SecuritySSLRequestHandler.java:96) ~[?:?]
    at org.opensearch.security.OpenSearchSecurityPlugin$7$1.messageReceived(OpenSearchSecurityPlugin.java:658) ~[?:?]
    at org.opensearch.indexmanagement.rollup.interceptor.RollupInterceptor$interceptHandler$1.messageReceived(RollupInterceptor.kt:118) ~[?:?]
    at org.opensearch.performanceanalyzer.transport.PerformanceAnalyzerTransportRequestHandler.messageReceived(PerformanceAnalyzerTransportRequestHandler.java:43) ~[?:?]
    at org.opensearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:103) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.transport.TransportService.sendLocalRequest(TransportService.java:946) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.transport.TransportService$3.sendRequest(TransportService.java:152) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.transport.TransportService.sendRequestInternal(TransportService.java:884) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.security.transport.SecurityInterceptor.sendRequestDecorate(SecurityInterceptor.java:206) [opensearch-security-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.security.OpenSearchSecurityPlugin$7$2.sendRequest(OpenSearchSecurityPlugin.java:672) [opensearch-security-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.transport.TransportService.sendRequest(TransportService.java:771) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.transport.TransportService.sendRequest(TransportService.java:715) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction$ReroutePhase.performAction(TransportReplicationAction.java:1019) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction$ReroutePhase.performLocalAction(TransportReplicationAction.java:960) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction$ReroutePhase.doRun(TransportReplicationAction.java:941) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction.runReroutePhase(TransportReplicationAction.java:251) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction.doExecute(TransportReplicationAction.java:246) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction.doExecute(TransportReplicationAction.java:109) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:204) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.indexmanagement.rollup.actionfilter.FieldCapsFilter.apply(FieldCapsFilter.kt:118) [opensearch-index-management-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.performanceanalyzer.action.PerformanceAnalyzerActionFilter.apply(PerformanceAnalyzerActionFilter.java:78) [opensearch-performance-analyzer-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.security.filter.SecurityFilter.apply0(SecurityFilter.java:317) [opensearch-security-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.security.filter.SecurityFilter.apply(SecurityFilter.java:149) [opensearch-security-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction.execute(TransportAction.java:174) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction.execute(TransportAction.java:102) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportBulkAction$BulkOperation.doRun(TransportBulkAction.java:632) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportBulkAction.executeBulk(TransportBulkAction.java:774) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportBulkAction.doInternalExecute(TransportBulkAction.java:309) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:220) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:118) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:204) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.indexmanagement.rollup.actionfilter.FieldCapsFilter.apply(FieldCapsFilter.kt:118) [opensearch-index-management-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.performanceanalyzer.action.PerformanceAnalyzerActionFilter.apply(PerformanceAnalyzerActionFilter.java:78) [opensearch-performance-analyzer-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.security.filter.SecurityFilter.apply0(SecurityFilter.java:317) [opensearch-security-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.security.filter.SecurityFilter.apply(SecurityFilter.java:149) [opensearch-security-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction.execute(TransportAction.java:174) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportSingleItemBulkWriteAction.doExecute(TransportSingleItemBulkWriteAction.java:73) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportSingleItemBulkWriteAction.doExecute(TransportSingleItemBulkWriteAction.java:53) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:204) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.indexmanagement.rollup.actionfilter.FieldCapsFilter.apply(FieldCapsFilter.kt:118) [opensearch-index-management-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.performanceanalyzer.action.PerformanceAnalyzerActionFilter.apply(PerformanceAnalyzerActionFilter.java:78) [opensearch-performance-analyzer-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.security.filter.SecurityFilter.apply0(SecurityFilter.java:317) [opensearch-security-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.security.filter.SecurityFilter.apply(SecurityFilter.java:149) [opensearch-security-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction.execute(TransportAction.java:174) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction.execute(TransportAction.java:102) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.client.node.NodeClient.executeLocally(NodeClient.java:110) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.client.node.NodeClient.doExecute(NodeClient.java:97) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.client.support.AbstractClient.execute(AbstractClient.java:423) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.client.support.AbstractClient.index(AbstractClient.java:439) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.rest.action.document.RestIndexAction.lambda$prepareRequest$1(RestIndexAction.java:162) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:125) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.security.filter.SecurityRestFilter$1.handleRequest(SecurityRestFilter.java:127) [opensearch-security-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.rest.RestController.dispatchRequest(RestController.java:312) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.rest.RestController.tryAllHandlers(RestController.java:398) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.rest.RestController.dispatchRequest(RestController.java:241) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.security.ssl.http.netty.ValidatingDispatcher.dispatchRequest(ValidatingDispatcher.java:63) [opensearch-security-2.1.0.0.jar:2.1.0.0]
    at org.opensearch.http.AbstractHttpServerTransport.dispatchRequest(AbstractHttpServerTransport.java:366) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.http.AbstractHttpServerTransport.handleIncomingRequest(AbstractHttpServerTransport.java:445) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.http.AbstractHttpServerTransport.incomingRequest(AbstractHttpServerTransport.java:356) [opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:55) [transport-netty4-client-2.1.0.jar:2.1.0]
    at org.opensearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:41) [transport-netty4-client-2.1.0.jar:2.1.0]
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at org.opensearch.http.netty4.Netty4HttpPipeliningHandler.channelRead(Netty4HttpPipeliningHandler.java:71) [transport-netty4-client-2.1.0.jar:2.1.0]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [netty-codec-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [netty-codec-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [netty-codec-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [netty-handler-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [netty-codec-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1371) [netty-handler-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1234) [netty-handler-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1283) [netty-handler-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510) [netty-codec-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449) [netty-codec-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) [netty-codec-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:623) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:586) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) [netty-transport-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) [netty-common-4.1.73.Final.jar:4.1.73.Final]
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.73.Final.jar:4.1.73.Final]
    at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.io.OptionalDataException
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1767) ~[?:?]
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:514) ~[?:?]
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:472) ~[?:?]
    at java.util.HashSet.readObject(HashSet.java:345) ~[?:?]
    at jdk.internal.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) ~[?:?]
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
    at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1231) ~[?:?]
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2434) ~[?:?]
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2268) ~[?:?]
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1744) ~[?:?]
    at java.io.ObjectInputStream$FieldValues.<init>(ObjectInputStream.java:2617) ~[?:?]
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2468) ~[?:?]
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2268) ~[?:?]
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1744) ~[?:?]
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:514) ~[?:?]
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:472) ~[?:?]
    at org.opensearch.security.support.Base64Helper.deserializeObject(Base64Helper.java:180) ~[?:?]
    at org.opensearch.security.transport.SecurityRequestHandler.messageReceivedDecorate(SecurityRequestHandler.java:150) ~[?:?]
    at org.opensearch.security.ssl.transport.SecuritySSLRequestHandler.messageReceived(SecuritySSLRequestHandler.java:96) ~[?:?]
    at org.opensearch.security.OpenSearchSecurityPlugin$7$1.messageReceived(OpenSearchSecurityPlugin.java:658) ~[?:?]
    at org.opensearch.indexmanagement.rollup.interceptor.RollupInterceptor$interceptHandler$1.messageReceived(RollupInterceptor.kt:118) ~[?:?]
    at org.opensearch.performanceanalyzer.transport.PerformanceAnalyzerTransportRequestHandler.messageReceived(PerformanceAnalyzerTransportRequestHandler.java:43) ~[?:?]
    at org.opensearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:103) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.transport.TransportService.sendLocalRequest(TransportService.java:946) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.transport.TransportService$3.sendRequest(TransportService.java:152) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.transport.TransportService.sendRequestInternal(TransportService.java:884) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.security.transport.SecurityInterceptor.sendRequestDecorate(SecurityInterceptor.java:206) ~[?:?]
    at org.opensearch.security.OpenSearchSecurityPlugin$7$2.sendRequest(OpenSearchSecurityPlugin.java:672) ~[?:?]
    at org.opensearch.transport.TransportService.sendRequest(TransportService.java:771) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.transport.TransportService.sendRequest(TransportService.java:715) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction$ReroutePhase.performAction(TransportReplicationAction.java:1019) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction$ReroutePhase.performLocalAction(TransportReplicationAction.java:960) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction$ReroutePhase.doRun(TransportReplicationAction.java:941) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction.runReroutePhase(TransportReplicationAction.java:251) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction.doExecute(TransportReplicationAction.java:246) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.replication.TransportReplicationAction.doExecute(TransportReplicationAction.java:109) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:204) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.indexmanagement.rollup.actionfilter.FieldCapsFilter.apply(FieldCapsFilter.kt:118) ~[?:?]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.performanceanalyzer.action.PerformanceAnalyzerActionFilter.apply(PerformanceAnalyzerActionFilter.java:78) ~[?:?]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.security.filter.SecurityFilter.apply0(SecurityFilter.java:317) ~[?:?]
    at org.opensearch.security.filter.SecurityFilter.apply(SecurityFilter.java:149) ~[?:?]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction.execute(TransportAction.java:174) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction.execute(TransportAction.java:102) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportBulkAction$BulkOperation.doRun(TransportBulkAction.java:632) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportBulkAction.executeBulk(TransportBulkAction.java:774) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportBulkAction.doInternalExecute(TransportBulkAction.java:309) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:220) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:118) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:204) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.indexmanagement.rollup.actionfilter.FieldCapsFilter.apply(FieldCapsFilter.kt:118) ~[?:?]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.performanceanalyzer.action.PerformanceAnalyzerActionFilter.apply(PerformanceAnalyzerActionFilter.java:78) ~[?:?]
    at org.opensearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:202) ~[opensearch-2.1.0.jar:2.1.0]
    at org.opensearch.security.filter.SecurityFilter.apply0(SecurityFilter.java:317) ~[?:?]
    at org.opensearch.security.filter.SecurityFilter.apply(SecurityFilter.java:149) ~[?:?]
adnapibar commented 1 year ago

Duplicate of https://github.com/opensearch-project/security/issues/1961 Fixed in OpenSearch 2.2.0 in https://github.com/opensearch-project/security/pull/1970