You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Franz Fehringer <fe...@isogmbh.de> on 2006/05/17 16:49:19 UTC
https proxy support?
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
*
*
Re: https proxy support?
Posted by Alexandre Poitras <al...@gmail.com>.
Ok I got it : http://jira.codehaus.org/browse/WAGONHTTP-6
On 7/26/06, Alexandre Poitras <al...@gmail.com> wrote:
> I have the same exact problem, anyone has find a solution??
>
> On 5/17/06, Franz Fehringer <fe...@isogmbh.de> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: https proxy support?
Posted by Alexandre Poitras <al...@gmail.com>.
I have the same exact problem, anyone has find a solution??
On 5/17/06, Franz Fehringer <fe...@isogmbh.de> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: https proxy support?
Posted by Franz Fehringer <fe...@isogmbh.de>.
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
>
> *
> *
>