Questions tagged [crossbar]

Crossbar.io unified application router

Crossbar.io unified application router

Crossbar.io is an open-source middleware software built on the WAMP application routing protocol that allows developers to create distributed systems, composed of application components which are loosely coupled, communicate in (soft) real-time and can be implemented in different languages.

140 questions
0
votes
0 answers

How to intercept the Websocket call in Crossbar+Autobahn

I want to know if it is possible to implement some interceptor to check user authentication in websocket RPC. My use case is User registers himself with some token using URI 'com.safe.reg' Token is validated and cached against the sessionid For…
Amit Teli
  • 875
  • 11
  • 25
0
votes
1 answer

Run Flask in multi-threaded mode with crossbar.io

Is there a way to launch a Flask application in multi-threaded mode with the crossbar.io server?
0
votes
0 answers

Can I subscribe to all topics on a crossbar.io broker with a single subscription?

I'm trying to monitor all topics published on a crossbar.io broker. My attempt so far is to subscribe to topic="" with matching policy of 'prefix' but that doesn't seem to work, whereas topic="a" with matching policy of 'prefix' does see all events…
Thickycat
  • 894
  • 6
  • 12
0
votes
0 answers

Triggered exit from ApplicationRunner in autobahn python

I'm just starting out with autobahn python and I'm using the helper ApplicationRunner class to make a basic connection. My intent is to connect once, fire a message and then exit as that's all the script I'm writing needs to do. The issue I've run…
radman
  • 17,675
  • 11
  • 42
  • 58
0
votes
0 answers

Crossbar is throwing AttributeError: 'module' object has no attribute 'make_batched_timer'

When I try to run crossbar getting the below error: Traceback (most recent call last): from crossbar.controller.cli import run File "/Users/mahesh/.virtualenvs/testproject/lib/python2.7/site-packages/crossbar/controller/cli.py", line 49, in…
mahesh
  • 119
  • 10
0
votes
1 answer

Receiving an UDP Packet from Arduino in a CrossbarServer in Python

I'm new using WAMP protocol and CrossbarIO servers that are based on the WAMP protocol. The problem is. I have and Arduino Uno + EthernetShield and I want to send the information to the CrossbarServer. The Arduino Uno has not support for Autobahn…
0
votes
1 answer

Autobahn cannot import autobahn.wamp.router

I'm getting an import error when running crossbar start: 2016-05-19 15:39:52+0300 [Controller 6020] ImportError: No module named autobahn.wamp.router I've found the source for the router module here but it seems to be missing from my library (I'm…
EatEmAll
  • 87
  • 11
0
votes
1 answer

Crossbar Thruway worker crashes

I have a Crossbar.io server with PHP Thruway workers. Recently, I started getting the following error. It happens about once a day now: 2016-04-17T21:08:12+0000 [Router 9572] Unable to format event {'log_logger':
Casper Alant
  • 452
  • 5
  • 15
0
votes
0 answers

Crossbar ImportError: cannot import name parseWsUrl

Created virtual environment: virtualenv my_test Installed crossbar: source bin/activate && pip install crossbar Following are the…
Romaan
  • 2,645
  • 5
  • 32
  • 63
0
votes
1 answer

importing pycurl to crossbar.io errors out

OK so I want to use crossbar.io and build an app in python. I can get the demo working however my app will need to spin off threads which use pycurl to listen to long-lived http connects. separately, the crossbar.io code and the pycurl code work,…
MostWanted
  • 571
  • 1
  • 5
  • 12
0
votes
1 answer

Returning an array from a remote procedure

I register an RCP procedure using the Thruway client and call it using the Autohahn client. The issue I faced is that when the callee returns an empty array from the procedure return array(); the caller receives the null value. When the callee…
Kolyunya
  • 5,973
  • 7
  • 46
  • 81
0
votes
1 answer

Connection to crossbar.io either hangs or disconnects

I'm trying to connect to crossbar on a remote host using Python with autobahn[Twisted] I'm using a modified example code from PubSub: from __future__ import print_function from os import environ from twisted.internet import reactor from…
Gizmo
  • 1
  • 1
0
votes
2 answers

Crossbar 0.12.1 : No module named django - wsgi error

I get an error while i launch crossbar 0.12.1 that I did not have with the version 0.11 [Controller 210] crossbar.error.invalid_configuration: WSGI app module 'myproject.wsgi' import failed: No module named django - Python search path was…
Slaan
  • 152
  • 1
  • 8
0
votes
0 answers

Install Crossbar 0.12 from PPA on Ubuntu 14.04

I am using the Ubuntu PPA for Crossbar and am running 0.11.1. I need the option to use certificate chains which does not seem to be available in this version; is there an easy mechanism to upgrade at this point either using the PPA or copying files…
M1ke
  • 6,166
  • 4
  • 32
  • 50
0
votes
1 answer

Ruby wamp-client gem - connection to crossbar.io

I'm new in Ruby I'm trying to use wamp-client gem to establish connection to crossbar.io router. Crossbar have all defaults settings and application created via crossbar template (python as back-end). When I'm connecting via browser everything is…
John B.
  • 1
  • 3