[stunnel-users] "connect_blocking"

Maroon Brinks mrobinson at firstderivatives.com
Wed Oct 19 11:12:11 CEST 2011


Hi Everyone,

I was hoping you could help.  I cannot for the life of me get my program to 
connect through stunnel to this ip address.  It appears to connect to stunnel 
just fine, however I constantly recieve: "connect_blocking" and I've found it 
very very hard to find information on the internet about this error.  Here is 
the log output below followed by my configuration file:

####LOG####

2011.10.19 09:49:56 LOG7[28234:139956427736816]: local socket: FD=8 allocated 
(non-blocking mode)
2011.10.19 09:49:56 LOG7[28234:139956427736816]: Service bgcssl accepted FD=8 
from 127.0.0.1:58178
2011.10.19 09:49:56 LOG7[28234:139956427839760]: Service bgcssl started
2011.10.19 09:49:56 LOG7[28234:139956427839760]: Option TCP_NODELAY set on local 
socket
2011.10.19 09:49:56 LOG5[28234:139956427839760]: Service bgcssl accepted 
connection from 127.0.0.1:58178
2011.10.19 09:49:56 LOG7[28234:139956427839760]: remote socket: FD=9 allocated 
(non-blocking mode)
2011.10.19 09:49:56 LOG6[28234:139956427839760]: connect_blocking: connecting 
148.106.128.90:7631
2011.10.19 09:49:56 LOG7[28234:139956427839760]: connect_blocking: s_poll_wait 
148.106.128.90:7631: waiting 10 seconds
2011.10.19 09:50:06 LOG3[28234:139956427839760]: connect_blocking: s_poll_wait 
148.106.128.90:7631: TIMEOUTconnect exceeded
2011.10.19 09:50:06 LOG5[28234:139956427839760]: Connection reset: 0 bytes sent 
to SSL, 0 bytes sent to socket
2011.10.19 09:50:06 LOG7[28234:139956427839760]: Service bgcssl finished (0 
left)
2011.10.19 09:50:06 LOG7[28234:139956427839760]: str_stats: 0 block(s), 0 data 
byte(s), 0 control byte(s)

####CONFIG FILE####

; stunnel.conf

pid        = /home/stunnel/bin/stunnel.pid
;setuid     = nobody
;setgid     = nobody
foreground = yes

sslVersion = TLSv1
service = stunnel

client = yes
debug = 7
output = stunnel.log

[bgcssl]
client = yes
accept = 127.0.0.1:12347
connect = 148.106.128.90:7631

Any help would be greatly appreciated.

Regards,
Mark




More information about the stunnel-users mailing list