ERROR: Invalid configuration: endpoints.ps1 - after upgrade to 4.2.11

ERROR: Invalid configuration: endpoints.ps1 - after upgrade to 4.2.11

avatar

Hi all! After upgrading from 3.8.x to 4.2.11 we’re getting an error about HTTP versions. Can anyone help and tell what’s wrong and how to fix it?

Full error:

Status(StatusCode=“Internal”, Detail=“Error starting gRPC call. HttpRequestException: Requesting HTTP version 2.0 with version policy RequestVersionOrHigher while unable to establish HTTP/2 connection.”, DebugException=“System.Net.Http.HttpRequestException: Requesting HTTP version 2.0 with version policy RequestVersionOrHigher while unable to establish HTTP/2 connection.”)

Sometimes it even prevents the Endpoints page in GUI from loading.

Thank you!

Product: PowerShell Universal
Version: 4.2.11
as a service from MSI
WS2022


avatar

Recommended Answer

We have a fix for this in 4.2.13. We disabled the proxy configuration in the gRPC client to avoid it. You can download the latest nightly to get the fix. We should have it out officially sometime later this week.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

All Comments (3)

avatar

It seems that our proxy does not support HTTP/2. Is there a way to configure PSU or the underlying .NET to only use HTTP/1.1?
Thank you, L.

avatar

@Adam Driscoll, can you please advise? Many thanks.



c069d7d42a1d430f9b15019f20e75ede321bacb6

c069d7d42a1d430f9b15019f20e75ede321bacb6.png

avatar

We have a fix for this in 4.2.13. We disabled the proxy configuration in the gRPC client to avoid it. You can download the latest nightly to get the fix. We should have it out officially sometime later this week.

Adam Driscoll
PowerShell Expert and Developer at Devolutions