Hi all,
I’ve downloaded the ZIP version of Universal Server and installed the VScode Extension. The server starts fine, but when I connect the extension to the server it says “Connected” but nothing is displayed in the pane. The Server states the following error:
Microsoft.AspNetCore.Session.SessionMiddleware[7]
Error unprotecting the session cookie.
System.Security.Cryptography.CryptographicException: The key {02eff61d-ebcf-4632-94d3-e4f3e0007324} was not found in the key ring.
Any hint why? The devOps system I’m trying to run the trial on is disconnected from the internet…
Product: PowerShell Universal
Version: 1.5.9
Investigating the problem myself I found the following in the exthost.log of VSCode.
[2021-01-21 12:52:11.211] [exthost] [info] ExtensionService#_doActivateExtension ironmansoftware.powershell-universal {“startup”:false,“extensionId”:{“value”:“ironmansoftware.powershell-universal”,“_lower”:“ironmansoftware.powershell-universal”},“activationEvent”:“onView:universalEndpointProviderView”}
[2021-01-21 12:52:11.211] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/b10057231/.vscode/extensions/ironmansoftware.powershell-universal-1.7.3/out/extension.js
[2021-01-21 12:52:24.487] [exthost] [error] Activating extension ironmansoftware.powershell-universal failed due to an error:
[2021-01-21 12:52:24.488] [exthost] [error] Error: getaddrinfo ENOTFOUND imsreleases.blob.core.windows.net
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)
The system is my DevOps system for a (nearly) air gapped secure production zone. One of the core security principles is that no outbound internet connection is allowed. And because of that the imsreleases.blob.core.windows.net cannot be reached.
Fixed in v1.7.4 by support…