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
0
votes
2 answers

Overhead caused while fetching the required client in WAMP WS

I have created a websocket server using the WAMP WS provided in python programming language. I have a requirement where I am subscribing about 500 clients with the WAMP WS server at a time. But when I am publishing the data I will send it only to a…
Gaurang
  • 371
  • 2
  • 4
  • 21
0
votes
1 answer

program stuck in session.join()

I am using a crossbar.io router with the below configuration, the C++ program seems to be stuck in session.join() call. { "controller": { }, "workers": [ { "type": "router", "realms": [ …
Ravikumar Tulugu
  • 1,702
  • 2
  • 18
  • 40
0
votes
1 answer

Running autobahn python on linux gives exceptions.AttributeError: Router instance has no attribute 'broker'

I am attempting to run a autobahn WAMP application using twisted on a linux machine(ubuntu server 64bit). I did note that when developing/testing I needed to install pywin32 after using wamp.Application, but this is of course not available/useful in…
John
  • 13
  • 2
0
votes
1 answer

How to ping a WebSocket server using a WampSharp Client?

I have created a WebSocket server in python using the Wamp WS. I am connecting a DotNet application containing the WampSharp client with the above mentioned WebSocket server using the following code: DefaultWampChannelFactory channelFactory = new…
Gaurang
  • 371
  • 2
  • 4
  • 21
0
votes
0 answers

How to get twisted form of Request in autobahn handler?

I have some api, which uses methods and attributes of twisted request (twisted.web.server.Request), but in autobahn I have another form of request in onConnect method. How is it possible to handle twisted's request inside of autobahn handler?
yavalvas
  • 330
  • 2
  • 17
0
votes
1 answer

can JavaScript websocket get return value from server?

javascript websocket send() Hello, I am a newbie of websocket programming. I have read and try the javascript websocket send(), it send a message to websocket server. Can I call the server and get return value from server? or I must use the WAMP…
user1482015
0
votes
1 answer

Call procedure registered in javascript from python server Autobahn, Wamp

just started to use autobahn. I already did some examples and now I am trying to make my own server and client based on the tutorials. I will use the autobahn for python for the server and the javascript library on the client side. At the moment I…
user1532132
  • 827
  • 2
  • 10
  • 19
0
votes
1 answer

Get and use the data sent by autobahn wamp v1 server to client(Html)

I have created a web socket using Web Application Messaging Protocol(WAMP v1) in python and I am connecting a client html application with it. The connection is successful and the data is sent successfully from client to server as well as it is…
Gaurang
  • 371
  • 2
  • 4
  • 21
0
votes
3 answers

Building realtime app using Laravel and Latchet websocket

I'm building a closed app (users need to authenticate in order to use it). I'm having trouble in identifying the currently authenticated user from my Latchet session. Since apache does not support long-lived connections, I host Latchet on a separate…
Øystein Amundsen
  • 3,993
  • 8
  • 44
  • 63
0
votes
1 answer

How to set specific Sec-WebSocket-Key in Client's WebSocket opening handshake message using autobahn android library?

I want to set custom/specific Sec-WebSocket-Key in Client's Websocket opening handshake message. I am using Autobahn Android library for creating websocket in android. I could connect to local Autobahn Python server example using provided Android…
0
votes
0 answers

Java Websockets and Autobahn comparison for native Android app

I'm trying to decide on a technology to implement Websockets in a native Android application. I've come across the following technologies: Java Websockets Autobahn I'm new to programming in Websockets and I'm unsure of what the difference is…
Tielman Nieuwoudt
  • 903
  • 1
  • 12
  • 24
0
votes
1 answer

Understanding Autobahn and Twisted integration

I am trying to understand the examples given here: https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/pubsub/basic I built this script which is supposed to handle multiple pub/sub websocket connections and also open a…
Liviu
  • 1,023
  • 2
  • 12
  • 33
0
votes
1 answer

Twisted and Autobahn Pub/Sub; Listen on secondary port for messages

I've studied Twisted a little bit and got the hang of Protocols and Factories and Defereds. I want to have a server that will on one had handle a Pub/Sub over websockets and on the other hand be able to receive the messages that it will publish at…
Liviu
  • 1,023
  • 2
  • 12
  • 33
0
votes
1 answer

Phonegap, Websocket and Autobahn: not working on Android 4.0.4

I am developing an application with Phonegap and I am using websocket with AutobahnJS for the client application. The remote websocket server is developed using PHP and Ratchet and runs over SSL, so I use wss:// for the connection. The application…
Sergio Rinaudo
  • 2,303
  • 15
  • 20
0
votes
1 answer

how to make Autobahn WAMP Python server & Javascript client work together?

I have a Python Autobahn WAMP server (v. 0.8.8, app code at http://pastebin.com/DfQvaJYF) working fine with a Python client. Using latest Twisted 13.2. for both server and client. However, the browser javascript client (autobahn js from CDN, app…
Petri
  • 4,796
  • 2
  • 22
  • 31