[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnutls] help troubleshooting "TLS packet with unexpected length wa
[Help-gnutls] help troubleshooting "TLS packet with unexpected length was received" error
Mon, 23 Mar 2009 11:38:52 -0400
I am having a GnuTLS connection problem that I could use some help
When using the Debian pycurl package compiled against GnuTLS to
connect to api.smugmug.com (which uses a GoDaddy wildcard cert), I get
GnuTLS recv error (-9): A TLS packet with unexpected length was
I am able to reproduce the problem using gnutls-cli v2.6.4 built from
./src/gnutls-cli -d 4711 --x509cafile
[.. inline snip, output from "-d 4711" attached ..]
- Peer's certificate is trusted
- Version: TLS1.0
- Key Exchange: RSA
- Cipher: 3DES-CBC
- MAC: SHA1
- Compression: NULL
- Handshake was completed
- Simple Client Mode:
GET / HTTP/1.0
*** Fatal error: A TLS packet with unexpected length was received.
*** Server has terminated the connection abnormally.
If I use OpenSSL's s_client, I get the expected response from the
I am not sure how to interpret the debug output or what to try next.
Any help would be appreciated. Thank you.
 using the command "openssl s_client -connect api.smugmug.com:443"
Description: Text document
Description: Digital signature
- [Help-gnutls] help troubleshooting "TLS packet with unexpected length was received" error,
Brad Fritz <=