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

implement support for proxy authentication #644

Open
mekjayk opened this issue Aug 1, 2017 · 1 comment
Open

implement support for proxy authentication #644

mekjayk opened this issue Aug 1, 2017 · 1 comment
Labels
Enhancement New feature or request Help Wanted We have very little time and would like some help

Comments

@mekjayk
Copy link

mekjayk commented Aug 1, 2017

unable to connect to http://download.processing.org/contrib as there is no provision for proxy authentication in Preferences.txt. Please add it...

@benfry benfry changed the title unable to connect to http://download.processing.org/contrib with Http error 407 implement support for proxy authentication Sep 3, 2017
@benfry benfry added Help Wanted We have very little time and would like some help Enhancement New feature or request labels Sep 3, 2017
@benfry
Copy link
Owner

benfry commented Oct 5, 2019

Error message when proxy auth required:

java.io.IOException: Server returned HTTP response code: 407 for URL: http://download.processing.org/contribs
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
	at processing.app.contrib.ContributionManager.download(ContributionManager.java:103)
	at processing.app.contrib.ContributionListing$1.run(ContributionListing.java:385)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Server returned HTTP response code: 407 for URL: http://download.processing.org/contribs
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
	at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3051)
	at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629)
	at java.net.URLConnection.getContentLengthLong(URLConnection.java:501)
	at java.net.URLConnection.getContentLength(URLConnection.java:485)
	at processing.app.contrib.ContributionManager.download(ContributionManager.java:87)
	... 2 more

@benfry benfry transferred this issue from processing/processing Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Help Wanted We have very little time and would like some help
Projects
None yet
Development

No branches or pull requests

2 participants