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

The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing #212

Open
renewtx opened this issue May 10, 2024 · 0 comments

Comments

@renewtx
Copy link

renewtx commented May 10, 2024

Wondering if anyone can help me on this ... I am working on a PowerShell script that queries the M365 PowerAutomate flow environment to find instances of flows that have failed. A while back when I first started with this I encountered this error:
image

I also tried the same code running in PowerShell on a workstation, and there I got this error:
image

After lots of googling I was able to find a post on GitHub that referenced a bug discovered late last year and which was fixed in the PnP.PowerShell v2.4.13-nightly release. At the time I was able to download that release and test it in both the Azure runbook and on the workstation, and it fix the issue.

However, I am now trying to deploy this code on a server where I had to update PowerShell (I installed 2.4.60-nightly which appears to be the latest (I tried pulling v2.4.13 but that does not appear to be available). When I now run my code I am back to getting the error

The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.

Anyone know how to resolve this? Is the original bug back in the current version? Thoughts? Ideas?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant