[Libwebsockets] TIMEDOUT waiting on 4

Julio A. Becerra julioabg at gmail.com
Wed Mar 4 15:19:53 CET 2015


I just compiled git and this is what I got when I try to connect:

[1425482298:0331] INFO: Unknown method - dropping
[1425482298:0332] WARN: problems parsing header
[1425482298:0332] INFO: closing connection at LWS_CONNMODE...SERVER_REPLY
[1425482298:0332] INFO: remove_wsi_socket_from_fds: wsi=0x1f21ca0, sock=6,
fds pos=1

Thanks!


2015-03-04 14:43 GMT+01:00 Andy Green <andy at warmcat.com>:

>
>
> On 4 March 2015 20:04:22 GMT+08:00, "Julio A. Becerra" <julioabg at gmail.com>
> wrote:
> >Thanks,
> >
> >Any advice on what could be failing? I mean, why I get this timeout. I
> >never get to the point of receiving a LWS_CALLBACK_CLIENT_ESTABLISHED
> >from
> >the library.
>
> Is this current git?  If not please try that.
>
> -Andy
>
> >I tried with a websockets python library and it works perfectly, so it
> >doesn't seem a server problem.
> >
> >Regards
> >
> >2015-03-04 7:17 GMT+01:00 Andy Green <andy at warmcat.com>:
> >
> >>
> >>
> >> On 4 March 2015 13:14:05 GMT+08:00, "Julio A. Becerra"
> ><julioabg at gmail.com>
> >> wrote:
> >> >I am trying to connect to a WSS server, but after trying for a few
> >> >hours, I
> >> >couldn't find the solution.
> >> >
> >> >I am getting this output:
> >> >
> >> >[1425449467:6057] INFO: SSL_connect WANT_... retrying
> >> >[1425449467:6057] INFO: SSL_connect WANT_... retrying
> >> >... (a few hundreds)
> >> >[1425449467:6058] INFO: SSL_connect WANT_... retrying
> >> >[1425449467:6058] INFO: SSL_connect WANT_... retrying
> >> >[1425449473:0043] INFO: TIMEDOUT WAITING on 4
> >> >[1425449473:0043] INFO: remove_wsi_socket_from_fds: wsi=0xdb1740,
> >> >sock=6,
> >> >fds pos=1
> >> >
> >> >What does "TIMEDOUT WAITING on 4" means?
> >>
> >> It's the thing it timed out waiting for...
> >>
> >> PENDING_TIMEOUT_AWAITING_SERVER_RESPONSE
> >>
> >> in this case (see libwebsockets.h)
> >>
> >> -Andy
> >>
> >> >Thanks!
> >> >
> >> >
> >>
> >>------------------------------------------------------------------------
> >> >
> >> >_______________________________________________
> >> >Libwebsockets mailing list
> >> >Libwebsockets at ml.libwebsockets.org
> >> >http://ml.libwebsockets.org/mailman/listinfo/libwebsockets
> >>
> >>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20150304/be8c3b0a/attachment-0001.html>


More information about the Libwebsockets mailing list