hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Porter" <PORTE...@WMGMAIL.wmg.warwick.ac.uk>
Subject Socket Exception: Connection reset by peer - behind switch.
Date Thu, 23 Mar 2006 10:14:33 GMT
 

Hello all,

 

This is a long shot, but maybe someone can help.

 

I've created a program to connect to a website.

This program run's fine every machine, except one.

 

This machine is on a different section of the network & is sitting on a
switch.

 

When the program try's to connect to the host, is should do automatic
authentication (SSL).

This call times out. Stack trace is below....

 

I know what a "Connection reset by peer" could be for almost any reason.

But I suspect is has something to do with being on a switch, since the
port 443 seems to time out.

 

Can anyone please help me out here?!? 

Any ideas, tips, suggestions etc. would be great!

 

Thanks

Jeff

 

2006/03/23 09:08:46:955 GMT [TRACE] HttpConnection - -enter
HttpConnection.open()

2006/03/23 09:08:46:955 GMT [DEBUG] HttpConnection - -Open connection to
q1.pore.com:443

2006/03/23 09:09:09:064 GMT [TRACE] HttpConnection - -enter
HttpConnection.closeSockedAndStreams()

2006/03/23 09:09:09:064 GMT [DEBUG] HttpMethodDirector - -Closing the
connection.

2006/03/23 09:09:09:064 GMT [TRACE] HttpConnection - -enter
HttpConnection.close()

2006/03/23 09:09:09:064 GMT [TRACE] HttpConnection - -enter
HttpConnection.closeSockedAndStreams()

2006/03/23 09:09:09:064 GMT [INFO] HttpMethodDirector - -I/O exception
(java.net.SocketException) caught when processing request: Connection
reset by peer: connect

2006/03/23 09:09:09:064 GMT [DEBUG] HttpMethodDirector - -Connection
reset by peer: connect <java.net.SocketException: Connection reset by
peer: connect>java.net.SocketException: Connection reset by peer:
connect

      at java.net.PlainSocketImpl.socketConnect(Native Method)

      at java.net.PlainSocketImpl.doConnect(Unknown Source)

      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

      at java.net.PlainSocketImpl.connect(Unknown Source)

      at java.net.SocksSocketImpl.connect(Unknown Source)

      at java.net.Socket.connect(Unknown Source)

      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown
Source)

      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(Unknown
Source)

      at
com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknown
Source)

      at
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSo
cket(SSLProtocolSocketFactory.java:81)

      at
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSo
cket(SSLProtocolSocketFactory.java:126)

      at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:70
6)

      at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMe
thodDirector.java:386)

      at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMetho
dDirector.java:170)

      at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3
96)

      at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3
24)


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message