Hi Tim,
Is it possible that you're running afoul of your csrf protection mechanism? Without knowing anything about your setup it's hard to say, but those tokens are often good for one request only. If hookbox is receiving the initial connection ("incoming websocket connection") but your connect hook never executes, it may be something is preventing the "connect" message from reaching your connect hook.
The "OK" response is a little confusing, though.
I have seen the bug intermittently too although I cannot reproduce it.
Besides letting it run over a 24 hr period, what other conditions are
necessary to reproduce the bug?
How many active connections, etc?
If the bug could be reproduced reliably, then it would be much easier to
track down the problem.
Thanks,
Salman
>
> On 29 Dec., 15:03, Ergo <erg...@gmail.com> wrote:
>> Salman,
>>
>> do you visit #hookbox?
Not usually.
>>
>> i have a test case built where we successfully exposed the error - but
>> it needs a live server and few 3-5 folks who can open their browsers
>> to stress the server.
Good. Have you described your test on the mailing list previously?
>>
>> if you have a moment to talk with me on IRC i can try to help debug
>> the issue with you.
The earliest I can come on the IRC channel is Monday.
I'm in the eastern timezone in the US. Let me a time when I am likely to
find you there.
>
> Salman, I am going live in January and if this bug spans multiple
> versions, a few of us will run into deep trouble soon.
I have seen this problem with version 0.3.4 commit id d35a777.
>
> We will all be very very grateful if you could look into this, as it
> is a real showstopper. You are our only hope at the moment.
>
I suspect the problem might not be in the hookbox python code but in the
ancilliary libraries, eg: csp_eventlet, rtjp_eventlet, pyjsiocompile, etc.
If that is the case, then we would really
need the author's help.
> And also, do you know what has happened to michael carter? He has been
> very silent for a while, and it makes us wonder about the future of
> hookbox.
No, I don't. Try emailing him or Martin Hunt (mgh) directly to see if that
helps.
Or ask on the Orbited mailing list.
Best,
Salman
>
> /marie_dk
>
On Wed, Dec 29, 2010 at 12:41 PM, Ergo <erg...@gmail.com> wrote:
>
[snip the description of the test case]
>
> One thing that i find important is that it needs to be tested with few
> remote ips - testing localhost i couldnt make the error appear. got
> 600 users running without issue, having server and clients on same
> machine all from 127.0.0.1
As we've discussed before, these requirements really limit your test
case's usefulness. I spent a couple of nights working on it, but was
unable to reliably reproduce the problem. Additionally, I wasn't able
to get good indication of when the problem actually surfaced. It
would be nice to include this as well.
Right now a simple test case that can clearly and reliably reproduce
the problem for one person is the thing we most need.
Thanks,
Matthew