SFDX: Authorize an Org failed

Hello i have a problem during Authorizing existing Sandbox via VS Code.
I am using SFDX: Authorize an Org
It will redirect me to Browser where i will put my credentials.

However it will redirect me to :
http://localhost:1717/OauthRedirect?code=aPrxJCZZ9LWwfrAPFPjpwsStjScNnPvoX9jCrKFt7ZHDWIwPFmSoaqqiaJ6o3cdW_Cb97XjIPg%3D%3D&state=fc1ad902cf25

and it will display
This page isn’t working localhost didn’t send any data.
ERR_EMPTY_RESPONSE

Any idea how to fix this ?
Many thanks !

Answer

Please install Salesforce DX plugin using the following command and then try to authorize

sfdx plugins:install salesforcedx@48.22.11

This works for me.

Attribution
Source : Link , Question Author : Frantisek , Answer Author : Adrian Larson

Leave a Comment