-
Notifications
You must be signed in to change notification settings - Fork 51
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
The request was cancelled due to the configured httpclient.timeout of 100 seconds elapsing #464
Comments
Hi @bipinshan, You will either need to use AuthType ClientSecret or ClientCertificate to connect to dataverse from a non-interactive service. |
Hi @MattB-msft , Thank you for replying to my query. I did use authprompt=never and passing password in connection String but I am still seeing the same error. |
I suspect your tenant is forcing multi factor authentication. Can you try with an application user ?
…________________________________
From: BIPIN ***@***.***>
Sent: Thursday, August 29, 2024 8:01:03 PM
To: microsoft/PowerPlatform-DataverseServiceClient ***@***.***>
Cc: Mention ***@***.***>; Comment ***@***.***>; Subscribed ***@***.***>
Subject: Re: [microsoft/PowerPlatform-DataverseServiceClient] The request was cancelled due to the configured httpclient.timeout of 100 seconds elapsing (Issue #464)
Hi @MattB-msft<https://github.com/MattB-msft> ,
Thank you for replying to my query.
I did use authprompt=never and passing password in connection String but I am still seeing the same error.
—
Reply to this email directly, view it on GitHub<#464 (comment)> or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACQUENESWQLK6XGUXDGPRF3ZT7N67BFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVEZDINJQGM3TAMZUQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRSGQ4TKMJXGIZDCNNHORZGSZ3HMVZKMY3SMVQXIZI>.
You are receiving this email because you were mentioned.
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>.
|
Hi @MattB-msft , I am in the process of provisioning an application user. I will try and let you the outcome. |
Hi @MattB-msft , Error Requesting token Any idea why it is failing? |
Sorry for the delay in responding. Alternatively you can set up a standalone project to create an authentication token for the remote service and use that to debug the issue. To do that, You would utilize the samples and doc's from the MSAL.net git hub to setup that sample. You can find an example of that here: https://learn.microsoft.com/entra/msal/dotnet/getting-started/instantiate-confidential-client-config-options |
Were having a similar error message but related to proxy.. Were using ServiceClient in a web app. The web app lives in a EC2. The company uses a proxy. What can we do? |
Dot NET Core 8.0
Windows
BackgroundService
C#
Microsft.PowerPlatform.Dataverse.Client Latest version
Connection String - Auth Type = OAuth
I am using sample App Id provided by Microsoft https://learn.microsoft.com/en-us/power-apps/developer/data-platform/xrm-tooling/use-connection-strings-xrm-tooling-connect#create-a-connection-string
Hosted on Private Cloud Foundry (PCF)
Failed to connect to Dataverse:
The request was cancelled due to the configured httpclient.timeout of 100 seconds elapsing
Error Requesting Access Token
Dependency Injection is not used in my sample code.
Please help us to troubleshoot and fix this issue.
I have tried using http://localhost for RedirectUril property but getting same error.
Note - code works fine when I execute from my machine on VS 2022
I tried passing ILogger to log detailed error but no help.
The text was updated successfully, but these errors were encountered: