[stunnel-users] SSL_read (ERROR_SYSCALL)

This is a discussion on [stunnel-users] SSL_read (ERROR_SYSCALL) within the Stunnel Users forums, part of the Networking and Network Related category; Hi Im trying to connect using mysql, there are no fw between the 2 boxes. I tested with stunnel 3....


Go Back   Usenet Forums > Networking and Network Related > Stunnel Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2005
Passreality
 
Posts: n/a
Default [stunnel-users] SSL_read (ERROR_SYSCALL)

Hi

Im trying to connect using mysql, there are no fw
between the 2 boxes. I tested with stunnel 3.x and 4.x
but when i use the 4.0.23 mysldb it just wount work.
When i use the older db it works. Any ideas on how to
solve this error ?

/Christian

Stunnel 4.07
Kernel 2.4.18
gcc version 3.3.5 (Debian 1:3.3.5-8)
mysql Ver 12.22 Distrib 4.0.23
Dist Debian Testing
Im using stunnel.pem (default one)


Client Log
2005.02.16 15:04:19 LOG7[2147:16384]: mysql accepted
FD=10 from 217.212.4.33:40797
2005.02.16 15:04:19 LOG7[2147:16384]: FD 10 in
non-blocking mode
2005.02.16 15:04:19 LOG7[2322:49154]: mysql started
2005.02.16 15:04:19 LOG7[2322:49154]: TCP_NODELAY
option set on local socket
2005.02.16 15:04:19 LOG5[2322:49154]: mysql connected
from 217.212.4.33:40797
2005.02.16 15:04:19 LOG7[2322:49154]: FD 13 in
non-blocking mode
2005.02.16 15:04:19 LOG7[2322:49154]: mysql connecting
217.212.4.198:3307
2005.02.16 15:04:19 LOG7[2322:49154]: connect_wait:
waiting 10 seconds
2005.02.16 15:04:19 LOG7[2322:49154]: connect_wait:
connected
2005.02.16 15:04:19 LOG7[2322:49154]: Remote FD=13
initialized
2005.02.16 15:04:19 LOG7[2322:49154]: TCP_NODELAY
option set on remote socket
2005.02.16 15:04:19 LOG7[2322:49154]: SSL state
(connect): before/connect initialization
2005.02.16 15:04:19 LOG7[2322:49154]: SSL state
(connect): SSLv3 write client hello A
2005.02.16 15:04:19 LOG7[2322:49154]: SSL state
(connect): SSLv3 read server hello A
2005.02.16 15:04:19 LOG7[2322:49154]: SSL state
(connect): SSLv3 read server certificate A
2005.02.16 15:04:19 LOG7[2322:49154]: SSL state
(connect): SSLv3 read server done A
2005.02.16 15:04:19 LOG7[2322:49154]: SSL state
(connect): SSLv3 write client key exchange A
2005.02.16 15:04:19 LOG7[2322:49154]: SSL state
(connect): SSLv3 write change cipher spec A
2005.02.16 15:04:19 LOG7[2322:49154]: SSL state
(connect): SSLv3 write finished A
2005.02.16 15:04:19 LOG7[2322:49154]: SSL state
(connect): SSLv3 flush data
2005.02.16 15:04:19 LOG7[2322:49154]: SSL state
(connect): SSLv3 read finished A
2005.02.16 15:04:19 LOG7[2322:49154]: 2 items in
the session cache
2005.02.16 15:04:19 LOG7[2322:49154]: 3 client
connects (SSL_connect())
2005.02.16 15:04:19 LOG7[2322:49154]: 3 client
connects that finished
2005.02.16 15:04:19 LOG7[2322:49154]: 0 client
renegotiatations requested
2005.02.16 15:04:19 LOG7[2322:49154]: 0 server
connects (SSL_accept())
2005.02.16 15:04:19 LOG7[2322:49154]: 0 server
connects that finished
2005.02.16 15:04:19 LOG7[2322:49154]: 0 server
renegotiatiations requested
2005.02.16 15:04:19 LOG7[2322:49154]: 1 session
cache hits
2005.02.16 15:04:19 LOG7[2322:49154]: 0 session
cache misses
2005.02.16 15:04:19 LOG7[2322:49154]: 0 session
cache timeouts
2005.02.16 15:04:19 LOG6[2322:49154]: SSL connected:
new session negotiated
2005.02.16 15:04:19 LOG6[2322:49154]: Negotiated
ciphers: DES-CBC3-SHA SSLv3 Kx=RSA
Au=RSA Enc=3DES(168) Mac=SHA1
2005.02.16 15:04:19 LOG3[2322:49154]: SSL_read
(ERROR_SYSCALL): Connection reset by peer (104)
2005.02.16 15:04:19 LOG5[2322:49154]: Connection
reset: 0 bytes sent to SSL, 0 bytes sent to socket
2005.02.16 15:04:19 LOG7[2322:49154]: mysql finished
(0 left)






