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

Single AppSession can't subscribe to and publish on the same topic

Based on the simple Hello World example, I replace the oncounter topic with the onhello one when publishing. That would mean the AppSession is subscribing to a topic it is itself publishing. I'd guess it should be able to receive its own messages…
Jean-Robert
  • 840
  • 6
  • 10
3
votes
2 answers

Twisted web server and Autobahn WebSocket at the same time, same port

I have a server that listens for WebSocket connections on port 80, using Twisted and Autobahn. I want to have it also serve static HTML pages, for when the client doesn't want to use a WebSocket. Is it possible to do both things at the same time,…
3
votes
2 answers

Accessing RPC caller's IP and HTTP connect headers inside ApplicationSession's registered endpoint

I'm using Autobahn 0.9.2 with Python 3.4 with asyncio. Questions: Using WAMP, is it possible to access the peer acting as a Caller's IP and HTTP connection header from inside an RPC endpoint? Is this information persisted when a connection is…
3
votes
1 answer

sending messages using php with voryx Thruway WAMP messaging system

I'm trying to build a notification messaging system. Im using the SimpleWsServer.php server example. I want to push a notification to the user's browser when a task has completed on the server. This needs to be done using PHP and i cant find a…
astroanu
  • 3,901
  • 2
  • 36
  • 50
3
votes
1 answer

Urwid, autobahn and twisted eventloop integration

i'm using autobahn to connect to a server and get "push" notifications, and i want to make a simple urwid interface using their twisted event loop. However I am not sure what the best way is to set the urwid text from my autobahn handler class. In…
0x1111
  • 31
  • 2
3
votes
2 answers

Push notification from MYSQL

I am having my database created in MYSQL and a WebSocket application(Autobahn Wamp WebSocket v1) created in Python. I have an application which makes entries in my database. My requirement is that I need to create a trigger in MYSQL which would…
Gaurang
  • 371
  • 2
  • 4
  • 21
3
votes
0 answers

Websockets and cookies in Android

I am developing an Android application and I need a Websockets framework that allows me to send cookies in the first connection of the Websocket(not in each message). I've tried Autobahn and Java-WebSocket but they are not sending my cookies and…
user3313574
3
votes
2 answers

WAMP support for ws4py / CherryPy

I am using ws4py / CherryPy for websockets support, and would like to implement WAMP on top of it. I thought of using autobahn but it only seems to support Twisted and asyncio out of the box. Is possible to use autobahn functionality to extend…
mar10
  • 14,320
  • 5
  • 39
  • 64
3
votes
1 answer

Using Autobahn/Twisted to establish a websocket connection in Tornado HTTP Handler

Problem: Client sends in a http request. For that HTTP request, I want my tornado server to open a websocket connection to an external server and get some data overtime.(That data I need to store in the database). I also need to be able to handle…
crazydiv
  • 812
  • 9
  • 30
3
votes
0 answers

Connection reset by peer python websocket (ErrNo 104)

I'm running an Autobahn WS server and am connecting to it from a client using the Python websocket-client (https://pypi.python.org/pypi/websocket-client/). My client code is pretty simple :- from websocket import create_connection # WS_URL is a…
bzo
  • 1,532
  • 7
  • 27
  • 40
3
votes
0 answers

android - Autobahn Websocket Connection

I am working on Autobahn Web socket communication. There is a carousel view in my application, and there are four images. When users click on of the images, then connects to server with websocket and send message. But the problem is that when I…
user2500696
  • 65
  • 1
  • 7
3
votes
1 answer

Android - NullPointerException Error

I am working on websocket communication. From android device(client) to linux-based PC(server). I succeeded to connect websocket to server. But the problem is I got fail with sending a data(string value) There is a carousel view with four products.…
user2500696
  • 65
  • 1
  • 7
3
votes
3 answers

How can I setup an Autobahn Pub/Sub Server and a Autobahn Webserver listening on the same port

I recently discovered autobahn python and js as a comfortable method to establish a pub/sub server and corresponding client even with rpc-calls. After looking through the tutorials, I set up a test version with a websocket server and a webserver…
user2323407
  • 103
  • 2
  • 7
3
votes
1 answer

autobahn not working with tomcat 7 websocket

Sorry for my english. I want to program a native app in Android to connect with a server for interactive comunications. Websocket tegnology is perfect fothis. I have installed and working Tomcat 7.0.39 in my laptop with IP 192.168.1.250. I have…
user2248409
  • 51
  • 1
  • 6
2
votes
1 answer

Autobahn-js failes to connect to Ratchet Server (Wamp)

I've already checked plenty of questions and tutorials and I'm following the official documentation from socketme portal. I'm running this on XAMPP/Localhost. Websocket works, when I'm not using the WAMP interface. Otherwise, it fails to connect and…
Jaeger
  • 1,646
  • 8
  • 27
  • 59