Error Code -56
simon at josefsson.org
Thu Mar 1 12:22:01 CET 2012
Mihir Kulkarni <mihirk.31 at gmail.com> writes:
> We are trying out with Gnutls. We have created a dummy extension Foobar
> following the steps given in the manual. We are using
> "_gnutls_ext_set_session_data" in the client and then using
> "_gnutls_ext_get_session_data" in the server to retrieve the data. The
> value gets set correctly in client but when we retrieve it in the server,
> the get function returns -56 as error code. Our implementation of Foobar
> extension is almost similar to server-name extension already present in
> Can someone give some clarification as to what might be going wrong? Do let
> me know if more information is needed.
The error -56 means GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE, see gnutls.h.
Try running the server with debug logging and enabled, and in
particular, try to find exactly where the -56 error is triggered.
More information about the Gnutls-help