Skip to content
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

Cannot create either producer or consumer client with azure_identity DefaultCredential #30

Closed
minghuaw opened this issue Jan 8, 2024 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@minghuaw
Copy link
Owner

minghuaw commented Jan 8, 2024

It was observed that creating new producer or consumer client using azure_identity::DefaultCredential would fail with the following error, but connecting using the connection string still works fine.

Error: Error { context: Custom(Custom { kind: Other, error: Status(StatusError { code: StatusCode(500), description: Some("The service was unable to process the request; please retry the operation. For more information on exception types and proper exception handling, please refer to http://go.microsoft.com/fwlink/?LinkId=761101") }) }) }

The above error could result in an idling connection which could end up with another error

Error { condition: ConnectionError(ConnectionForced), description: Some("The connection was inactive for more than the allowed 60000 milliseconds and is closed by container 'LinkTracker'. TrackingId:, SystemTracker:gateway5, Timestamp:2024-01-08T15:05:08"), info: None }

While this problem was observed when upgrading the dependency azure_core to "0.19", I have experienced the same error with version "0.18" and the dotnet SDK on my local machine (mac) and an Azure VM. The dotnet SDK seems just hang forever and the message is never sent to the Event Hub.

@minghuaw
Copy link
Owner Author

minghuaw commented Jan 8, 2024

This could be a problem with my Azure account, which I need to investigate further.

@minghuaw minghuaw self-assigned this Jan 8, 2024
@minghuaw minghuaw added bug Something isn't working help wanted Extra attention is needed labels Jan 8, 2024
@minghuaw
Copy link
Owner Author

minghuaw commented Jan 9, 2024

This problem seems to be gone on my local machine after I signed in again on Azure CLI

@minghuaw
Copy link
Owner Author

minghuaw commented Jan 9, 2024

The problem seems to be gone on the testing Azure VM instance as well. This seems to be a service disruption rather than problem with the SDK.

@minghuaw minghuaw closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant