pnp / powershell

PnP PowerShell
https://pnp.github.io/powershell
MIT License
635 stars 329 forks source link

[BUG] Get-PnPFlow throws an error "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing." #3972

Closed Rokhanna1 closed 2 months ago

Rokhanna1 commented 2 months ago

Notice

Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:

  1. Are you using Invoke-PnPSiteTemplate or Get-PnPSiteTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.
  2. Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
  3. If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues

Reporting an Issue or Missing Feature

Please confirm what it is that your reporting

Expected behavior

Please describe what output you expect to see from the PnP PowerShell Cmdlets

Actual behavior

Please describe what you see instead. Please provide samples of output or screenshots.

Steps to reproduce behavior

Please include complete script or code samples in-line or linked from gists

What is the version of the Cmdlet module you are running?

(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)

Which operating system/environment are you running PnP PowerShell on?

Rokhanna1 commented 2 months ago

I keep getting below error regardless of the PNP flow commands I try. Please fix this asap.

Screenshot 2024-05-24 151043
markgort86 commented 2 months ago

This issue is reported before, and is fixed in the Nightly buil. I just tested the workaround that is also provided here: https://github.com/pnp/powershell/issues/3794.

The fix is not available in the Last Version, and I have no idea when the community is publishing a new version.

jackpoz commented 2 months ago

You can install nightly builds using this command

Install-Module -Name PnP.PowerShell -AllowPrerelease

It's the same visible at https://www.powershellgallery.com/packages/PnP.PowerShell/2.4.74-nightly after clicking the most recent version (2.4.74-nightly is the latest version at the time of writing this)

gautamdsheth commented 2 months ago

Closing this as the issue has been fixed with the latest nightly builds !

Rokhanna1 commented 2 months ago

Hello Gautam,

Thanks this worked fine.

Regards Rohit Khanna

BV_C2_Internal

From: Gautam Sheth @.> Sent: Wednesday, May 29, 2024 2:36 PM To: pnp/powershell @.> Cc: Rohit KHANNA @.>; Author @.> Subject: Re: [pnp/powershell] [BUG] Get-PnPFlow throws an error "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing." (Issue #3972)

Closing this as the issue has been fixed with the latest nightly builds ! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread. Message ID: pnp/powershell/issues/3972/2136916361@ github. com

Closing this as the issue has been fixed with the latest nightly builds !

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/pnp/powershell/issues/3972*issuecomment-2136916361__;Iw!!NslPjgbbnDqexg!KJcIFx5Sj6_19QvQKFOuGoLsrxRMeUnNoOouCbg66vMRcpYwo-f3z6x47_QthpL9PYlL6qIuzA7xY5yH6WMy2AS4joES2sIs$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BIWPF23LU4KV5WOKIDBN2OLZEWLADAVCNFSM6AAAAABIHHOPCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWHEYTMMZWGE__;!!NslPjgbbnDqexg!KJcIFx5Sj6_19QvQKFOuGoLsrxRMeUnNoOouCbg66vMRcpYwo-f3z6x47_QthpL9PYlL6qIuzA7xY5yH6WMy2AS4ju7ZZi-K$. You are receiving this because you authored the thread.Message ID: @.***>

This message contains confidential information. To know more, please click on the following link: https://disclaimer.bureauveritas.com

Haiqi-Wu commented 1 month ago

Can anyone tell me when this update will be released to a stable version please?

veronicageek commented 1 month ago

@Haiqi-Wu - We are working on it, and will release a major version very soon.