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

Should support network proxy #328

Closed
gitblit opened this issue Aug 12, 2015 · 4 comments
Closed

Should support network proxy #328

gitblit opened this issue Aug 12, 2015 · 4 comments

Comments

@gitblit
Copy link
Collaborator

gitblit commented Aug 12, 2015

Originally reported on Google Code with ID 32

What steps will reproduce the problem?
1. Linux system with network proxy needing credentials
2. java -Dhttp.proxyHost=my.com -Dhttp.proxyPort=8080 -jar gitblib.jar

Since Java has no option to set the user/pass from the commandline, this should be
configurable. Please support the use of a network proxy with user/pass support.

Caused by: java.io.IOException: Server returned HTTP response code: 407 for URL: http://repo1.maven.org/maven2/com/beust/jcommander/1.17/jcommander-1.17.jar
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)
        at java.net.URL.openStream(URL.java:1010)
        at com.gitblit.build.Build.downloadFromMaven(Build.java:298)

What version of the product are you using? On what operating system?
gitblit-0.7.0 on Linux 2.6

It is related to Issue 30, but not the same.

Reported by lemval on 2011-12-20 10:25:52

@gitblit gitblit self-assigned this Aug 12, 2015
@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

Since the next release of GO will be monolithic (issue 326) I don't think directly supporting
a network proxy will be necessary.

Reported by James.Moger on 2011-12-20 12:52:58

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

True. I downloaded all the libraries manually and placed them in the ext folder. Quite
some work, but now it runs like a charme :)

Reported by lemval on 2011-12-21 09:56:12

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

Ouch!  It would have been faster to grab the war build and extract the bundled dependencies.
 Sorry you went through that.

Reported by James.Moger on 2011-12-21 13:04:59

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

v0.8.0 released.

Reported by James.Moger on 2012-01-11 21:44:23

  • Status changed: Done
  • Labels added: Milestone-0.8.0

@gitblit gitblit closed this as completed Aug 12, 2015
@flaix flaix modified the milestone: 0.8.0 Dec 13, 2016
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