inital handshake always fails with GNUTLS_E_GOT_APPLICATION_DATA

Nikos Mavrogiannopoulos nmav at
Sat Oct 13 12:51:22 CEST 2012

On 10/13/2012 12:30 AM, MK wrote:

> I'm trying to use tls in an existing http server.  Unfortunately, the
> inital handshake always craps out with GNUTLS_E_GOT_APPLICATION_DATA.

Cannot really tell. Check what is occurring with wireshark. It seems the
client starts sending application data without starting a handshake.

If this is not the case then either you call gnutls_handshake() even the
handshake has terminated, or the handshake receives packets out-of-order.


More information about the Gnutls-help mailing list