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

AW: [iaik-ssl] Timout in ssl connection?



Hello,

there should be no timeout from the SSL layer.
However, you may control the timeout of the client socket via
org.w3c.www.protocol.http.HttpManager´s static variable 

TIMEOUT_P = "org.w3c.www.protocol.http.connections.timeout";

which may be set via System property. 

Regards,
Dieter Bratko

-----Ursprüngliche Nachricht-----
Von: iaik-ssl-owner@iaik.tu-graz.ac.at
[mailto:iaik-ssl-owner@iaik.tu-graz.ac.at]Im Auftrag von Changski Zhang
Gesendet: Dienstag, 04. September 2001 22:22
An: 'Christoph.Trautwein@sinnerschrader.com'; iaik-ssl@iaik.at
Betreff: RE: [iaik-ssl] Timout in ssl connection?


Dear support,

I have similar problem!

OS: Windows2000/ WindowsNT4.0
Tools: ORBacus v4.0.5 + BiDir + FreeSSL v2.0.1 + iSaSiLk v3.03 + IAIK-JCE
v2.61c
JDK: Sun JDK1.3.0

I'm using CORBA to transfer a big file(larger than 10MB) via a slow(20bps)
connection (ISDN/ Dial up) and it is always failed.
We tested it with different networks, the results as below:

- Tests on Modem proved to be globally (high percentage of failures)
unsuccessful,
- Tests on ISDN were globally not successfull when files are bigger than
10Mb,
- Tests on LAN were always successfull,
- Tests on ADSL were not performed.

The exception likes this: 
org.omg.CORBA.SystemException : org.omg.CORBA.COMM_FAILURE: recv() failed:
I/O error during read: java.net.SocketException: Connection reset by peer:
JVM_recv in socket input stream read  minor code: 1330577409 completed:
Maybe

Have you done the same test(ISDN/Dial up) on your side? 
Does Mr. support can help us?

Thanks in advance,
Changski



Is there a timeout in the SSL-Layer?
We send a large File via https and want to wait for the response.
The response should arrive about 4 hours later.
I never received a response :-(

The error messages are:
org.w3c.www.protocol.http.HttpException: Unable to contact target server
newsletter.db24.de:443 after 3 tries.
java.io.InterruptedIOException: Read timed out
           at java.net.SocketInputStream.read(SocketInputStream.java:84)
           at iaik.security.ssl.Utils.a(Unknown Source)
           at iaik.security.ssl.p.a(Unknown Source)
           at iaik.security.ssl.p.g(Unknown Source)
           at iaik.security.ssl.l.b(Unknown Source)
           at iaik.security.ssl.l.a(Unknown Source)
           at iaik.security.ssl.l.read(Unknown Source)
           at java.io.BufferedInputStream.fill(BufferedInputStream.java)
           at java.io.BufferedInputStream.read(BufferedInputStream.java)
           at org.w3c.www.mime.MimeParser.parse(Unknown Source)
           at
org.w3c.www.protocol.http.HttpBasicServer.http_unknown(Unknown Source)
           at org.w3c.www.protocol.http.HttpBasicServer.doRequest(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 PostXmlToUrlByHttps.main(PostXmlToUrlByHttps.java:49)


We use a Sun Solaris machine.

If there is a timout: How can I set it to "infinite"?


Thanks
     Christoph Trautwein

PS: Ich hoffe, dies ist eine englische Mailingliste ?:-|

____________________________________________

SinnerSchrader Aktiengesellschaft

 mailto:c.trautwein@sinnerschrader.com
 http://www.sinnerschrader.com
 fon  +49.(0) 40.39 88 55-0
 fax  +49.(0) 40.822279-370
 planckstrasse 13 | 22765 hamburg | germany
____________________________________________

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



smime.p7s