Closed kushal-r closed 2 weeks ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jpalvarezl @ralph-msft @trrwilson.
Possible duplicate of #46109
Closing as duplicate of #46109, unless we have evidence to the contrary.
Library name and version
Az Open AI sdk 2.0.0-beta.5
Describe the bug
When using Az Open AI sdk 2.0.0-beta.5 for connecting with text embedding model using default azure credentials, few requests are getting dropped with status 401 Unauthorized. This is not happening for all requests, one in every ~110ms is having this issue.
Expected behavior
These should all result in 200 responses.
Actual behavior
Intermittent 401 responses
Reproduction Steps
Service fabric applications and using dependency injection
Invoking the embeddings like this:
var response = await _embeddingClient.GenerateEmbeddingsAsync(texts, options);
sdk : Dotnet core: 6.0 Azure.AI.OpenAI Version="2.0.0-beta.5"Environment
Dotnet core 6.0