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

DownloadSupport doesn't support proxy out of the box #371

Closed
geb-bot opened this Issue Mar 5, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@geb-bot

geb-bot commented Mar 5, 2015

Originally created by Vasily Ivanov.

Currently DownloadSupport.download() opens connection with URL.openConnection() call which doesn't work behind HTTP (or other type) proxy. This is inconsistent with web driver behaviour which uses system proxy settings.

Optional support of proxy needs to be added in which case URL.openConnection(Proxy proxy) method should be used to open a connection via specified proxy.

WORKAROUND:
Set global system properties either via -D command line options or:
System.setProperty("https.proxyHost", "host")
System.setProperty("https.proxyPort", "8080")

see http://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html for more proxy system properties

@geb-bot geb-bot added the Improvement label Apr 12, 2015

@erdi erdi added this to the 2.2 milestone Jun 12, 2018

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