[Libwebsockets] SSL_ERROR_WANT_READ error

Srikar Vadlamani SrikarVadlamani at trafficware.com
Fri Oct 21 16:05:47 CEST 2016


I am seeing the below logs from the lws library, when trying to accept an SSL connection,
These messages are repetitive and the system runs out of ram and crashes.

What can be the underlying reasons the SSL library is failing, any comments or help would be really appreciated.

insert_wsi_socket_into_fds: 0x13d5d860: tsi=0, sock=924, pos-in-fds=916
lws_set_timeout: 0x13d5d860: 20 secs
inserted SSL accept into fds, trying SSL_accept
SSL_accept failed 2 / error:00000002:lib(0):func(0):system lib
lws_header_table_attach: wsi 0x13d5d860: ah (nil) (tsi 0, count = 4) in
lws_header_table_attach: adding 0x13d5d860 to ah waiting list
accepted new conn  port 64463 on fd=925
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20161021/c8cdb876/attachment.html>

More information about the Libwebsockets mailing list