[stunnel-users] Stunnel 4.05 "SSL write shutdown (output buffer empty)"

Issam ourrai issam.ourrai at gmail.com
Fri Dec 17 20:02:28 CET 2010


Hi guys,

For My apps I'm using a SSL connection using STunnel 4.05 on a windows box.

I have the following errors while running a connection :

2010.12.17 14:28:55 LOG7[2764:6312]: Socket closed on read
2010.12.17 14:28:55 LOG7[2764:6312]: SSL write shutdown (output buffer
empty)
2010.12.17 14:28:55 LOG7[2764:6312]: SSL alert (write): warning: close
notify
2010.12.17 14:28:55 LOG7[2764:6312]: SSL_shutdown retrying
2010.12.17 14:28:55 LOG7[2764:5588]: tradingscreen_connection accepted
FD=1728 from 127.0.0.1:2231
2010.12.17 14:28:55 LOG7[2764:5588]: FD 1728 in non-blocking mode
2010.12.17 14:28:55 LOG7[2764:5588]: Creating a new thread
2010.12.17 14:28:55 LOG7[2764:5588]: New thread created
2010.12.17 14:28:55 LOG7[2764:3860]: tradingscreen_connection started
2010.12.17 14:28:55 LOG7[2764:3860]: TCP_NODELAY option set on local socket
2010.12.17 14:28:55 LOG5[2764:3860]: tradingscreen_connection connected from
127.0.0.1:2231
2010.12.17 14:28:55 LOG7[2764:3860]: FD 1708 in non-blocking mode
2010.12.17 14:28:55 LOG7[2764:3860]: tradingscreen_connection connecting
XX.XX.XX.XX:9500
2010.12.17 14:28:55 LOG7[2764:3860]: remote connect #1: EWOULDBLOCK:
retrying
2010.12.17 14:28:55 LOG7[2764:3860]: waitforsocket: FD=1708, DIR=write
2010.12.17 14:28:55 LOG7[2764:3860]: waitforsocket: ok
2010.12.17 14:28:55 LOG7[2764:3860]: Remote FD=1708 initialized
2010.12.17 14:28:55 LOG7[2764:3860]: TCP_NODELAY option set on remote socket
2010.12.17 14:28:55 LOG7[2764:3860]: SSL state (connect): before/connect
initialization
2010.12.17 14:28:55 LOG7[2764:3860]: SSL state (connect): SSLv3 write client
hello A
2010.12.17 14:28:55 LOG7[2764:3860]: waitforsocket: FD=1708, DIR=read
2010.12.17 14:28:55 LOG7[2764:3860]: waitforsocket: ok
2010.12.17 14:28:55 LOG7[2764:3860]: SSL state (connect): SSLv3 read server
hello A
2010.12.17 14:28:55 LOG7[2764:3860]: waitforsocket: FD=1708, DIR=read
2010.12.17 14:28:56 LOG7[2764:3860]: waitforsocket: ok
2010.12.17 14:28:56 LOG7[2764:3860]: SSL state (connect): SSLv3 read
finished A
2010.12.17 14:28:56 LOG7[2764:3860]: SSL state (connect): SSLv3 write change
cipher spec A
2010.12.17 14:28:56 LOG7[2764:3860]: SSL state (connect): SSLv3 write
finished A
2010.12.17 14:28:56 LOG7[2764:3860]: SSL state (connect): SSLv3 flush data
2010.12.17 14:28:56 LOG7[2764:3860]:    1 items in the session cache
2010.12.17 14:28:56 LOG7[2764:3860]:    2 client connects (SSL_connect())
2010.12.17 14:28:56 LOG7[2764:3860]:    2 client connects that finished
2010.12.17 14:28:56 LOG7[2764:3860]:    0 client renegotiatations requested
2010.12.17 14:28:56 LOG7[2764:3860]:    0 server connects (SSL_accept())
2010.12.17 14:28:56 LOG7[2764:3860]:    0 server connects that finished
2010.12.17 14:28:56 LOG7[2764:3860]:    0 server renegotiatiations requested
2010.12.17 14:28:56 LOG7[2764:3860]:    1 session cache hits
2010.12.17 14:28:56 LOG7[2764:3860]:    0 session cache misses
2010.12.17 14:28:56 LOG7[2764:3860]:    0 session cache timeouts
2010.12.17 14:28:56 LOG6[2764:3860]: Negotiated ciphers:
DES-CBC3-SHA            SSLv3 Kx=RSA      Au=RSA  Enc=3DES(168) Mac=SHA1
2010.12.17 14:28:56 LOG7[2764:6312]: SSL alert (read): warning: close notify
2010.12.17 14:28:56 LOG7[2764:6312]: SSL closed on SSL_read
2010.12.17 14:28:56 LOG7[2764:6312]: Socket write shutdown (*output buffer
empty*)
2010.12.17 14:28:56 LOG5[2764:6312]: Connection closed: 31795 bytes sent to
SSL, 35089 bytes sent to socket
2010.12.17 14:28:56 LOG7[2764:6312]: tradingscreen_connection finished (1
left)
2010.12.17 14:39:01 LOG7[2764:3860]: Socket closed on read
2010.12.17 14:39:01 LOG7[2764:3860]: SSL write shutdown (*output buffer
empty*)
2010.12.17 14:39:01 LOG7[2764:3860]: SSL alert (write): warning: close
notify
2010.12.17 14:39:01 LOG7[2764:3860]: SSL_shutdown retrying
2010.12.17 14:39:01 LOG7[2764:5588]: tradingscreen_connection accepted
FD=1732 from 127.0.0.1:2362
2010.12.17 14:39:01 LOG7[2764:5588]: FD 1732 in non-blocking mode
2010.12.17 14:39:01 LOG7[2764:5588]: Creating a new thread


Did some one ever face this kind of issue,

I'm a neube using this connector, thanks for your kind help,

-- 
Cheers
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20101217/adcb944e/attachment.html>


More information about the stunnel-users mailing list