Setting Timeout in v5 #2726
Replies: 2 comments 1 reply
-
Thanks for raising this @thomasmcneill Any chance you can share how you initializing your client? I believe with this constructor, you should still be able to pass your own client as well as an authprovider. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response, I have tried the following and many variations of it. With and without the handlers. When I do this method the service fails with "One or more errors occurred. (Too many retries performed. More than 3 retries encountered while sending the request. (HTTP request failed with status code: ServiceUnavailable.) (HTTP request failed with status code: ServiceUnavailable.) (HTTP request failed..." var clientSecretCredential = new ClientSecretCredential(tenantId, clientId, clientSecret, options); |
Beta Was this translation helpful? Give feedback.
-
I'm trying to find documentation on setting the timeout value with version 5. Previous versions show being able to access the httpClient directly. I've tried passing my own httpClient but then that breaks my client auth. Can someone point me to some good articles on this subject with the latest version?
My issue pertains to getting emails and expanding attachments. I can get get most email attachments without issue but occasionally one breaks it and I get an exception for cancellation after the timeout.
Beta Was this translation helpful? Give feedback.
All reactions