Hi,

I've coded a Windows service that uses the openssl 0.9.8e libraries to poll a 
web site in loop. the libraries were compiled with debug info on Windows with 
Visual Studio 8, which is also the dev environment for the service code.

At some point after 40 ro 50 iterations, the connect starts failing, sometimes 
in SSL_connect() and sometimes in BIO_do_connect(). The SSL_connect() error 
trace is...

** OpenSSL library SSL_connect(ssl) function failed!
5920:error:0200274C:system 
library:connect:reason(1868):.\crypto\bio\bss_conn.c:269:host=jfly-d620:443
5920:error:20073067:BIO routines:CONN_STATE:connect 
error:.\crypto\bio\bss_conn.c:273:

Once it gets in this state, the connect will always timeout on subsequent 
requests, both from my service code and from the openssl s_client command. If I 
connect with telnet or a web browser, it still works but takes a long time. 
I've tried to research increasing the timeout but don't see how without getting 
to the underlying socket in the BIO, which I haven't figured out how to do yet. 
Anyway, a packet trace showed that traffic was coming from both my wired & 
wireless IP address. If I disable the wireless, the problem goes away 
immediately and my service runs continually without a problem. Does anyone have 
any suggestions how I can get around this?

Thanks,
Scott


 
---------------------------------
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.

Reply via email to