And let me add that I found debugging Autobahn frustrating because it
doesn't bubble up exceptions anywhere obvious, but I worked around that
by hooking the websocket's handlers like this:
connection._websocket.onerror = function(evt) {
console.log("websocket error: " + evt.reason)
console.log(evt)
}
connection._websocket.onclose = function(evt) {
console.log("websocket close: " + evt.reason)
console.log(evt)
}
You must put these lines *after* calling connection.open() though,
because AutobahnJS doesn't create ._websocket until then.
By the way, it is easier and much more likely that you will get help if
you can post your code with questions like this. Can you reduce your
code to a single html file with inline javascript plus a single python
server file? If you paste that (say to pastebin or github) then we can
take a look without guessing.
On Mon, Feb 24, 2014 at 10:19 AM, Chuck James <
amitab...@gmail.com>
wrote:
> --
> You received this message because you are subscribed to the Google
> Groups "Autobahn" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
autobahnws+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>