sparse-intern-71089
08/01/2022, 10:29 AMlimited-rainbow-51650
08/01/2022, 10:41 AMpulumi about
for me and paste the results?few-lizard-48557
08/01/2022, 10:45 AMPS C:\workspace\azure-ts-appservice> pulumi about
CLI
Version 3.37.2
Go Version go1.17.12
Go Compiler gc
Plugins
NAME VERSION
azure-native 1.67.0
nodejs unknown
Host
OS Microsoft Windows 10 Enterprise
Version 10.0.19044 Build 19044
Arch x86_64
This project is written in nodejs: executable='C:\Program Files\nodejs\node.exe' version='v14.16.0'
Backend
Name LO6-C-000CU
URL file://~
User DE\wolfsch6
Organizations
Pulumi locates its logs in C:\Users\wolfsch6\AppData\Local\Temp by default
warning: Failed to get information about the Pulumi program's plugins: Found C:\workspace\azure-ts-appservice\package-lock.json but not npm: unable to find program: npm.exe
warning: Failed to get information about the current stack: No current snapshot
PS C:\workspace\azure-ts-appservice>
limited-rainbow-51650
08/01/2022, 10:50 AMpulumi about
output mentions that it can’t find npm
. Does NodeJS start correctly when you run node -v
separately?few-lizard-48557
08/01/2022, 10:57 AMnode -v
shows: V14.16.0limited-rainbow-51650
08/01/2022, 11:11 AMpulumi about
, any reason it can’t find npm
on your system?limited-rainbow-51650
08/01/2022, 11:11 AMlocalhost
or 127.0.0.1
?few-lizard-48557
08/01/2022, 11:18 AMfew-lizard-48557
08/01/2022, 11:27 AMnpm
I can call it in the VSCode terminal (where I also run pulumi up
) and there it works.limited-rainbow-51650
08/01/2022, 11:29 AMnoproxy
line is what I was after. Pulumi uses a network GRPC protocol to communicate between the language host, the engine and the provider binaries, all locally on your machine. If these network connections, albeit locally, are obstructed, then Pulumi doesn’t work correctly.
In your case, the proxy is correctly configured as far as I can see, not to proxy for connections on your own machine 127.0.0.*
and internal private networks 10.*.*.*
, 192.68.*.*
.few-lizard-48557
08/01/2022, 11:36 AMpulumi up
again => unfortunately without success... (That was just a helpless attempt from my side)few-lizard-48557
08/01/2022, 11:41 AMlimited-rainbow-51650
08/01/2022, 12:20 PMfew-lizard-48557
08/01/2022, 1:01 PMHTTP_PROXY: <http://127.0.0.1:3128>
and `HTTPS_PROXY: http://127.0.0.1:3128`which on my computer forward to the authentication proxy (Px.exe) which listens on port 3128.
In addition, there is an further proxy entry NO_PROXY: localhost,.<http://bosch.com|bosch.com>,.<http://bosch-iot-cloud.com|bosch-iot-cloud.com>
in the environment variables. In NO_PROXY the entry 127.0.0.1 is missing on my system, which probably means that the requests for this ip are forwarded to the PX proxy. This is the case for the GRPC communication between the language host and the engine, but the PX proxy has configured an exclusion for 127.0.0.1 and somehow the instances involved cannot handle this in a proper way...
I have now added the exclusion "127.0.0.1" to the environment variable NO_PROXY: 127.0.0.1,localhost,.<http://bosch.com|bosch.com>,.<http://bosch-iot-cloud.com|bosch-iot-cloud.com>
, which probably means that a request to this address will not be forwarded to the PX.exe proxy and everything now works as expected, i.e. by calling the command Pulumi up
I get a preview of all Azure resources that are created during the call.
Many thanks again for the fast and good support!limited-rainbow-51650
08/01/2022, 1:04 PMfew-lizard-48557
08/01/2022, 1:11 PMlimited-rainbow-51650
08/02/2022, 11:27 AM