[Libwebsockets] Failed to create default vhost

satya gowtham kudupudi satyagowtham.k at gmail.com
Wed Nov 16 15:58:22 CET 2016


Hi,

I have pulled and installed latest libwebsockets. made changes to my server
according to the latest test-server.c

when I ran my  server.c i am having following errors

lwsts[6144]: libwebsockets echo test - (C) Copyright 2010-2013 Andy Green <
andy at warmcat.com> - licensed under LGPL2.1

lwsts[6144]: Running in server mode

lwsts[6144]: Initial logging level 65535

lwsts[6144]: Libwebsockets version: 2.0.3 gowtham at ubuntu-v2.0.2-31-gb40c0b8

lwsts[6144]: IPV6 not compiled in

lwsts[6144]: libev support not compiled in

lwsts[6144]: libuv support not compiled in

lwsts[6144]:  LWS_DEF_HEADER_LEN    : 1024

lwsts[6144]:  LWS_MAX_PROTOCOLS     : 5

lwsts[6144]:  LWS_MAX_SMP           : 32

lwsts[6144]:  SPEC_LATEST_SUPPORTED : 13

lwsts[6144]:  sizeof (*info)        : 280

lwsts[6144]:  SYSTEM_RANDOM_FILEPATH: '/dev/urandom'

lwsts[6144]:  default timeout (secs): 5

lwsts[6144]:  Threads: 1 each 1024 fds

lwsts[6144]:  mem: context:          9512 bytes (5416 ctx + (1 thr x 4096))

lwsts[6144]:  mem: http hdr rsvd:   68224 bytes (1 thr x (1024 + 3240) x
16))

lwsts[6144]:  mem: pollfd map:       8192

lwsts[6144]:  mem: platform fd map:  8192 bytes

lwsts[6144]:  Compiled with OpenSSL support

lwsts[6144]:  SSL disabled: no LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT

lwsts[6144]: Creating Vhost 'default' port 80, 2 protocols

lwsts[6144]: insert_wsi_socket_into_fds: 0x7f86a0017ab0: tsi=0, sock=7,
pos-in-fds=1

lwsts[6144]: lws_http_transaction_completed: wsi 0x7f86a0017ab0

lwsts[6144]: lws_http_transaction_completed: 0x7f86a0017ab0: close
connection

lwsts[6144]: Failed to create default vhost

lwsts[6144]: libwebsocket init failed

Any help is much appreciated
--
Gowtham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20161116/e9c8e7bf/attachment.html>


More information about the Libwebsockets mailing list