I have some vague recollections of a problem with this.

new WebSocket("ws://www.example.com/socketserver");

is how I'm opening them, I recall there being a problem with the

new WebSocket("ws://www.example.com/socketserver", "protocolOne");

style.  Try both and see if that fixes anything.

On Wed, Apr 2, 2014 at 9:01 AM, chan sisowath <[email protected]> wrote:
> a possible work-around:  update CB to official version
>
> here command for linux shell:
>>rm -fr deps
>>git pull origin master
>>make clean && make
>
> i use firefox and chrome Version 33.0.1750.152 Ubuntu 13.10 (256984)
> it work for me.
>
>
>
>
> 2014-04-02 5:51 GMT+08:00 Szymon Czaja <[email protected]>:
>
>> Thank you David.
>> Websockets work well with Firefox 25.0, they do not in Chrome Version
>> 33.0.1750.146. I am getting 'connection closed' on the server side and it
>> looks like the browser is failing to do ssl handshake with the server. I am
>> running:
>>
>> {cb_admin,"Chicago Boss Admin Interface",
>>            "/bin/sh: 1: 0.7.1: not found"},
>>  {hub,"My Awesome Web Framework",
>>       "/bin/sh: 1: 0.0.1: not found"},
>>  {boss,"Chicago Boss web framework, now serving three flavors of Comet",
>>        "0.8.11"},
>>  {cowboy,"Small, fast, modular HTTP server.","0.9.0"},
>>  {ranch,"Socket acceptor pool for TCP protocols.","0.9.0"},
>>  {cowlib,"Support library for manipulating Web protocols.",
>>          "0.4.0"},
>>  {tinymq,"TinyMQ: a diminutive message queue","0.1.0"},
>>  {mimetypes,"mimetypes","1.0"},
>>  {crypto,"CRYPTO version 2","3.2"},
>>  {lager,"Erlang logging framework","2.0.3"},
>>  {goldrush,"Erlang event stream processor","0.1.6"},
>>  {compiler,"ERTS  CXC 138 10","4.9.4"},
>>  {syntax_tools,"Syntax tools","1.6.13"},
>>  {sasl,"SASL  CXC 138 11","2.3.4"},
>>  {stdlib,"ERTS  CXC 138 10","1.19.4"},
>>  {kernel,"ERTS  CXC 138 10","2.16.4"}
>>
>>
>> Any work-arounds?
>>
>>
>>
>> On Tuesday, 1 April 2014 09:15:05 UTC+1, David Welton wrote:
>>>
>>> Hi,
>>>
>>> > Guys, I have downloaded the draw tutorial and this is just not
>>> > kicking...
>>> > The connection to my websockets handler gets immediately closed. Any
>>> > ideas?
>>> >
>>> > I have played around a bit with Zotonic and I have to admit the support
>>> > for
>>> > websockets there is just so much better, there is automatic fallback to
>>> > comet and it just works. They have their own java script libraries for
>>> > this
>>> > whereas CB simply lacks this basic stuff. Making the use of websockets
>>> > useless in production...
>>> >
>>> > Any plans to improve websockets handling in the nearest future?
>>>
>>> Chicago Boss is in something of a transition period, so it's kind of
>>> rough around the edges right now.  But the web socket stuff does work,
>>> or at least it did in the past.  We were successfully using it.
>>>
>>> CB is a lot smaller than Zotonic (check out the difference in memory
>>> footprints), so it's more of a system where you'll need to bring a few
>>> of your own libraries and build the application you want, rather than
>>> getting a ton of stuff out of the box.
>>>
>>> --
>>> David N. Welton
>>>
>>> http://www.welton.it/davidw/
>>>
>>> http://www.dedasys.com/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "ChicagoBoss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> Visit this group at http://groups.google.com/group/chicagoboss.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/chicagoboss/797363f5-7c0c-444f-81cf-92cfddf1fe6a%40googlegroups.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "ChicagoBoss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chicagoboss/CAB-Ofhk4SoQmqmpmcB1qRt2WgKxe-j5Ph70vfvtHBdmfDGMThA%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/CA%2Bb9R_uZcL1KZRN%2BYzYpqscR%3DSfqi228FYiMLWirjufcQQNpZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to