[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-ssl] NoRouteToHostException using iSaSiLk 3.03



IMHO, it seems that this a network related issue, and not a programatic.  I
say this because your exception was " java.net.NoRouteToHostException:
Operation timed out: no further information".  I believe the java.net
package relies on the underlyng operating system's IP stack.  Can you ping
the proxy from the machine you are executng the code?

Regards,

Todd

----- Original Message -----
From: "Scott Gaetjen" <scott.gaetjen@enterworks.com>
To: <iaik-ssl@iaik.at>
Sent: Thursday, February 22, 2001 10:50 AM
Subject: [iaik-ssl] NoRouteToHostException using iSaSiLk 3.03


>
> Hello all,
>   I was trying to use iSaSiLk over a proxy that does not require
> authentication and I get the exception noted below.
>
> I am setting the https.proxyHost and https.proxyPort System properties
> and it appears that the IAIK APIs are attempting to connect to the proxy
> server given the exception trace shown below.
>
> I have reviewed the demo.basic.SSLClient example and noticed that the
> SSLSocket class has an overriden constructor to provide a Socket to the
> proxy server. I am using the iaik.protocol.https.HttpsURLConnection
> class to establish connections, but am not sure if I could establish the
> proxy-socket based SSLSocket and associate it with an
> iaik.protocol.https.HttpsURLConnection.
>
>
> If anyone has any advice on this I would appreciate your input and your
> time.
>
> Regards,
> Scott Gaetjen
>
>
> --
> Scott Gaetjen 703.723.2114 (office)
> Product Architect 703.728.1301 (mobile)
> Enterworks, Inc. 703.724.3868 (fax)
> 19886 Ashburn Road Scott.Gaetjen@Enterworks.com
>
>
> ****************
>
>
> org.w3c.www.protocol.http.HttpException: java.net.NoRouteToHostException:
> Operation timed out: no further information
> java.net.NoRouteToHostException: Operation timed out: no further
information
>   at java.net.PlainSocketImpl.socketConnect(Native Method)
>   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
>   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
>   at java.net.Socket.<init>(Socket.java:269)
>   at java.net.Socket.<init>(Socket.java:125)
>   at iaik.security.ssl.Utils.proxyConnect(Unknown Source)
>   at iaik.security.ssl.Utils.proxyConnect(Unknown Source)
>   at iaik.security.ssl.Utils.proxyConnect(Unknown Source)
>   at org.w3c.www.protocol.http.HttpBasicConnection.a(Unknown Source)
>   at org.w3c.www.protocol.http.HttpBasicConnection.markUsed(Unknown
Source)
>   at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown
Source)
>   at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
>   at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
>   at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown  Source)
>   at org.w3c.www.protocol.http.HttpURLConnection.a(Unknown Source)
>   at org.w3c.www.protocol.http.HttpURLConnection.getInputStream(Unknown
> Source)
>   at
>
com.enterworks.epm.agents.gxs.HttpSessionIAIK.getInputStream(HttpSessionIAIK
> .java:81)
>
>    ....
>
>
>
> Ashburn, VA 20147 (USA) www.enterworks.com
>
> --
> Mailinglist-archive at
http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html
>
> To unsubscribe send an email to listserv@iaik.at with the folowing
content: UNSUBSCRIBE iaik-ssl
>

smime.p7s