2009-12-29 10 views
10

के माध्यम से हम प्रमाणीकरण के साथ कॉरपोरेट प्रॉक्सी चलाने के लिए और हम अपने सीआई मंच के रूप में हडसन चला रहे हैं मिल सकता है। हडसन को बताने के लिए, जो प्लग इन अद्यतन करने की जरूरत है बाहर की दुनिया से प्राप्त कर सकते हैं, लेकिन जब हम प्लगइन्स के लिए अद्यतन डाउनलोड करने के लिए हडसन बता, हम निम्नलिखित त्रुटि मिलती है।मैं कैसे हडसन अद्यतन करने के लिए प्रॉक्सी

java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required (The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )" 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 
at java.lang.reflect.Constructor.newInstance(Unknown Source) 
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) 
at java.security.AccessController.doPrivileged(Native Method) 
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source) 
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) 
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:603) 
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:812) 
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 
at java.util.concurrent.FutureTask.run(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
at java.lang.Thread.run(Unknown Source) 

Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required (The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )" 
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown Source) 
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) 
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) 
at java.net.URLConnection.getHeaderFieldInt(Unknown Source) 
at java.net.URLConnection.getContentLength(Unknown Source) 
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(Unknown Source) 
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:602) 
... 7 more 

किसी को भी पता है कि कैसे मैं हडसन या हमारे JRE या जो कुछ भी विन्यस्त करने की जरूरत है, कॉन्फ़िगर कर सकते हैं हडसन जीयूआई के माध्यम से अद्यतन करने के लिए अनुमति देने के लिए? निश्चित रूप से हम मैन्युअल रूप से अपडेट डाउनलोड कर सकते हैं लेकिन थोड़ी देर के बाद यह परेशान हो जाता है।

वर्तमान में हमारे पास हडसन विंडोज सर्वर 2008 पर एक सेवा के रूप में स्थापित है और इसका उपयोग सर्वर में निर्मित है जो इसे होस्ट करने के लिए हडसन के साथ आया था। इसके अलावा, मैं प्रॉक्सी कॉन्फ़िगरेशन "उन्नत" टैब के माध्यम से

उत्तर

11

दो बातें

1. Pop over into the plugin manager and select advanced, enter the settings in there 
2. Set the properties of the JRE http://java.sun.com/javase/6/docs/technotes/guides/net/properties.html 

करने के लिए आप -Dproperty.name = some.value सिंटैक्स का उपयोग जब हडसन शुरू गुणों को सेट कर सकते हैं निर्धारित किया है।

+0

मैंने # 1 की कोशिश की है, # 2 कोशिश करूँगा और आपको वापस आऊंगा, धन्यवाद आदमी! –

+0

श्वास, मेरे पास प्रॉक्सी कॉन्फ़िगरेशन में डोमेन \\ उपयोगकर्ता नाम सेटअप था। इसे डोमेन \ उपयोगकर्ता नाम में बदलने के बाद, यह अब काम करता है। यह अभी भी एक वैध प्रश्न/उत्तर है इसलिए मैं खुशी से इसे स्वीकार करूंगा, धन्यवाद। –

संबंधित मुद्दे