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

Returning large data from RPC (Crossbar + Autobahn|Python)

I am trying to transmit large data through websockets using crossbar/autobahn's RPC. My setup is as follow: Python 2.7 A crossbar router (version 17.8.1.post1) A back-end that will try to send a large pandas DataFrame as a json string A front-end…
A. Ciclet
  • 33
  • 1
  • 4
2
votes
0 answers

Combination of prefixed and wildcard pattern based subscribtion

Is there any possibility of combine the "prefix" and "wildcard" subscription options? I want to subscribe to a channel with the following pattern: channel..messages.* In my application there is a logging component that should log for all channels…
Stefan B.
  • 374
  • 3
  • 13
2
votes
0 answers

Handshake problems

I am having a bit of a problem when using crossbar. I start running autobahn python backend and autobahn js frontend and everything seems normal until I get this error: 2016-08-01T14:12:40+0000 [Router 9051] failing WebSocket opening handshake…
newguy
  • 69
  • 1
  • 9
2
votes
0 answers

WAMP with Django App using Python 2.7 AND 3.4 - is it possible?

The essence of the question is: Is it possible to use WAMP notifications in a Django application supporting both Python 2.7 and 3.4, considering that code should be running and only be interrupted if a Remote Procedure Call is made? (That is, it's…
Denise
  • 21
  • 2
2
votes
2 answers

Crossbar SSL/TLS configuration with intermediate and cross-signed certificates

Using the latest version of Crossbar (0.13, installed from apt-get on Ubuntu 14.04) I am having trouble making connections using SSL and intermediate certificates. If I set up the server without a ca_certificates property in the tls key then the…
M1ke
  • 6,166
  • 4
  • 32
  • 50
2
votes
1 answer

Bridging two realms/subscribing one client to multiple realms

I'm looking into designing a WAMP/Crossbar application with two or more realms; one realm would be for backend messaging, while a second would essentially expose a public API to frontend clients. Now, at some point messages need to cross between…
deceze
  • 510,633
  • 85
  • 743
  • 889
2
votes
1 answer

Crossbar caddy reverse proxy

How could I set a reverse proxy with caddy that speak with a crossbar router? I have a docker with a crossbar router that listen on localhost 8080, and I use caddy as a reverse proxy. Below the Caddyfile: `0.0.0.0:80 proxy /ws localhost:8080{ …
Fi3
  • 429
  • 6
  • 17
2
votes
0 answers

How can I create/request additional stateful workers in Crossbar.io and keep them isolated?

I'm developing a Python web application where each user gets a session, and the session is stateful. Each session exposes RPCs and topics which enables the user to interact with it (e.g. create object, delete object, etc.). I've been thinking about…
trianta2
  • 3,952
  • 5
  • 36
  • 52
2
votes
1 answer

How can I set up WAMP authentication from a Thruway client to a Crossbar router?

I'm going around in circles trying to get this to work... Here's the situation: I have a PHP web app which makes remote procedure calls (RPCs) to several microservices via a Crossbar.io router using Thruway. Anonymous calls are working perfectly,…
Kryten
  • 15,230
  • 6
  • 45
  • 68
2
votes
2 answers

Crossbar.io: How to publish a message on a topic using a Django service?

I just started using Crossbar.io to implement a live stats page. I've looked at a lot of code examples, but I can't figure out how to do this: I have a Django service (to avoid confusion, you can assume I´m talking about a function in views.py) and…
Jorge Plaza
  • 350
  • 1
  • 15
1
vote
1 answer

Autobahn-JS doesn't receive subscription for publish on same page (sample)

I have a crossbar.io server setup and I am trying the example code in a browser (chrome 81.x) on https://github.com/crossbario/autobahn-js // 1) subscribe to a topic function onevent(args) { console.log("Event:", args[0]); } …
BrianP
  • 45
  • 1
  • 7
1
vote
1 answer

What dynamic asynchronous web server framework to use?

Should I use flask or Quart or just crossbar to serve dynamic and asynchronous web page ? I need websocket with RPC and PubSub. I usually work on database with sqlalchemy , and I like brython instead of javascript. I'd like to avoid Node.js if…
laticoda
  • 100
  • 14
1
vote
0 answers

switch from WebSocket to RawSocket Transport

I am new to crossbar/autobahn framework and to network programming in general, recently at work we would like to experiment to move from WebSocket transport to RawSocket Transport with using MessagePackSerializer and do performance comparison. I am…
vector8188
  • 1,293
  • 4
  • 22
  • 48
1
vote
1 answer

subscribe to a topic in python on crossbar autobahn

I am a noob in crossbar. I am trying to subscribe to a topic using autobahn and crossbar in python. The crossbar url is "wss://******.******.org/ws/" and the topic is c******d. There are no signalisation topics, every calls are going to this…
OrganicMustard
  • 1,158
  • 1
  • 15
  • 36
1
vote
1 answer

Draw median lines at appropriate height on a dodged dotplot in ggplot2

I measured a given behaviour in animals (males and females) of various reproductive states (from virgin to parent). I am drawing a dotplot with dodged dots, and I would like to add a median bar for each subgroup. I previously asked a similar…
Mehdi.K
  • 371
  • 4
  • 15
1
2
3
9 10