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

Autobahn Python 0.9.3-3 raises exception related to "subscription_revocation"

I'm running Autobahn Python 0.9.3-3 and am getting a strange error and I can't work out why. This only seems to be happening with newer Autobahn Python clients. Any ideas? 2015-03-30 04:37:52+0000 [-] Starting factory <__main__.SocketServerFactory…
gak
  • 32,061
  • 28
  • 119
  • 154
0
votes
1 answer

ConnectionRefusedError exception when running Autobahn rpc example

I'm trying to run AutobahnPython slowsquare rpc example in python with no much luck. When running the above script i'm getting Traceback (most recent call last): File "C:\src\twisted-test\rpc_server.py", line 39, in
haki
  • 9,389
  • 15
  • 62
  • 110
0
votes
1 answer

It's possible to list subscribers in autobahn.ws?

Currently I'm developing consoles in my webapp displaying user's running *nix application log (game servers) and I just want to make sure that one user can't access other user console by guessing topic name. I'm using random generated string of 16…
SystemZ
  • 56
  • 1
  • 4
0
votes
1 answer

connecting to a regular socket server from a web socket server (autobahn)

i am writing an intermediary web socket server so that it can forward messages directly to my existing socket server. what i am naively thinking is that on the def onOpen(self): #initialize socket client and run in a while true loop i can…
tipu
  • 9,464
  • 15
  • 65
  • 98
0
votes
2 answers

connecting autobahn websocket server to crossbar.io router

I have an application that connects to a web page that sends and receives text strings over a websocket on port 1234. I do not have access to the front end code, so I cannot change the HTML front end code. I created an autobahn server with a class…
0
votes
0 answers

What causes NullPointerException WebSocketConnection.sendTextMessage

I've integrated AutoBahn to take care of my WebSocket needs in my android application. This works well most of the time. Occasionally I crash out with this log: java.lang.NullPointerException at…
DJ-DOO
  • 4,545
  • 15
  • 58
  • 98
0
votes
1 answer

How to use Secure WebSocket with java client and custom python server?

So what i would like is a secure connection between my phone (java) and my raspberry pi. I already made a custom server with the help of autobahn wich is on my github (i can't post more link...). And i don't understand why the client doesn't need…
FlyinGrub
  • 1
  • 1
0
votes
0 answers

How to open connection with autobahn_ node.js

Hello came across autobahn documentation i was not able to open a connection can any one help me out. I created a server which accepts "ws" but i am not able to fire any event inside connection.onopen!! enter code here var WebSocketServer =…
0
votes
1 answer

Using Autobahn for WebSocket comms, not receiving from Server

I'm implement Autobahn to connnect to a server through WebSockets. When I hit connect, it opens the socket correctly and logs that socket is opened. I then try to send a request to the server which is simply {"request":"getSoftwareVersion"} , when…
DJ-DOO
  • 4,545
  • 15
  • 58
  • 98
0
votes
1 answer

WSGI compliant component with web socket client?

I'm trying to integrate a RESTful responder in a Crossbar application, for which the best fit seems to be a WSGI service. This service ideally should be part of the rest of the pub/sub infrastructure, being able to receive WAMP events on the one…
deceze
  • 510,633
  • 85
  • 743
  • 889
0
votes
1 answer

Data from socket factory (AutobahnJs) in controller Angular JS

I have socket factory with using AutobahnJs. app.factory('socket', ['$rootScope', function($rootScope) { var pubsub = new ab.Session( 'wss://site.com:62315', function(session) { pubsub.subscribe('455548878',…
desp12
  • 5
  • 4
0
votes
0 answers

AutobahnCpp: Static and Dynamic Libaries generated by Eclipse CDT is not usable by Visual Studio

I am able to build and run AutobahnCpp on Eclipse CDT Luna using Cygwin GCC. Though, I need to make this app available to the 3rd parties through an API. Having created an API, I tried generating static (.lib) and shared (.dll) libraries so that 3rd…
0
votes
1 answer

wampsharp session variable in rpc

I've a websocket service written in c# with wampsharp at server side and I wonder to know if there's a way to store/retrieve session's related variables or in alternative how to know the caller's session id. Thanks in advance!
0
votes
1 answer

Dynamically add new guest worker with crossbar.io

I was thinking about if crossbar.io is able to dynamically add guest workers when a new file is available in the watch directory. And I could not find an answer in the crossbar.io documentation. It is advertising with Crossbar.io has a multi-node…
sbejga
  • 157
  • 2
  • 7
0
votes
1 answer

Crossbar.io - Restrict user to subscribe to only two topics

I had seen in the Crossbar.io documentation, that we can set role to publish only to specific topic. But how can I set a role to publish exactly matching two topics rather than pattern based matching.
Kamalakannan J
  • 2,818
  • 3
  • 23
  • 51