You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eddie Yee <ed...@hotmail.com> on 2008/09/16 19:15:01 UTC
Proxy bypass not working with site:deploy command
Hi,
I'm having a strange problem with one of our maven goals is site:deploy. In our settings.xml we have specified our proxy as follows:
<proxy> <active>true</active> <protocol>http</protocol> <host>ourproxyserver.ourcompany.com</host> <port>3128</port> <nonProxyHosts>*.ourcompany.com</nonProxyHosts> </proxy>
The following is our build log:
16-Sep-2008 12:02:20 [INFO] [site:deploy] 16-Sep-2008 12:02:21 Using private key: /fs/tomcat/.ssh/id_dsa 16-Sep-2008 12:02:21 scp://myserver.ourcompany.com/fs/tomcat/htdocs/projects/portal - Session: Disconnecting 16-Sep-2008 12:02:21 scp://myserver.ourcompany.com/fs/tomcat/htdocs/projects/portal - Session: Disconnected 16-Sep-2008 12:02:21 [INFO] ------------------------------------------------------------------------ 16-Sep-2008 12:02:21 [ERROR] BUILD ERROR 16-Sep-2008 12:02:21 [INFO] ------------------------------------------------------------------------ 16-Sep-2008 12:02:21 [INFO] Error uploading site 16-Sep-2008 12:02:21 16-Sep-2008 12:02:21 Embedded error: Cannot connect. Reason: ProxyHTTP: java.net.SocketException: Connection reset
Any ideas why it would be trying to use the proxy? (the user/company info changed above for privacy)
We are using Maven 2.0.9, Java 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Thanks,
Eddie
_________________________________________________________________
See how Windows connects the people, information, and fun that are part of your life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
RE: Proxy bypass not working with site:deploy command
Posted by Eddie Yee <ed...@hotmail.com>.
Thanks Lee,
The scp is still failing once I tried that. It does send if I remove the proxy.
So it looks to me like a bug in the non-proxy host. I know from reading the past release info, that some bugs existed which it ignored the proxy bypass, however it was supposedly fixed. Perhaps the site plugin still has the bug?
Thanks,
Eddie
> Date: Tue, 16 Sep 2008 17:57:12 -0500> From: lee@leemeador.com> To: users@maven.apache.org> Subject: Re: Proxy bypass not working with site:deploy command> > There used to be some sort of bug where I had to comment out my proxy stuff> in settings.xml to get SCP to send site files somewhere ti be served up.> > I'm going on memory here. You might try to build with the proxy to make sure> everything is downloaded right. Then change the settings.xml to comment out> the proxy. Then rebuild (without a clean) and deploy the site. It might> work.> > -- Lee> > On Tue, Sep 16, 2008 at 12:15 PM, Eddie Yee <ed...@hotmail.com>wrote:> > > Hi,> >> > I'm having a strange problem with one of our maven goals is site:deploy.> > In our settings.xml we have specified our proxy as follows:> >> > <proxy> <active>true</active>> > <protocol>http</protocol> <host>> > ourproxyserver.ourcompany.com</host> <port>3128</port>> > <nonProxyHosts>*.ourcompany.com</nonProxyHosts>> > </proxy>> > The following is our build log:> > 16-Sep-2008 12:02:20 [INFO] [site:deploy] 16-Sep-2008 12:02:21 Using> > private key: /fs/tomcat/.ssh/id_dsa 16-Sep-2008 12:02:21 scp://> > myserver.ourcompany.com/fs/tomcat/htdocs/projects/portal - Session:> > Disconnecting 16-Sep-2008 12:02:21 scp://> > myserver.ourcompany.com/fs/tomcat/htdocs/projects/portal - Session:> > Disconnected 16-Sep-2008 12:02:21 [INFO]> > ------------------------------------------------------------------------> > 16-Sep-2008 12:02:21 [ERROR] BUILD ERROR 16-Sep-2008 12:02:21 [INFO]> > ------------------------------------------------------------------------> > 16-Sep-2008 12:02:21 [INFO] Error uploading site 16-Sep-2008 12:02:21> > 16-Sep-2008 12:02:21 Embedded error: Cannot connect. Reason: ProxyHTTP:> > java.net.SocketException: Connection reset> >> > Any ideas why it would be trying to use the proxy? (the user/company info> > changed above for privacy)> >> > We are using Maven 2.0.9, Java 2 Runtime Environment, Standard Edition> > (build 1.5.0_10-b03)> > Thanks,> > Eddie> > _________________________________________________________________> > See how Windows connects the people, information, and fun that are part of> > your life.> > http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/> > > > > -- > -- Lee Meador> Sent from gmail. My real email address is lee AT leemeador.com
_________________________________________________________________
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
Re: Proxy bypass not working with site:deploy command
Posted by Lee Meador <le...@leemeador.com>.
There used to be some sort of bug where I had to comment out my proxy stuff
in settings.xml to get SCP to send site files somewhere ti be served up.
I'm going on memory here. You might try to build with the proxy to make sure
everything is downloaded right. Then change the settings.xml to comment out
the proxy. Then rebuild (without a clean) and deploy the site. It might
work.
-- Lee
On Tue, Sep 16, 2008 at 12:15 PM, Eddie Yee <ed...@hotmail.com>wrote:
> Hi,
>
> I'm having a strange problem with one of our maven goals is site:deploy.
> In our settings.xml we have specified our proxy as follows:
>
> <proxy> <active>true</active>
> <protocol>http</protocol> <host>
> ourproxyserver.ourcompany.com</host> <port>3128</port>
> <nonProxyHosts>*.ourcompany.com</nonProxyHosts>
> </proxy>
> The following is our build log:
> 16-Sep-2008 12:02:20 [INFO] [site:deploy] 16-Sep-2008 12:02:21 Using
> private key: /fs/tomcat/.ssh/id_dsa 16-Sep-2008 12:02:21 scp://
> myserver.ourcompany.com/fs/tomcat/htdocs/projects/portal - Session:
> Disconnecting 16-Sep-2008 12:02:21 scp://
> myserver.ourcompany.com/fs/tomcat/htdocs/projects/portal - Session:
> Disconnected 16-Sep-2008 12:02:21 [INFO]
> ------------------------------------------------------------------------
> 16-Sep-2008 12:02:21 [ERROR] BUILD ERROR 16-Sep-2008 12:02:21 [INFO]
> ------------------------------------------------------------------------
> 16-Sep-2008 12:02:21 [INFO] Error uploading site 16-Sep-2008 12:02:21
> 16-Sep-2008 12:02:21 Embedded error: Cannot connect. Reason: ProxyHTTP:
> java.net.SocketException: Connection reset
>
> Any ideas why it would be trying to use the proxy? (the user/company info
> changed above for privacy)
>
> We are using Maven 2.0.9, Java 2 Runtime Environment, Standard Edition
> (build 1.5.0_10-b03)
> Thanks,
> Eddie
> _________________________________________________________________
> See how Windows connects the people, information, and fun that are part of
> your life.
> http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
--
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com