Questions tagged [autobahnws]

Autobahn WebSocket allows bidirectional real-time messaging on the Web and WAMP adds asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.

Autobahn WebSocket allows bidirectional real-time messaging on the Web and WAMP adds asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.

55 questions
1
vote
1 answer

How can I get list of subscribed clients in autobahn.ws?

Now I'm developing chat using wamp-protocol, crossbar.io, autobahn.ws. We have rooms only for two clients. I need to define if other client is in room, if it in I publish new message in other case I make request to GCM. Every room has own uri like…
1
vote
1 answer

how to increase frame payload size in android autobahn websocket

I am using android autobahn websocket for establish connection between android and python tornado socket server . Below is the autobahn websocket code which am using in android . public void start() { final String wsuri = ip; try { …
1
vote
1 answer

All http header keys coming as lower case in ConnectionRequest.headers of Autobahn websocket server

Why does autobahn web socket server change all http header keys to lower case? I need to implement authentication token in header with OAuth2 standard with custom header 'Authorization:Bearer $token'. But it seems from autobahn 'request.headers' in…
Bill Goldberg
  • 1,699
  • 5
  • 26
  • 50
1
vote
1 answer

Avoiding duplicate Autobahn connections

How is it possible to ensure that Autobahn only creates a single connection? Is it possible to either check for existing connections before calling connection.open, or perhaps kill all other connections on connection.onopen?
sscirrus
  • 55,407
  • 41
  • 135
  • 228
1
vote
0 answers

Large number of objects in python (autobahn websocket)

I am using autobahn websockets for my project and I got to know that it creates an instance for a particular websocket connection. But when I will have a large number of connections say in millions, how can I manage these many objects? Should I…
1
vote
0 answers

Android autobahn WebSockets connection lost when connection with dialogic xms

I am trying to connect to dialogic xms server using autobahn WebSockets: As read I need to add a protocol rtcweb This is my code : String uri = "ws://myUrl:port"; WebSocketConnection ws = new WebSocketConnection();; wsObserver = new…
user987760
  • 1,061
  • 3
  • 12
  • 26
1
vote
0 answers

twisted: how to delete a static resource?

I have a basic TCP server implemented in twisted, to which a client is connected. The client connects and sends data necessary to start a websocket resource. Using these details sent by the TCP client, I want to add an autobahn websocket resource as…
1
vote
0 answers

Make a Interface for Pythons Autobahn Framework

I am currently building a client-server-type application with Pythons autobahn (asyncio) framework on both ends. I already have the basic setup of the server, which consists of the server itself and a database managing module. For the client I want…
1
vote
1 answer

How to remove this error from autobahn python script?

I am following the tutorial on Autobahn python from the link below; https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/wamp/app/calculator/calculator.py The code that caused the error is below; runner = ApplicationRunner(router,…
guagay_wk
  • 26,337
  • 54
  • 186
  • 295
1
vote
0 answers

get error in response - wamp.error.no_such_subscription

there is WAMP - The Web Application Messaging Protocol (https_github.com/tavendo/WAMP/blob/master/spec/basic.md) for back-end I use https_github.com/voryx/Thruway for a front http_autobahn.ws/js/ OS - Ubuntu 12 without GUI set up by vagrant there…
Sergey
  • 11
  • 1
1
vote
0 answers

How to create cboden/rachet RPC implementation?

I'm learning websockets and just learned how to use sub/pub using cboden/ratchet example push integration as my server and autobahnjs for my browser. my question is does ratchet or autobahn supports rpc? If you have any sources or examples it's…
loki9
  • 625
  • 7
  • 20
1
vote
2 answers

Autobahn: Subscribing to channels with regex or wildcard pattern

My question is very simple and straight-forward. In RabbitMQ, we can subscribe to channels using regex or wildcard pattern("Topic" type subscription). So is there any possibility to achieve this in Autobahn ?
Kamalakannan J
  • 2,818
  • 3
  • 23
  • 51
1
vote
1 answer

Connection Handlers while using AutobahnJS in wamp ws

I am using the Autobahn JS for creating a connection with Wamp WS version 1. The code used for connection is: ab.connect(serverUrl,function (session) { sess = session ; sess.prefix("event", "abc/"); console.log("Connected…
Gaurang
  • 371
  • 2
  • 4
  • 21
1
vote
1 answer

Autobahn 0.9.5 (AMD) - Error during WebSocket handshake

I'm trying to implement autobahn 0.9.5 on my SPA project using DurandalJS. var ab = require('autobahn'); live = new ab.Connection( { url: 'ws://localhost:8080', realm: 'realm1' }); …
Fariz Azmi
  • 713
  • 1
  • 6
  • 21
1
vote
1 answer

Handler for pong message in WampSharp client

I have a WampSharp client which successfully pings my Wamp WS server created in python every 1 minute. I am sending a pong message from the server to the client on the receipt of the ping. I would like to know whether there is any handler which…
Gaurang
  • 371
  • 2
  • 4
  • 21