-
Notifications
You must be signed in to change notification settings - Fork 2k
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
NoSuchElementException generated by azure-cosmos-4.39.0 and applicationinsights-agent 3.47.0 jar #33239
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kushagraThapar, @TheovanKraay |
@trask could you take a look? |
hi @asaxena3079! this looks like the same issue fixed at open-telemetry/opentelemetry-java-instrumentation#6469, which was included in Application Insights Java 3.4.0 (and later). I just double-checked, and I'm not able to repro that error with Application Insights Java 3.4.7 using the cosmos sample application: https://github.com/Azure-Samples/azure-cosmos-java-getting-started.git can you double-check that you are getting this same error with Application Insights Java 3.4.7 and Cosmos SDK 4.39.0? and if you are, can you create a repro that we can use to troubleshoot the issue? |
Below is the dependency tree for my application, if it helps. Meanwhile I will create a repo for troubleshooting [INFO] |
hi @asaxena3079! just checking if you've had any luck creating a repro that we can use to troubleshoot the issue? thx |
Closing this issue due to it's age. If there is still a problem please re-open or create a new issue. |
Describe the bug
GIVEN following context
SpringBoot : 2.6.3
SpringCloudAzure: 4.5.0 => package com.azure:azure-cosmos:4.39.0
Java ApplicationInsights agent: 3.4.7
WHEN cosmos try to monitor requests
THEN
java.util.NoSuchElementException: io.opentelemetry.javaagent.instrumentation.netty.common.client.NettySslInstrumentationHandler
codb-dva2-es-esgm2sql001-eastus2.documents.azure.com) health check request failed due to:
2023-01-31T06:36:41.648806273Z java.util.NoSuchElementException: io.opentelemetry.javaagent.instrumentation.netty.common.client.NettySslInstrumentationHandler
Notes :
Tried with couple of versions of applicationinsights-agent jar, 3.47.0 and 3.2.3 and getting the same exception.
Exception or Stack Trace
ERROR [cosmos-rntbd-epoll-3-1] com.azure.cosmos.implementation.directconnectivity.rntbd.RntbdRequestManager - Report this azure-cosmos issue to ensure it is addressed:
2023-01-31T06:36:54.697306685Z [ChannelHandlerContext(RntbdRequestManager#0, [id: 0x71cd3f25, L:/169.254.254.3:35456 - R:codb-dva2-es-esgm2sql001-eastus2.documents.azure.com/*******])]
2023-01-31T06:36:54.697314185Z [com.azure.cosmos.implementation.directconnectivity.rntbd.RntbdRequestManager.reportIssue(RntbdRequestManager.java:960)]
2023-01-31T06:36:54.697319285Z [SslHandshakeCompletionEvent(SUCCESS): : java.util.NoSuchElementException: io.opentelemetry.javaagent.instrumentation.netty.common.client.NettySslInstrumentationHandler
To Reproduce
The text was updated successfully, but these errors were encountered: