Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » UnknownHostException Hudson Proxy
UnknownHostException Hudson Proxy [message #1268542] Mon, 10 March 2014 16:43 Go to next message
romain bisson is currently offline romain bissonFriend
Messages: 3
Registered: March 2014
Junior Member
Hello,

I have a problem because my proxy name changed and I don't know where configure it Sad

http.nonProxyHost localhost|127.*
http.proxyHost p-goodway
http.proxyPort 3128

java.net.UnknownHostException: p-goodway

Thanks
Re: UnknownHostException Hudson Proxy [message #1268733 is a reply to message #1268542] Mon, 10 March 2014 23:18 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Yeah it is kind of at the weird place. It is at Manage Hudson -> Manage Plugins -> Advanced

Winston Prakash
Eclipse Hudson team
Re: UnknownHostException Hudson Proxy [message #1268998 is a reply to message #1268733] Tue, 11 March 2014 08:59 Go to previous messageGo to next message
romain bisson is currently offline romain bissonFriend
Messages: 3
Registered: March 2014
Junior Member
In Manage Hudson -> Manage Plugins -> Advanced

Proxy Setup

Hudson need to connect to internet to download and install plugins. If Hudson is installed behind a firewall, here you can set up the HTTP proxy.

Proxy Server
Proxy Port
No Proxy for
Username
Password

All is blank but in system informations, I have :

http.nonProxyHost localhost|127.*
http.proxyHost p-goodway
http.proxyPort 3128

Re: UnknownHostException Hudson Proxy [message #1269298 is a reply to message #1268998] Tue, 11 March 2014 17:10 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
If it shows in system information, then it must be set via command line. Something like java -D http.proxyHost=... -Dhttp.proxyPort=.. If you installed Hudson in Tomcat or Web servers, then it could be set in one of their initialization script or via manager.

Winston Prakash
Eclipse Hudson team
Re: UnknownHostException Hudson Proxy [message #1269890 is a reply to message #1269298] Wed, 12 March 2014 09:35 Go to previous messageGo to next message
romain bisson is currently offline romain bissonFriend
Messages: 3
Registered: March 2014
Junior Member
thanks you

If you installed Hudson in Tomcat or Web servers, then it could be set in one of their initialization script or via manager.

OK but how i do it?

[Updated on: Wed, 12 March 2014 09:35]

Report message to a moderator

Re: UnknownHostException Hudson Proxy [message #1270154 is a reply to message #1269890] Wed, 12 March 2014 15:02 Go to previous message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
I'm not clear what do you mean by "OK but how i do it?".

First how is your Hudson setup and running? Do you run it as java -jar hudson.war or deploy Hudson war to a java EE container like Tomcat.

Also if you use Linux machine to run Hudson on a Linux machine you can run the command "set" on a command line and see if the proxy information is set in the global OS environment variable.


Winston Prakash
Eclipse Hudson team
Previous Topic:How to access Global Variable from the hudson job
Next Topic:can I get the console output in colour for ERROR
Goto Forum:
  


Current Time: Fri Apr 26 20:23:45 GMT 2024

Powered by FUDForum. Page generated in 0.03712 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top