> <mailto:autobahnws+unsub...@googlegroups.com>.
I am on mobile .. so ultrashort reply:
http://crossbar.io/docs/WAMP-Long-Poll-Service/
https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll
However: AutobahnJS with LP is not finished. Need to get that done now and wipe the LP issue off my backlog ..
Sent from Mobile (Google Nexus 5)
To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.
To post to this group, send email to autob...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/598e02f5-0810-4194-b23d-a6f4949c83c4%40googlegroups.com.
> <mailto:autobahnws+unsubscribe@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
> > <mailto:autobahnws+__unsub...@googlegroups.com>.
> > For more options, visit
> https://groups.google.com/d/__optout
> <https://groups.google.com/d/optout>.
>
> --
> 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 <javascript:>.
> To post to this group, send email to autob...@googlegroups.com
> <javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/autobahnws/598e02f5-0810-4194-b23d-a6f4949c83c4%40googlegroups.com
> <https://groups.google.com/d/msgid/autobahnws/598e02f5-0810-4194-b23d-a6f4949c83c4%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> 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
> <mailto:autobahnws+unsub...@googlegroups.com>.
> <mailto:autobahnws+__unsub...@googlegroups.com <javascript:>>.
> > <mailto:autobahnws+unsub...@googlegroups.com <javascript:>>.
> > To post to this group, send email to autob...@googlegroups.com
> <javascript:>
> > <mailto:autob...@googlegroups.com <javascript:>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com
> <https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com>
>
> >
> <https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> 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
> <mailto:autobahnws+unsub...@googlegroups.com>.
<javascript:> <javascript:>>.> <mailto:autobahnws+__unsub...@googlegroups.com
<javascript:> <javascript:>>.> > <mailto:autobahnws+unsub...@googlegroups.com
> > To post to this group, send email to
autob...@googlegroups.com
> <javascript:>
> > <mailto:autob...@googlegroups.com <javascript:>>.
> > To view this discussion on the web visit
> >
>
https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com>
>
<https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com>>
>
> >
>
<https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com?utm_medium=email&utm_source=footer
<https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com?utm_medium=email&utm_source=footer>
>
<https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com?utm_medium=email&utm_source=footer
<https://groups.google.com/d/msgid/autobahnws/43e3f6ee-2b26-40ec-b07e-c2ce6d83f7ac%40googlegroups.com?utm_medium=email&utm_source=footer>>>.
>
> > For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>
> <https://groups.google.com/d/optout
<https://groups.google.com/d/optout>>.
>
> --
> 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 <javascript:>
> <mailto:autobahnws+unsub...@googlegroups.com <javascript:>>.
> To post to this group, send email to autob...@googlegroups.com
<javascript:>
> <mailto:autob...@googlegroups.com <javascript:>>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/autobahnws/88fb249b-1263-44b2-8910-f5a3ddc27fc7%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/88fb249b-1263-44b2-8910-f5a3ddc27fc7%40googlegroups.com>
>
<https://groups.google.com/d/msgid/autobahnws/88fb249b-1263-44b2-8910-f5a3ddc27fc7%40googlegroups.com?utm_medium=email&utm_source=footer
<https://groups.google.com/d/msgid/autobahnws/88fb249b-1263-44b2-8910-f5a3ddc27fc7%40googlegroups.com?utm_medium=email&utm_source=footer>>.
> For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
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+unsubscribe@googlegroups.com
<mailto:autobahnws+unsub...@googlegroups.com>.
To post to this group, send email to autob...@googlegroups.com
<mailto:autobahnws@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/53EE2208.3010007%40gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Autobahn" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/autobahnws/Y7kn85toj9A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to autobahnws+unsubscribe@googlegroups.com.
To post to this group, send email to autob...@googlegroups.com.
Hi Scott,
Am 22.08.2014 02:36, schrieb Scott Wittenburg:Great!
Hi Tobias,
Today I started trying to get Crossbar.io to run our existing server
which extends ApplicationSession. I have been able to at least get
crossbar to start the server (I think, though I don't see any of the
expected print messages), and this is nice. I can also seemingly
No, not your fault. Just came back from a business trip, but I'll add an app template to CB that shows how to do auth stuff and update the docs over the weekend.
connect from the browser using our existing client (based on autobahn
js). However, I have not yet got the authentication in place, and
perhaps this is why all of our rpc methods are coming back with errors
("wamp.error.no_such_procedure"). So, before I try to fix our
authentication to work under Crossbar.io, I'm wondering if it's really
still true what it says on the wiki, linked below, that the cra
authentication is not yet implemented?
https://github.com/crossbario/crossbar/wiki/Authentication
WAMP CRA is the kind of authentication we recently got working again
since we upgraded to WAMP v2. If the wiki is out of date and cra is, in
fact, implemented, do you have an example of setting that up under
Crossbar.io? Otherwise, maybe I should try without authentication for
the time being? Or perhaps try another authentication method?
It's clear. What would be interesting is what you are doing in the AuthDb class. E.g. is that storing user creds in an embedded sqllite or does it reach out to a RBDMS like Postgres?
Hopefully my question is clear. But in case not, maybe an example would
Exactly. The only thing that Crossbar.io needs to know (from config) is the ApplicationSession class you want to have started as a component.help. We used to start our server with code like the following (which
probably looks familiar from your WAMP examples)
# Create WAMP router factory
from autobahn.twisted.wamp import RouterFactory
router_factory = RouterFactory()
# create a user DB
authdb = vtk_wamp.AuthDb()
# create a WAMP router session factory
from autobahn.twisted.wamp import RouterSessionFactory
session_factory = RouterSessionFactory(router_factory)
session_factory.session = vtk_wamp.CustomWampCraRouterSession
session_factory.authdb = authdb
# Register protocol, "protocol()" constructs and returns something
# that extends ApplicationSession.
session_factory.add(protocol(authdb=authdb))
But with Crossbar.io, we don't use any of this code anymore. Instead we
All the boilerplate is taken care of by CB.
Yes. The CB docs are incomplete .. I'll address that quickly.
just set up our "workers"->"container"->"components"->"classname" (in
config.json) and our "entry_points" (in setup.py) to refer to the class
that extends ApplicationSession, and then it seems to be magically
started for us. So I guess we would need to set up the authentication
Awesome! It'll only get better over time .. things like real-time monitoring / insight into the messaging between your app components and such (which will be awesome for developing). And you'll then profit from those improvements immediately.
differently now, and that's what I'm not sure how to do.
Anyway, it seems that Crossbar.io has a lot of really cool possibilities
for us, and we're just getting started trying to figure out all the
various ways it can be used.
To post to this group, send email to autob...@googlegroups.com
<mailto:autobahnws@googlegroups.com>.
--
You received this message because you are subscribed to a topic in the Google Groups "Autobahn" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/autobahnws/Y7kn85toj9A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to autobahnws+unsubscribe@googlegroups.com.
To post to this group, send email to autob...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/53F6F7F5.3010109%40gmail.com.