[Libwebsockets] lws_adopt_socket

Vijay Khurdiya Vijay.Khurdiya at securetogether.com
Fri Mar 11 12:26:00 CET 2016


Hi,

I am trying to use libwebsocket 1.7.3 version. I am using ECDH server support for server. When I test with test client/server I am getting below error.


lwsts[17131]: libwebsockets test server - license LGPL2.1+SLE
lwsts[17131]: (C) Copyright 2010-2016 Andy Green <andy at warmcat.com>
Using resource path "/usr/local/share/libwebsockets-test-server"
lwsts[17131]: Initial logging level 7
lwsts[17131]: Libwebsockets version: 1.7.3 secure at ubuntu-
lwsts[17131]: IPV6 not compiled in
lwsts[17131]: libev support not compiled in
lwsts[17131]:  Threads: 1 each 1024 fds
lwsts[17131]:  mem: platform fd map:  4096 bytes
lwsts[17131]:  mem: per-conn:          308 bytes + protocol rx buf
lwsts[17131]:  canonical_hostname = ubuntu
lwsts[17131]:  Compiled with OpenSSL support
lwsts[17131]:  SSL ciphers: 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4:!HMAC_SHA1:!SHA1:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES128-SHA256:!AES128-GCM-SHA256
lwsts[17131]:  Using SSL mode
lwsts[17131]:  SSL ECDH curve 'prime256v1'
Enter PEM pass phrase:
lwsts[17131]:  Using ECDH certificate support
lwsts[17131]:  Listening on port 8101

lwsts[17072]: lws_adopt_socket: fail
lwsts[17072]: accept asks to try again
lws_adopt_socket : 1

Please suggest me hint if I am missing something.
It was working for me with 1.6. version with applied patch for ECDH.

Regards,
Vijay
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies and the original message. Secure Meters Limited or its subsidiaries (Secure), are unable to exercise control or guarantee the integrity of/over the content contained in e-mails and any views expressed in this message are those of the individual unless expressly stated with due authority of Secure. If you have any problems with the emails from Secure contact: netadmin at securetogether.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20160311/bce66c46/attachment.html>


More information about the Libwebsockets mailing list