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

How to re-register a WAMP callee after a reconnect using Autobahn Python with Twisted ReconnectingClientFactory?

I have an Autobahn Python client application using Twisted which is connected to a Crossbar.io server. The client application can successfully reconnect after losing network connectivity using the ReconnectingClientFactory. The client registers a…
Harold Short
  • 171
  • 9
6
votes
1 answer

How to configure Autobahn(crossbar.io) for dynamic chat rooms?

I love crossbar.io and how it works(personally). But I would like to know how we could setup the architecture for a typical dynamic chat application using Autobahn(Crossbar.io). Dynamic chat here means, individual chat room created for each url. For…
Kamalakannan J
  • 2,818
  • 3
  • 23
  • 51
5
votes
2 answers

Sinon.js spy.called not working on RPCs

Background I have a server that registers some RPCs using crossbar, and a test that is trying to make sure that the RPCs are being called using sinon. Code server.js "use strict"; const autobahn = require( "autobahn" ); const server = () => { …
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
4
votes
0 answers

Crossbar says 'no callee registered for procedure'

Despite having two nodes connected to a crossbar router on my local network, they aren't seeing each other and the browser console is saying: Browser console: Potentially unhandled rejection [1] {"error":"wamp.error.no_such_procedure","args":["no…
sscirrus
  • 55,407
  • 41
  • 135
  • 228
3
votes
1 answer

Autobahn.JS drops connection

I've got a Crossbar.js implementation where data is send between client (website) and server (Node.js) over a Crossbar websocket server. Both sides use Autobahn.JS to connect to the Crossbar server. The connection works fine, but it seems that both…
Mark
  • 3,224
  • 2
  • 22
  • 30
3
votes
1 answer

Integrate Autobahn|Python with aiohttp

I'm trying to integrate an aiohttp web server into a Crossbar+Autobahn system architecture. More in detail, when the aiohttp server receive a certain API call, it has to publish a message to a Crossbar router. I've seen this example on the official…
gmanzoli
  • 77
  • 1
  • 8
3
votes
1 answer

reestablish WAMP subscriptions after reconnect

I'm using autobahn-js (0.11.2) in a web browser and the crossbar message router (v17.2.1) in the backend. In case of a network disconnect (e.g. due to poor network) the autobahn-js client can be configured to try to reconnect periodically. Now in…
markop
  • 186
  • 11
3
votes
1 answer

Authentication to use for user notifications using Crossbar/Autobahn?

I'm currently trying to implement a user notification system using Websockets via Crossbar/Autobahn. I have done multiple tests and gone through the documentation, however, I'm not sure if there's a solution to having the following workflow work:…
3
votes
2 answers

Unable to connect to crossbar router using TLS

I ran the example here: https://github.com/crossbario/crossbarexamples/tree/master/wss/python, and everything works fine. However, the following case does not work for me: The config.json file: { "controller": {}, "workers": [ { …
Iulian
  • 1,496
  • 2
  • 15
  • 35
3
votes
4 answers

Is it possible to do a streaming RPC call using WAMP?

I would like to use the WAMP protocol for RPC and Pub/Sub using websockets. In particular, I am interested in using crossbar.io as a WAMP server. I read through the spec for WAMP and it was not clear whether it's possible to stream data as part of…
jedesah
  • 2,983
  • 2
  • 17
  • 29
3
votes
1 answer

Get host and port for Heroku app

I'm trying to get a Crossbar.io app running on Heroku. Crossbar.io requires you to put the app's host in a config file that's used to launch the app. I've tried the following: my-app-name.herokuapp.com: No dice. I imagine Heroku does some fancy…
Huhwha
  • 575
  • 5
  • 15
3
votes
1 answer

Single AppSession can't subscribe to and publish on the same topic

Based on the simple Hello World example, I replace the oncounter topic with the onhello one when publishing. That would mean the AppSession is subscribing to a topic it is itself publishing. I'd guess it should be able to receive its own messages…
Jean-Robert
  • 840
  • 6
  • 10
2
votes
0 answers

Python websocket server-client (PubSub) Restreamer

I'm, getting WebSocket data from a website, code is written in python and uses autobahn, twisted, threading for WebSocket handling. The process follows ws.subscribe() for subscribing to different items and ws.unsubscribe() to…
Dr.PB
  • 959
  • 1
  • 13
  • 34
2
votes
1 answer

Autobahn websocket client in Quart (async Flask) application

Good evening everyone. I'm not quite new to this place but finally decided to register and ask for a help. I develop a web application using Quart framework (asynchronous Flask). And now as application became bigger and more complex I decided to…
Andrew K
  • 41
  • 4
2
votes
0 answers

Tableau WAMP Data Connector

Tableau has several data connectors. These all seem to use a request/response mechanism that pulls / polls for data updates. I have a data service that talks WAMP (web application messaging protocol) using crossbar.io (router) and autobahn-python…
victtim
  • 790
  • 5
  • 17
1
2 3
9 10