Receiving forst message after succcessfull TLS negotiation failed

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat May 12 10:05:13 CEST 2012


On 05/11/2012 03:26 PM, Vitali Schauermann wrote:

> Hello,
> 
> 
> i am using a XMPP library (iksemel) with GnuTLS support for communication with a
> XMPP server (GoogleTalk or Openfire).
> 
> The TLS negotiation (handshake) is performed without errors, but the firs read
> request fails with following error code:
> 
> GNUTLS_E_UNEXPECTED_PACKET_LENGTH /* GNUTLS_A_RECORD_OVERFLOW */
> Obviously, this as some kind of error, which is not ambiguous and points to some
> deeper problem,
> the question is, it is possible to "enable" some debuging information for gather
> the really problem ?


Yes, it is in the manual in the debugging section.
http://www.gnu.org/software/gnutls/documentation.html

Another ways to debug is by using packet capture of wireshark, or
reproducing the issue using gnutls-cli.

regards,
Nikos






More information about the Gnutls-help mailing list