heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.36k stars 381 forks source link

the scheme http does not accept registry part: localhost:8080 <or bad hostname?) <URI::InvalidURIError> #2029

Open k-sudhan opened 7 years ago

k-sudhan commented 7 years ago

Downloaded Heroku CLI for windows (7) successfully and tried running heroku login gets the below error : the scheme http does not accept registry part: localhost:8080 <or bad hostname?)

I have already set the environment variable HTTP_PROXY as we are using this behind the firewall. Tried uninstalling the application and re-installing it again (installs successfully but causes problem when start to use the tool).

ransombriggs commented 7 years ago

@k-sudhan It looks like you need to include the protocol, make sure that your environment variable follows the format from https://devcenter.heroku.com/articles/using-the-cli#using-an-http-proxy

k-sudhan commented 7 years ago

I have set the protocol correctly, as per the above url. Still getting the same error.

image

ransombriggs commented 7 years ago

@k-sudhan I just shipped a fix for this, could you heroku update and try again?