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

WIP: Connection fails with forward proxy #23

Open
jefferya opened this issue May 6, 2019 · 0 comments
Open

WIP: Connection fails with forward proxy #23

jefferya opened this issue May 6, 2019 · 0 comments

Comments

@jefferya
Copy link
Contributor

jefferya commented May 6, 2019

When a forward proxy is required to connect to the outside world, the connection fails.

Usecase: server has a non-routeable IP and needs to connect to a forward proxy server to reach the outside world.

export http_proxy="http://remote_server:{port}/"
export https_proxy="http://remote_server:{port}/"

For a curl test, set the above env vars.

Found the following which alludes to why the environment variables
specifying the proxy uri are not functioning in ruby:

https://stackoverflow.com/questions/15792999/how-to-set-a-proxy-in-rubys-net-http#comment65922586_23778707

Possible better way:

https://yukimotopress.github.io/http

more details in e-mail conversation: circa 2019-04-24

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

No branches or pull requests

1 participant