• Abhisek
  • NEWBIE
  • 35 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
I have installed salesforce cli windows 64 bit and I also installed it through npm globally. 
I am on windows 7 machine and behind a company firewall and I have proxy set on my computer

C:\Users\XXXXX>sfdx update
panic: Get https://developer.salesforce.com/media/salesforce-cli/sfdx-cli/channe
ls/stable/windows-x64: dial tcp XX.XX.XX.XX:443: connectex: A connection att
empt failed because the connected party did not properly respond after a period
of time, or established connection failed because connected host has failed to r
espond.

goroutine 1 [running]:
panic(0x6632a0, 0xc0420067b0)
        /usr/local/go/src/runtime/panic.go:500 +0x1af
main.must(0x7b92c0, 0xc0420067b0)
        /home/ubuntu/.go_workspace/src/github.com/heroku/cli/io.go:115 +0x63
main.GetUpdateManifest(0x6a4875, 0x7, 0x6a3c0d, 0x3, 0x7b92c0)
        /home/ubuntu/.go_workspace/src/github.com/heroku/cli/install.go:104 +0x2
72
main.GetUpdateManifest(0x6a4875, 0x7, 0x6a3c0d, 0x3, 0x0)
        /home/ubuntu/.go_workspace/src/github.com/heroku/cli/install.go:102 +0x2
f4
main.Install()
        /home/ubuntu/.go_workspace/src/github.com/heroku/cli/install.go:33 +0x10
0
main.main()
        /home/ubuntu/.go_workspace/src/github.com/heroku/cli/main.go:18 +0x3a

 
Hello sfdx gurus,
In Windows 7, I get the following error when I attampt to authorize the developer hub org. The login windows to DevHub opens up that lead to next error after I put my DevHub credential.
It works fine in Mac. 

Appreciate any input.


C:\Users\raip\sfdx\sfdx-dreamhouse>sfdx force:auth:web:login -d -a DevHub
ERROR running force:auth:web:login:  Command failed with response.
 - CylancePROTECT Script Control has blocked access to this PowerShell script.
.
Try this:
Determine why this command failed to get an encryption key for user raip: [C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -File C:\Users\raip\AppData\Local\sfdx\plug
ins\node_modules\salesforce-alm\CredMan.ps1 -GetCred -Target sfdx -User local].