-
Notifications
You must be signed in to change notification settings - Fork 196
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
Local agent trying to connect to Azure metadata (regression bug?) #3345
Comments
We fixed it Azure/azure-sdk-for-java#37031 here.
We'll include this fix in 3.4.18 GA release this week.
Thanks,
Helen
…________________________________
From: Evandro Pomatti ***@***.***>
Sent: Monday, October 16, 2023 7:13 PM
To: microsoft/ApplicationInsights-Java ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [microsoft/ApplicationInsights-Java] Local agent trying to connect to Azure metadata (regression bug?) (Issue #3345)
Behavior
When running the agent locally (outside of Azure), I'm getting this error connection timed out: /169.254.169.254:80.
I can't see data being ingested into APPI, nothing shows on Azure.
2023-10-16 22:53:31.839-03:00 ERROR c.azure.core.http.policy.RetryPolicy - {"az.sdk.message":"Retry attempts have been exhausted.","exception":"connection timed out: /169.254.169.254:80","tryCount":3}
It looks like a regression of #1775<#1775>.
To Reproduce
Run the agent locally. I'm setting variables like this:
export APPLICATIONINSIGHTS_CONNECTION_STRING="<REDACTED>"
export MAVEN_OPTS="-javaagent:applicationinsights-agent-3.4.17.jar"
And running the application:
./mvnw spring-boot:run
System information
Please provide the following information:
* SDK Version: 3.4.17
* OS type and version: WSL2 Ubuntu 22
* Application Server type and version (if applicable): Spring Boot 3.1.4
* Additional relevant libraries (with version, if applicable): Java 21
Logs
2023-10-16 22:51:47.470-03:00 INFO c.m.applicationinsights.agent - Application Insights Java Agent 3.4.17 started successfully (PID 10407, JVM running for 2.195 s)
2023-10-16 22:51:47.475-03:00 INFO c.m.applicationinsights.agent - Java version: 21, vendor: Eclipse Adoptium, home: /home/<redacted>/.sdkman/candidates/java/21-tem
2023-10-16 22:53:31.839-03:00 ERROR c.azure.core.http.policy.RetryPolicy - {"az.sdk.message":"Retry attempts have been exhausted.","exception":"connection timed out: /169.254.169.254:80","tryCount":3}
—
Reply to this email directly, view it on GitHub<#3345> or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANL7XZQBLRD2V4Y64PWLI4LX7XSTFBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTLDTOVRGUZLDORPXI6LQMWSUS43TOVS2M5DPOBUWG44SQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKBSG42DMMBUGM3IFJDUPFYGLJLJONZXKZNFOZQWY5LFVIYTSNBWGQYDENRWGGTXI4TJM5TWK4VGMNZGKYLUMU>.
You are receiving this email because you are subscribed to this thread.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Looked for it but didn't find. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Behavior
When running the agent locally (outside of Azure), I'm getting this error
connection timed out: /169.254.169.254:80
.I can't see data being ingested into APPI, nothing shows on Azure.
It looks like a regression of #1775.
To Reproduce
Run the agent locally. I'm setting variables like this:
And running the application:
System information
Please provide the following information:
Logs
The text was updated successfully, but these errors were encountered: