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

RE: [iaik-ssl] Handshake time out problem for multithread example



Ok, I know the problem.  The client needs to open the port used through
java.policy

-----Original Message-----
From: iaik-ssl-owner@iaik.tu-graz.ac.at
[mailto:iaik-ssl-owner@iaik.tu-graz.ac.at]On Behalf Of Siew Onn Wan
Sent: Tuesday, June 19, 2001 12:14 PM
To: iaik-ssl@iaik.at
Subject: [iaik-ssl] Handshake time out problem for multithread example


Hi everyone

1. Problem
Timeout problem when the multithread example is run on different machines.
No problem when the client and server is running on the same machine.

Client stack trace
java.io.InterruptedIOException: Read timed out
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:86)
        at iaik.security.ssl.Utils.a(Unknown Source)
        at iaik.security.ssl.o.c(Unknown Source)
        at iaik.security.ssl.r.f(Unknown Source)
        at iaik.security.ssl.x.b(Unknown Source)
        at iaik.security.ssl.x.a(Unknown Source)
        at iaik.security.ssl.r.d(Unknown Source)
        at iaik.security.ssl.SSLTransport.startHandshake(Unknown Source)
        at iaik.security.ssl.SSLSocket.startHandshake(Unknown Source)
        at demo.multithread.Client.main0(Unknown Source)
        at demo.multithread.Client.main(Unknown Source)

Server stack trace
Unexpected exception:
iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake
failure
        at iaik.security.ssl.r.f(Unknown Source)
        at iaik.security.ssl.f.c(Unknown Source)
        at iaik.security.ssl.f.a(Unknown Source)
        at iaik.security.ssl.r.d(Unknown Source)
        at iaik.security.ssl.SSLTransport.startHandshake(Unknown Source)
        at iaik.security.ssl.SSLSocket.startHandshake(Unknown Source)
        at demo.multithread.Server.main0(Unknown Source)
        at demo.multithread.Server.main(Unknown Source)

2. client configuraitons
a. Microsoft Windows 2000 Professional
b. SUN JDK 1.3.0
c. iSaSilk 3.03
d. IAIK-JCE 2.61

3. server configurations
a. Linux 2.2.14-5.0
b. SUN JDK 1.3.0
c. iSaSilk 3.03
d. IAIK-JCE 2.61

--
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


--
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