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
1 answer

Registering remote procedures with autobahn java

The standard way of registering procedures in autobahn-java is: CompletableFuture order_to_produce = session.register(prefix + "order_to_produce", this::order_to_produce); order_to_produce.thenAccept(registration ->…
0
votes
1 answer

Using Lets Encrypt SSL certificates with crossbar WAMP router (0.13)

A certificate has been generated from Let's Encrypt and installed onto an existing (working) crossbar server as follows (and as the documentation suggests): "endpoint": { "type": "tcp", "port": 8089, "tls": { "key":…
M1ke
  • 6,166
  • 4
  • 32
  • 50
0
votes
2 answers

How to authenticate a WAMP connection via a ticket in python

I'm trying to connect to a WAMP bus from a different application that has certain roles configured. The roles are authenticated with a static ticket, so I believe that I need to declare what role I want to connect as and what the associated ticket…
Emily
  • 119
  • 1
  • 3
  • 13
0
votes
1 answer

Dynamic Authorizer on other realm on crosbar.io

I'm currently using Crossbar , and i want to put my dynamic authentifier and authorizer in a protected realm for security reason . There is an option like : "authenticator-realm : realm " for Authorizer ?
0
votes
1 answer

Crossar.io authentication failed and connection dropped on trying got Handshake with Autobahn

I got theses errors while implement login (with wampcra) using Autobahn JS to Crossbar.io: 2018-04-13T09:04:34-0300 [Router 6948] failing WebSocket opening handshake ('This server only speaks WebSocket subprotocols wamp.2.cbor.batched,…
Rafael Freitas
  • 103
  • 1
  • 8
0
votes
1 answer

upgrading from django 1.9 to 1.11 broke crossbar guest worker

After upgrading from django 1.9.6 to 1.11.11, running crossbar 17.10.1 with the following guest worker configuration fails due to not finding the DJANGO_SETTINGS_MODULE ("simpl_calc_model.settings"). { "type": "guest", "executable":…
softweave
  • 1,455
  • 2
  • 16
  • 27
0
votes
0 answers

pip not working for requirements.txt when running autobahn Python with make start

I've set up a project following https://crossbar.io/docs/Getting-Started/ and running a Python client works fine. Now, I want to use pandas in my Python client, so: I've added import pandas as pd to client_aoi.py I added pandas to…
NumesSanguis
  • 5,832
  • 6
  • 41
  • 76
0
votes
2 answers

Twisted - how to make lots of Python code non-blocking

I've been trying to get this script to perform the code in hub() in written order. hub() contains a mix of standard Python code and requests to carry out I/O using Twisted and Crossbar. However, because the Python code is blocking, reactor doesn't…
sscirrus
  • 55,407
  • 41
  • 135
  • 228
0
votes
1 answer

AutobahnPython + Twisted 'Publish' floods messages after script is finished

I have a Python script that sometimes runs a process that lasts ~5-60 seconds. During this time, ten calls to session.publish() are ignored until the script is done. As soon as the script finishes, all ten messages are published in a flood. I have…
sscirrus
  • 55,407
  • 41
  • 135
  • 228
0
votes
2 answers

Using the Decorator approach with AutobahnWS, how to publish messages independent from subscription callbacks and it's Session-Reference?

When working with Autobahn and WAMP before I have been using the Subclassing-Approach but stumbled over decorator / functions approach which I really prefer over subclassing. However. I have a function that is being called from an external hardware…
Simon Kemper
  • 635
  • 1
  • 7
  • 16
0
votes
1 answer

How can I get JSON data from the server by using Autobhan(Crossbar)

I got this as below from backend developer: session.publish('com.test.temp', [ temp, humidity, componentId, componentType ], {}, { exclude_me: true }); So I succeed in a handshake with the server using…
Gil
  • 105
  • 2
  • 5
  • 12
0
votes
1 answer

How can I use some new analog video formats or route to some new physical connectors when dealing with video capturing?

I'm developing a multimedia player app with Directshow recently, and I can successfully build the filter graph to capture video stream from a webcam. I read the Directshow document on MSDN and found that WDM video capture filter exposes…
YQ.Mei
  • 41
  • 1
  • 5
0
votes
1 answer

WAMP RPC functions with the same name on different devices

I have a program that registers an RPC function, ex. com.myapp.foo. I then run this program on several independent devices, all connected to the same router. When I start up the second device, it gets an error, because the RPC function has already…
Seth
  • 45,033
  • 10
  • 85
  • 120
0
votes
2 answers

Execution import error after success pip install compilation

My trouble On clean Ubuntu 16.04 environment, I want to install and use Crossbar.io. I have already installed pypy from ppa, virtualenv and activate a new pypy virtualenv. I had some error while installing crossbar via command pip install crossbar…
VisiBoost
  • 28
  • 5
0
votes
1 answer

Handling races between querying full state via RPC and published deltas

I am about to design a system based on autobahn. I am frequently encountering the following pattern: Clients can request a full state via an RPC topic - for example, all votes in the vote example Updates to this state are published by the server -…
Yourstruly
  • 600
  • 5
  • 12