Questions tagged [autobahn]

Questions related to the Autobahn WebSocket/WAMP open-source frameworks and libraries.

The Autobahn open-source project provides client and server implementations of the WebSocket protocol and the WebSocket Application Messaging Protocol (WAMP). All source code is available as open-source on GitHub Autobahn code repositories.

483 questions
3
votes
1 answer

Python: Combination of cmd and asyncio (for WAMP / autobahn)

Overview I am trying to implement a simple command-line interface for a WAMP application. For the WAMP implementation, the autobahn python package is used. I would like to have an interactive shell so I decided to use the cmd module to parse the…
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
3 answers

autobahn.js file is not accessible from s3

For some time I am using autobahn.js and autobahn.min.js files in my project linked directly from: https://autobahn.s3.amazonaws.com/autobahnjs/latest/autobahn.js and https://autobahn.s3.amazonaws.com/autobahnjs/latest/autobahn.min.js as suggested…
krzysiej
  • 889
  • 9
  • 22
3
votes
0 answers

Autobahn with asyncio - Unable to create connection for URL's with paths

I am trying to connect to two WebSockets (WebSocket A with URI wss://domainA.com and WebSocket B with URI wss://domainB.com/path) using Autobahn running on asyncio as described in the Autobahn docs. I have created a WebSocketClientProtocol like so:…
Rahul
  • 185
  • 1
  • 3
  • 9
3
votes
3 answers

Real time chat in PHP +Redis +Pub/Sub +WebSockets (+NodeJS)

I want to develop real time chat with channels and these are my needs: PHP backend to manage site Redis as session and data primary storage Pub/Sub to send messages only to channel's interested users one WebSocket connection with which the…
andrzej1_1
  • 1,151
  • 3
  • 21
  • 38
3
votes
0 answers

React-Native and AutobahnJS

I am trying to set up a connection with a WebSocket server in a React-Native application using the npm package react-native-autobahnjs. Here is my code : import autobahn from 'react-native-autobahnjs'; class websocket extends Component { …
Paul A.
  • 71
  • 2
3
votes
1 answer

How to use autobahn.ws with django?

Need for websockets in my project. Found out crossplatform solution autobahn.ws but only tutorial for pure python is available. How to use autobahn as chat server in django project?
V V
  • 39
  • 2
3
votes
1 answer

autobahn (node) not detecting dropped connect, infinite wait, can I set a timeout?

I'm using this AutobahnJS code in node to receive data from a service. It works great, getting multiple events per second. When my internet temporarily disconnects Autobahn does not detect the lost connection and does not write "Websocket connection…
3
votes
0 answers

Autobahn python handshake error

We are using python 2.7.5 on Redhat (Red Hat 4.8.3-9) and trying to run simple helloworld in Autobahn Python while starting the server we are getting following error: # python AppSession.py 2016-03-22T19:09:03+0530 failing WebSocket opening…
Vinod Puliyadi
  • 225
  • 1
  • 3
  • 14
3
votes
2 answers

CannotListenError: Couldn't listen on any:9008: [Errno 98] Address already in use

I am working on Autobahn's app on websocket over python. I found one problem, if I restart my server code once after interrupting then my server code will send me error like: 2016-03-03 13:20:34+0530 [-] Log opened. 2016-03-03 13:20:34+0530 [-]…
Raj Damani
  • 782
  • 1
  • 6
  • 19
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
1 answer

How create a python application with two thread each which has a autobahn application

I have not found any solution for my problem. I need to create a python application with two thread, each of which is connected to a WAMP Router using autobahn library. Follow I write the code of my experiment: wampAddress =…
alotronto
  • 99
  • 2
  • 8
3
votes
2 answers

Running Flask and Autobahn WAMP Server on the same port

I understand there is a example on how to run a PythonAutobahn websocket server and a Flask server together in twisted (see below): https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/websocket/echo_wsgi/server.py However, I would…