Topic: error=-308, error state on socket

Hi,

I am running Server example code in visual studio 2013 express. i am trying to connect server through GSM Modem through AT command, But i am getting error "+CME ERROR: SSL error during handshake" at Client Side.
and On Server side i got below error.

error=-308, error state on socke
SSL_accept Fail

please Help me to slove this issue.

Thanks In Advance.

Share

Re: error=-308, error state on socket

Hi Nimesh,

It is helpful in cases like this to enable wolfSSL debug logging.  Are you able to do this?  You can enable debug messages by compiling wolfSSL with DEBUG_WOLFSSL defined, then calling wolfSSL_Debugging_ON() as the first wolfSSL API called by your application.

By default, log messages with print to stderr using fprintf().

Thanks,
Chris