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

Twisted and nested Deferred with inline callbacks in crossbar.io

I'm relatively new to Twisted and crossbar.io and I'm currently working on some database abstractions using sqlalchemy and alchimia (a layer to use sqlalchemy with twisted). The db abstractions I build so far are working as expected but I get…
7tupel
  • 73
  • 6
0
votes
1 answer

Can I pass binary messages using crossbar.io

So I want to transfer sound bytes over a websocket from a phone to a server. However according to http://crossbar.io/docs/Features crossbar seems to only implement json and msgpack. Can I stil transfer binary messages over crossbar using some other…
0
votes
1 answer

How to specify the client's role/AuthID when connected to Crossbar router server with AutobahnJS client?

I have set up a crossbar router server with several roles and each role has different register/call/subscribe/publish permissions. Then I use the AutobahnJS client connect to the router. But I have no idea how to specify the client role(or AuthID by…
lfree
  • 1,880
  • 3
  • 24
  • 39
0
votes
0 answers

WAMP - AutobahnJS: Multiple subscriptions when refreshing page

I'm using Crossbar as a WAMP router and publishing events that are subscribed to and rendered in a webpage frontend. From the frontend I first I make a call to tell the backend to start publishing the info. Then I subscribe to the topic. EDIT The…
Sean Lynch
  • 2,852
  • 4
  • 32
  • 46
0
votes
1 answer

synthetic multi-node crossbar system implementation

I am implementing a system composed of a collection of small systems, ie. Raspberry, Yun, Beaglebone, the occasional PC. Crossbar.io has real promise ... but, as I understand it, doesn't currently support multiple nodes. Am I correct? Does anyone…
0
votes
1 answer

How do crossover.io, WAMP, twisted (+ klein), and django/flask/bottle interact?

As I understand it (please do correct misunderstandings, obviously), the mentioned projects/technologies are as follows:- Crossover.io - A router for WAMP. Cross-language. WAMP - An async message passing protocol, supporting (among other things)…
Ng Oon-Ee
  • 1,193
  • 1
  • 10
  • 26
0
votes
1 answer

Crossbar.io : HTTP Bridge Services Caller : Sending signed requests correctly

I am using crossbar HTTP bridge service caller to use a registered RPC. But when I issue the HTTP POST message, I get 'invalid request signature' as the response. According to http://crossbar.io/docs/HTTP-Bridge-Services-Caller/, the The signature…
911
  • 908
  • 8
  • 16
0
votes
1 answer

Using 2 different client to route chat messages using ws and WAMP router

I am building a chat support application for my company, I am using node js, websocket and WAMP router to do the same, there is 2 different clients (html). One for customers to send request and one for support to respond to the same. I am confused…
0
votes
1 answer

How to configure Autobahn publish to make a subscribe event get the topic via details argument?

I am new to Autobahn and crossbar.io. So far, I try to make an onEvent function which could be used in subscribing different topics at the same time. However, I need this function to know which message comes from which topic. Then, I find there is a…
Lynn Chen
  • 88
  • 1
  • 6
0
votes
0 answers

Crossbar : Non WAMP client as an authentication node

Question in high level: How to configure Crossbar to authenticate WAMP clients through a web server which has access to user DB. Description: With crossbar dynamic authentication, a WAMP node (with access to user DB) can register an authentication…
911
  • 908
  • 8
  • 16
0
votes
1 answer

Downsides of using Autobahn as WAMP router?

I'm currently looking into using the WAMP-protocol to synchronise between server and clients of my future web-applications. They recommend using crossbar.io as the router but since Autobahn supports all four roles (publisher, subscriber, caller,…
Hedge
  • 16,142
  • 42
  • 141
  • 246
0
votes
0 answers

returning values from mysql in nodejs crossbar implementation

I just started with crossbar and nodejs. I have a PHP background. I know that mysql on nodejs is async so I added a callback but i can't get the callback to return a value to the register method from crossbar. What would be the correct way to handle…
0
votes
2 answers

Crossbar.io pass RPC arguments to dynamic authorizer

I am using Crossbars dynamic authorization to authorize all RPCs in my application. Is it or will it be possible to access the arguments of the RPC in the authorizer?
au.re
  • 393
  • 1
  • 8
0
votes
1 answer

Associate role to a Crossbar component

I would like to run a component with a certain role. But each time I set the "role" argument to my component the Crossbar server runs like there is a infinite loop in it : the first time I get on the page, everything work perfectly but if I refresh…
Neilujd
  • 61
  • 1
  • 9
0
votes
0 answers

How to run corssbar without using "crossbar start" command

I'm trying to understand crossbar and I want to make a kind of demonstration for my blog which is made with Django (python). My demo works fine but I don't get it: how to make crossbar solution working without needing to use the "crossbar start"…
Neilujd
  • 61
  • 1
  • 9