Community
Participate
Working Groups
Hi, I am getting the following exception: ProxyHTTP: java.io.IOException: proxy error: Forbidden when doing a build on hudson. Part of the build gets components from external sites outside of eclipse. Is it possible that this is not allowed from hudson.eclipse.org? Here is the console output of a recent build showing this error: https://hudson.eclipse.org/hudson/job/emft-texo-nightly/213/console Here is the stacktrace [echo] Importing binaries into target platform /opt/users/hudsonbuild/.hudson/jobs/emft-texo-nightly/workspace/build/build/tp [java] com.jcraft.jsch.JSchException: ProxyHTTP: java.io.IOException: proxy error: Forbidden [java] at com.jcraft.jsch.ProxyHTTP.connect(ProxyHTTP.java:158) [java] at org.eclipse.jsch.internal.core.JSchProvider.connect(JSchProvider.java:141) [java] at org.eclipse.team.internal.ccvs.core.connection.PServerConnection.open(PServerConnection.java:116) [java] at org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connection.java:132) [java] at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.createConnection(CVSRepositoryLocation.java:545) [java] at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRepositoryLocation.java:806) [java] at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:159) [java] at org.eclipse.buckminster.cvspkg.internal.CVSSession.getReaderSession(CVSSession.java:98) [java] at org.eclipse.buckminster.cvspkg.internal.RepositoryMetaData.getMetaData(RepositoryMetaData.java:76) [java] at org.eclipse.buckminster.cvspkg.internal.VersionFinder.getMetaData(VersionFinder.java:97) [java] at org.eclipse.buckminster.cvspkg.internal.VersionFinder.getTrunk(VersionFinder.java:86) [java] at org.eclipse.buckminster.core.version.AbstractSCCSVersionFinder.getBestTrunkMatch(AbstractSCCSVersionFinder.java:320) [java] at org.eclipse.buckminster.core.version.AbstractSCCSVersionFinder.getBestVersion(AbstractSCCSVersionFinder.java:151) [java] at org.eclipse.buckminster.core.rmap.model.Provider.findMatch(Provider.java:220) [java] at org.eclipse.buckminster.core.rmap.model.SearchPath.getProvider(SearchPath.java:100) [java] at org.eclipse.buckminster.core.rmap.model.ResourceMap.resolve(ResourceMap.java:293) [java] at org.eclipse.buckminster.core.rmap.model.ResourceMap.resolve(ResourceMap.java:212) [java] at org.eclipse.buckminster.core.resolver.ResourceMapResolver.innerResolve(ResourceMapResolver.java:202) [java] at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.resolve(ResolverNodeWithJob.java:190) [java] at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.run(ResolverNodeWithJob.java:87) [java] at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob$NodeResolutionJob.run(ResolverNodeWithJob.java:44) [java] at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [java] Caused by: java.io.IOException: proxy error: Forbidden [java] at com.jcraft.jsch.ProxyHTTP.connect(ProxyHTTP.java:122) [java] ... 21 more
There is a proxy for outbound connections and it should be set correctly(see https://hudson.eclipse.org/hudson/view/WTP/job/cbi-wtp-wst.xsl/320/console ). However when I look at the proxy logs it appears as if your build is trying to connect to dev.eclipse.org(in the exclude list) for anonymous CVS via the proxy. Is this a recent issue? Can you use the 'local' filessytem(/cvsroot) instead of trying to connect to the network for CVS? -M.
Hi, This worked fine on the build.eclipse.org system. Is it possible to allow access to dev.eclipse.org? The reason that I prefer this approach is that the complete build now works from any location (also running locally). gr. Martin
We recommend using the local access method for CVS access on hudson.eclipse.org. -M.
Hi, We use buckminster which uses the eclipse cvs client. I tried it but it did not work. I then asked on the buckminster newsgroup and apparently this client does not support the :local cvs access method. So I seem to be stuck... Is it possible to enable access to dev.eclipse.org? gr. Martin
> So I seem to be stuck... Is it possible to enable access to dev.eclipse.org? I'm not sure I understand what the issue is. pserver cvs to dev.eclipse.org should succeed from all of the Hudson instances. There is no need to use the proxy.
Buckminster uses the eclipse cvs client, I am not sure why it uses a proxy. Do you have any idea? (I will also ask on the buckminster newsgroup) gr. Martin
I'm not quite sure what to say... perhaps ask on the Buckminster forums, the cross-project list or dash-dev?
Is this still an issue? It looks like your last few build have been successful. -M.
The builds are still failing: https://hudson.eclipse.org/hudson/job/emft-texo-nightly/ But it seems that it is related to that eclipse (which is used during the build) automatically configures a proxy in the eclipse workspace. This should not happen. So it is not related to the server or hudson. I will close the issue. Thanks for your quick responses and attention! gr. Martin
I am now also getting "java.io.IOException: proxy error: Forbidden". My build was working on Monday, and it stopped working yesterday because of this error. Did something change on the server recently?
Here is a link to the solution I used: http://www.eclipse.org/forums/index.php?t=tree&goto=628738&S=9d0ac3e0033ad8aabae2339faf044646#page_top gr. Martin
Thank you! adding export no_proxy="dev.eclipse.org" solved the problem.
Good job, Martin! I've added some documentation to the Hudson wiki: http://wiki.eclipse.org/Hudson I'll send a note to committers re: proxy settings, with a link to the above documentation.
(In reply to comment #12) > Thank you! > adding export no_proxy="dev.eclipse.org" solved the problem. On a side note, we already have this exported variable in the shell: no_proxy="localhost, 127.0.0.1, 172.30.206.0, eclipse.org" Perhaps it is not working?