Closed
Description
Expected behavior
Connection polling cycle is retried successfully after it fails once
Actual behavior
ApplicationInsights fail permanently with null pointer exception after connection timeouts once
System information
Please provide the following information:
- SDK Version: ApplicationInsights 3.2.0
- OS type and version: Docker container openjdk:11.0.13-jre
- Application Server type and version (if applicable): Spring Boot 2.5.6
- Using spring-boot? Yes
Logs
After Insights are running successfully for random time, this occurs randomly:
and from then every polling cycle indefinitely:
Config
Pretty much default:
ENTRYPOINT ["java","-javaagent:/app/applicationinsights-agent-3.2.0.jar","-jar",".............
{
"connectionString": "InstrumentationKey=CENSORED;IngestionEndpoint=https://eastus2-0.in.applicationinsights.azure.com/",
"role": {
"name": "CENSORED"
},
"sampling": {
"percentage": 50
}
}