Using lib azure-eventhubs-3.2.2 with MSI in a Java App Service. #19852
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Event Hubs
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Track 1
Milestone
Using azure-eventhubs-3.2.2 and customer is getting the below errors:
The call is trying to connect to this endpoint "http://169.254.169.254/metadata/instance?api-version=2020-09-01" and get connection refused.
Error during managedIdentityScenario. Exception: [Ljava.lang.StackTraceElement;@35fc6dc4
java.lang.RuntimeException: java.net.ConnectException: Connection refused (Connection refused)
The above setup works on a VM but not on a web app hosted on Azure App Service.
Issue is fixed when using azure-messaging-eventhubs 5.0.2.
Question is, we don't like to use the new library, is there a way to use azure-eventhubs-3.2.2 with MSI on an App Service?
The text was updated successfully, but these errors were encountered: