Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

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

Open
k-sudhan opened this issue Oct 27, 2016 · 3 comments

Comments

@k-sudhan
Copy link

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?) URI::InvalidURIError

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
Copy link
Contributor

@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
Copy link
Author

k-sudhan commented Oct 28, 2016

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

image

@ransombriggs
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants