haproxy + stunnel weirdness...

From: Chris Charman <chris#bizo.com>
Date: Tue, 7 Oct 2008 16:03:59 -0700


Hey folks...

I'm using haproxy with stunnel for SSL support. I'm finding a very strange thing. I have port 443 tunneled to port 80 on the loadbalancer host. When I hit the proxy via one CNAME (https://data.mycompany.foo), I connect fine. When I try connecting to another CNAME, (https://www.mycompany.foo) I get a connection error. The stunnel log shows:

2008.10.07 23:01:27 LOG7[16084:1073809744]: SSL state (accept): before/accept initialization
2008.10.07 23:01:27 LOG3[16084:1073809744]: SSL_accept: 1408F10B: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number 2008.10.07 23:01:27 LOG5[16084:1073809744]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2008.10.07 23:01:27 LOG7[16084:1073809744]: https finished (0 left)

Also, is there a patch for x-forwarded-for for stunnel 4.21?

Thanks in advance! Received on 2008/10/08 01:03

This archive was generated by hypermail 2.2.0 : 2008/10/08 01:16 CEST