I have the same exact problem, anyone has find a solution??

On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:

 Only the first proxy is considered it seems.
 If i exchange the two proxies (https first http second) the http connects
start to fail.
 How do i configure i proxy for both http amd https?

 Greetings

 Franz

 Franz Fehringer schrieb:
 Hello,

 We use the same proxy host and port both for http and https.
 With Maven 2.0.4 i am able to dynamically download plugins over http but
not over https.
 In the latter case i get

 Caused by: java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native
Method)
         at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
         at
sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
         at
sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
         at
sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:278)
         at
sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:335)

 The file to be downloaded is
 Downloading:
https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-impl-2.0.pom
 and my .m2/settings reads

 <settings>

<localRepository>//winpc229/supply/Maven2/Repository</localRepository>
   <proxies>
     <proxy>
       <active>true</active>
       <protocol>http</protocol>
       <host>proxy</host>
       <port>81</port>
     </proxy>
     <proxy>
       <active>true</active>
       <protocol>https</protocol>
       <host>proxy</host>
       <port>81</port>
     </proxy>
   </proxies>
 </settings>

 What is the problem and how can it be resolved?

 Thanks

 Franz







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to