Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RHDS] Installer error code "Cannot access developers.redhat.com, please check your internet connection." #1171

Open
norbix7 opened this issue Dec 21, 2017 · 5 comments

Comments

@norbix7
Copy link

norbix7 commented Dec 21, 2017

During installation of Red Hat Development Suite on Wintel desktop behind corpo firewall I get below error code .

Cannot access developers.redhat.com, please check your internet connection.

How to pass forward proxy to the installer ?

@norbix7 norbix7 changed the title Cannot access developers.redhat.com, please check your internet connection. [RHDS] Installer error code "Cannot access developers.redhat.com, please check your internet connection." Dec 21, 2017
@dgolovin
Copy link
Contributor

To make Installer working behind proxy there should be variable HTTPS_PROXY in user environment which sets up URL to proxy server. URL examples for none auth proxy:

http(s)://servername.com:3128
http(s)://192.168.0.47:3128

For auth proxy:

http(s)://username:[email protected]:3128
http(s)://username:[email protected]:3128

If you use email as username then replace @ with %40:

http(s)://username%40server.com:[email protected]:3128
http(s)://username%40server.com:[email protected]:3128

Additional details are here https://github.com/request/request#controlling-proxy-behaviour-using-environment-variables.

@norbix7
Copy link
Author

norbix7 commented Dec 22, 2017

@dgolovin

This procedure will work on condition that recursive DNS is available for local request.
What if it is not ?

BR
NJ

@dgolovin
Copy link
Contributor

dgolovin commented Jan 2, 2018

@norbix7

I am sure there is no way to configure that on installer side. How browser would resolve domain names in this case?

@norbix7
Copy link
Author

norbix7 commented Jan 3, 2018

@dgolovin

The browser uses SOCKS v5 protocol and proxy DNS feature that's why.
Is there a way to tell the installer to use SOCKS ?

BR
/norbix

@dgolovin
Copy link
Contributor

dgolovin commented Jan 3, 2018

In current implementation there is no way to do it, sorry about that.
Good news is installer uses https://github.com/request/request and there is a way to support SOCKS using https://github.com/mattcg/socks5-https-client#using-with-request.

I can add support for this use case. You would need to add SOCKS_PROXY environment variable similar to HTTPS_PROXY to tell installer to use SOCKS proxy.

@norbix7 would that work for you?

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

No branches or pull requests

2 participants