Server Log
2005.02.16 15:04:51 LOG7[29786:16384]: mysql accepted
FD=10 from 217.212.4.33:40798
2005.02.16 15:04:51 LOG7[29786:16384]: FD 10 in
non-blocking mode
2005.02.16 15:04:51 LOG7[29814:49154]: mysql started
2005.02.16 15:04:51 LOG7[29814:49154]: TCP_NODELAY
option set on local socket
2005.02.16 15:04:51 LOG5[29814:49154]: mysql connected
from 217.212.4.33:40798
2005.02.16 15:04:51 LOG7[29814:49154]: SSL state
(accept): before/accept initialization
2005.02.16 15:04:51 LOG7[29814:49154]: SSL state
(accept): SSLv3 read client hello A
2005.02.16 15:04:51 LOG7[29814:49154]: SSL state
(accept): SSLv3 write server hello A
2005.02.16 15:04:51 LOG7[29814:49154]: SSL state
(accept): SSLv3 write certificate A
2005.02.16 15:04:51 LOG7[29814:49154]: SSL state
(accept): SSLv3 write server done A
2005.02.16 15:04:51 LOG7[29814:49154]: SSL state
(accept): SSLv3 flush data
2005.02.16 15:04:51 LOG7[29814:49154]: SSL state
(accept): SSLv3 read client key exchange A
2005.02.16 15:04:51 LOG7[29814:49154]: SSL state
(accept): SSLv3 read finished A
2005.02.16 15:04:51 LOG7[29814:49154]: SSL state
(accept): SSLv3 write change cipher spec A
2005.02.16 15:04:51 LOG7[29814:49154]: SSL state
(accept): SSLv3 write finished A
2005.02.16 15:04:51 LOG7[29814:49154]: SSL state
(accept): SSLv3 flush data
2005.02.16 15:04:51 LOG7[29814:49154]: 1 items in
the session cache
2005.02.16 15:04:51 LOG7[29814:49154]: 0 client
connects (SSL_connect())
2005.02.16 15:04:51 LOG7[29814:49154]: 0 client
connects that finished
2005.02.16 15:04:51 LOG7[29814:49154]: 0 client
renegotiatations requested
2005.02.16 15:04:51 LOG7[29814:49154]: 3 server
connects (SSL_accept())
2005.02.16 15:04:51 LOG7[29814:49154]: 3 server
connects that finished
2005.02.16 15:04:51 LOG7[29814:49154]: 0 server
renegotiatiations requested
2005.02.16 15:04:51 LOG7[29814:49154]: 1 session
cache hits
2005.02.16 15:04:51 LOG7[29814:49154]: 0 session
cache misses
2005.02.16 15:04:51 LOG7[29814:49154]: 1 session
cache timeouts
2005.02.16 15:04:51 LOG6[29814:49154]: SSL accepted:
new session negotiated
2005.02.16 15:04:51 LOG6[29814:49154]: Negotiated
ciphers: DES-CBC3-SHA SSLv3 Kx=RSA
Au=RSA Enc=3DES(168) Mac=SHA1
2005.02.16 15:04:51 LOG7[29814:49154]: FD 13 in
non-blocking mode
2005.02.16 15:04:51 LOG7[29814:49154]: mysql
connecting 127.0.0.1:3306
2005.02.16 15:04:51 LOG7[29814:49154]: connect_wait:
waiting 10 seconds
2005.02.16 15:04:51 LOG3[29814:49154]: connect_wait:
getsockopt: Connection refused (111)
2005.02.16 15:04:51 LOG3[29814:49154]: Failed to
initialize remote connection
2005.02.16 15:04:51 LOG7[29814:49154]: mysql finished
(0 left)




__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
_______________________________________________
stunnel-users mailing list
stunnel-users@mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:49 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0