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

Debugging Crossbar.io app in IntelliJ

I'm building an app using Crossbar.io in IntelliJ. Since you start the app using the crossbar start command in the shell I'm not clear on how to (ideally automatically) attach the Python debugger to the appropriate scripts. Anyone have any ideas?
Huhwha
  • 575
  • 5
  • 15
0
votes
0 answers

Crossbar and Pygments

We are using crossbar in our product and I saw crossbar requires to have Pygment. Does anyone know why crossbard needs Pygment for? To my understanding pygment is the library for highlighting syntax in multiple languages, so why would crossbar need…
K DAO
  • 517
  • 1
  • 7
  • 12
0
votes
1 answer

Testing/stopping the crossbar/autobahn router I end up with 2 client sessions one of which fails because the session is invalid

I have a crossbar router running for pubsub. I have used some sample code for a publish client and added some additional code to do a constant publish message every few seconds. I use the twisted function reactor.callLater to force a delay before…
0
votes
0 answers

PubSub not working between RLink connected routers

We are having an issue with publish in crossbar io 22.6.1 and previous versions with Rlinks. We require Rlinks to forward local topic publications and RPC’s to cloud and vice versa. Setup: There is a crossbar router running on a local machine and…
Skully17
  • 1
  • 1
0
votes
0 answers

crossbar authentication with proxy

We are reaching a point that we need to scale crossbar to use multiple cpu cores to improve performance. Because one crossbar worker can only run one realm, the only to scale is to use proxy workers. I tried to add proxy worker to our crossbar…
laocius
  • 772
  • 1
  • 8
  • 21
0
votes
1 answer

How to handle certificate in Twisted?

I have an existing code in Python Autobahn which connects to a Crossbar server using WS. I want to make it work on WSS. I have changed Crossbar, and it is working fine. I have tested it using Javascript Autobahn. However, the Python part doesn't…
Ace
  • 420
  • 2
  • 8
  • 25
0
votes
1 answer

Docker - Two containers on same network can't connect over web socket

Disclaimer This is only happening on my machine. I tested the exact same code and procedure on my colleague's machine and it's working fine. Problem Hello, I have a fairly weird problem at hand. I am running two Docker containers: One is a crossbar…
giulio di zio
  • 171
  • 1
  • 11
0
votes
0 answers

How to avoid ReactorNotRestartable in Autobahn Python

I have a python based page which recieves data by POST, which is then forwarded to the Crossbar server using Autobahn (Wamp). It works well the first 1-2 times but when it's called again after that it throws ReactorNotRestartable. Now, I need this…
raw_orb
  • 183
  • 1
  • 12
0
votes
0 answers

crossbar router start without docker

Installed crossbar.io using pip install crossbar in Windows 10 and python 3.7. From cmd, run the following commands: crossbar init crossbar start But the router does not start. The error logs are as follows (full logs…
Dr.PB
  • 959
  • 1
  • 13
  • 34
0
votes
0 answers

Stored procedure returning 1

I am not able to understand that why is stored procedure is returning Allow = 1 in the result set. I have edited to add more context to the the questions basically this stored procedure does authorization based on the result, if the result set is…
vector8188
  • 1,293
  • 4
  • 22
  • 48
0
votes
1 answer

Crossbar.io close router when guest worker is down

I am playing with crossbar.io for quite a while and I faced with some sync issue. Problem: I'm running my python backend as guest worker and wants to exit router when that python guest worker is down. I've set controller.options.shutdown for…
0
votes
1 answer

Ticket authentication in Autobahn.js

I have implemented router and a publisher. Client needs to connect to the router using Ticket based authentication. Need the format of sending a token in the onchallange method. Below is my js code. var connection = new autobahn.Connection({ …
bharath
  • 111
  • 1
  • 2
  • 15
0
votes
1 answer

F5 balancer and rawsockets(crossbar)

I am trying to use rawsocket as a mode of transport using autobahn-python client and crossbar server(does not work, and does not establish connection) DEBUG:file_uploader.spEm_PreFile:Logger Started in Debug mode DEBUG:asyncio:Get address info…
vector8188
  • 1,293
  • 4
  • 22
  • 48
0
votes
0 answers

How to read column names including the crossbar by using read.delim in R

I have a .txt file. The colnames were including the crossbar (-). if i use the read.delim or read.table, the crossbar(-) will be changed into dot (.). for example I use the read.table function for the txt as following. a-10 A10 a11 1 …
hees
  • 71
  • 5
0
votes
1 answer

Why we need crossbar.io (WAMP) when there is WebRTC?

As far as I understand, crossbar provides transparent connection between clients. So clients can communicate with each other. WebRTC does almost same thing, without a central server(apart from signalling server) with lower latency. So why we need…
ramazan polat
  • 7,111
  • 1
  • 48
  • 76