I am using opensearch-rest-high-level-client 1.3.1 from Android application to access aws opensearch deployment. Basically it works. But I am seeing lot of retries happens. Sometimes it goes for retrying 10 times and fails. Sometimes it is successful.
From the standalone java, using the same code, I am not seeing this issue.
“Unable to decrypt incoming data due to unexpected end of stream”
Anyone is using from android faced this issue? Please let me know of any solution for this one.
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: 12:00:06.637 [IntentService[ServiceIntent]] ERROR - openearch read: java.io.IOException: Unable to decrypt incoming data due to unexpected end of stream
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at org.opensearch.client.RestClient.extractAndWrapCause(RestClient.java:912)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at org.opensearch.client.RestClient.performRequest(RestClient.java:301)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at org.opensearch.client.RestClient.performRequest(RestClient.java:289)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at org.opensearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1762)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at org.opensearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1728)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at org.opensearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1696)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at org.opensearch.client.RestHighLevelClient.searchTemplate(RestHighLevelClient.java:1306)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at ai.onenav.opensearch.OpenSearchAccess.searchTemplateWithRetry(OpenSearchAccess.java:404)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at ai.onenav.opensearch.OpenSearchAccess.getLatestMessageByTimeStampAndEpoch(OpenSearchAccess.java:598)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at ai.onenav.opensearch.AtomicData.getSearchHits(AtomicData.java:117)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at ai.onenav.opensearch.AtomicData.queryForData(AtomicData.java:156)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at ai.onenav.opensearch.BdsAtomicData.getSateliteData(BdsAtomicData.java:61)
2022-09-13 12:00:06.681 9068-9334/io.onenav.ceshostapp I/System.out: at ai.onenav.rtcm.RtcmMsgSet.loadRtcmMsgCacheFromDb(RtcmMsgSet.java:753)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at ai.onenav.am.AMManager.loadRtcmMsgCacheFromDb(AMManager.java:441)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at ai.onenav.pm.WeightedLeastSquares.updateAssistReplayMode(WeightedLeastSquares.java:3844)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at ai.onenav.pm.WeightedLeastSquares.calculateUserPositionVelocityLeastSquare(WeightedLeastSquares.java:283)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at ai.onenav.pm.PMController.computePositionVelocitySolutionsFromRawMeas(PMController.java:644)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at ai.onenav.pm.PE_Fix.handleStrobeToFix(PE_Fix.java:1696)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at io.onenav.ceshostapp.Rinse.processMeasForNewFixAndPrePos(Rinse.java:5253)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at io.onenav.ceshostapp.MainLoop.mainLoop(MainLoop.java:713)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at io.onenav.ceshostapp.ServiceIntent.onHandleIntent(ServiceIntent.java:345)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:78)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at android.os.Handler.dispatchMessage(Handler.java:107)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at android.os.Looper.loop(Looper.java:214)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at android.os.HandlerThread.run(HandlerThread.java:67)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: Caused by: javax.net.ssl.SSLException: Unable to decrypt incoming data due to unexpected end of stream
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at org.apache.http.nio.reactor.ssl.SSLIOSession.decryptData(SSLIOSession.java:497)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:526)
2022-09-13 12:00:06.682 9068-9334/io.onenav.ceshostapp I/System.out: at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:120)
2022-09-13 12:00:06.684 9068-9334/io.onenav.ceshostapp I/System.out: at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
2022-09-13 12:00:06.684 9068-9334/io.onenav.ceshostapp I/System.out: at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
2022-09-13 12:00:06.684 9068-9334/io.onenav.ceshostapp I/System.out: at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
2022-09-13 12:00:06.684 9068-9334/io.onenav.ceshostapp I/System.out: at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
2022-09-13 12:00:06.684 9068-9334/io.onenav.ceshostapp I/System.out: at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
2022-09-13 12:00:06.684 9068-9334/io.onenav.ceshostapp I/System.out: at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
2022-09-13 12:00:06.684 9068-9334/io.onenav.ceshostapp I/System.out: at java.lang.Thread.run(Thread.java:919)