Python autobahn/crossbar WAMP as part of a twisted.application.service.MultiService
60 views
Skip to first unread message
mark.he...@gmail.com
unread,
May 6, 2015, 3:07:33 AM5/6/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to autob...@googlegroups.com
Hello,
I’m trying to add a WAMP service to a MultiService instance for a twistd plugin, but seem to be doing something wrong and cannot get a pair of WS connections to send messages between one another.
When I run the plugin with something like `twistd -n myapp` then everything starts listening OK, and the browser connections are made successfully. The problem seems to be that they never receive any of the messages sent to them by the other connection.
Thanks for any suggestions :)
Cheers,
Mark
mark.he...@gmail.com
unread,
May 6, 2015, 3:18:17 AM5/6/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to autob...@googlegroups.com
Apologies, I forgot to include versions I’m using:
Twisted==15.1.0
crossbar==0.10.4
autobahn==0.10.3
Cheers,
Mark
Tobias Oberstein
unread,
May 6, 2015, 3:41:30 AM5/6/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to autob...@googlegroups.com
Hi Mark,
using Crossbar.io internal classes "from outside" is unsupported,
regardless of how you use them. You should look at Crossbar.io as a
black-box service like Apache.
using Crossbar.io internal classes "from outside" is unsupported,
regardless of how you use them. You should look at Crossbar.io as a black-box service like Apache.
Hmm, OK, thanks. How do I go about adding other (non–WAMP) services to crossbar so they’re run at the same time? I have a couple of Twisted services (in addition to the WAMP service) which need to share a pool of txredisapi connections and start up at the same time. This was easy enough with plain autobahn, can crossbar be told to run as a twisted plugin?