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

Not able to config the ssl in wamp socket in my node.js project

I've used angular-wamp as a client and Crossbar as a router. WAMP is perfectly working when i used it without ssl (https). But when i tried to implement Secure WebSocket it gives error like this in console : WAMP connection closed unreachable { …
Mrugank Dhimmar
  • 202
  • 3
  • 14
4
votes
1 answer

Angular2 not working with basic javascript library

There seems to be an error in angular2-polyfills.js when getting a Javascript library (with its related Typescript typings) working in Angular 2 in the Browser. It's a weird problem: I seem to be able to build and run when there is only 1 line of…
Jack
  • 186
  • 13
4
votes
4 answers

Autobahn websocket issue while running with twistd using tac file

I have a WebSocket server implemented using autobahn WebSocket framework using twisted. WebSocket server runs fine when the program ran with python. But if I run this using twistd server runner by creating tac file as twisted service, I get the…
Bill Goldberg
  • 1,699
  • 5
  • 26
  • 50
4
votes
0 answers

Flux and AutobahnJs

I am using flux with authobahn and I have concerns about my architecture. I have some components that gets their state by subscribing to pubsub topic. Currently I am using flux for my data fetching and my actions looks like this: // I have a global…
Yosi
  • 2,936
  • 7
  • 39
  • 64
4
votes
2 answers

Autobahn websocket

I'm evaluating and building a simple websocket server with autobahn websocket Has anyone used subclass WrappingWebSocketServerProtocol, are there any examples of using this implementation? What is the benefit over the WebSocketServerProtocol and…
tbo
  • 9,398
  • 8
  • 40
  • 51
4
votes
1 answer

How to handle Errors and Connection Close using WampSharp

I have been working with WampSharp, i.e the client library provided to connect with autobahn wamp websocket. I have successfully connected with the Autobahn Wamp Websocket I created in python using a .Net client application using the following…
Gaurang
  • 371
  • 2
  • 4
  • 21
4
votes
2 answers

method to send httpheaders from android autobahn websocketconnection

I want to send user agent as an extra header. This is available in Eric Butlers library https://github.com/codebutler/android-websockets. Wanted to go with autobahn though. Any ideas?
chaitanyad
  • 998
  • 1
  • 9
  • 27
4
votes
1 answer

WAMP.ws : How to manage security and privacy?

I'm using WAMP.ws specifications to design public/private user chatrooms on my website. My problem comes when I try to keep a list of all connected users. What I could do : All users subscribe to "/contacts/connections" topic. When an user connects…
Neozaru
  • 1,109
  • 1
  • 10
  • 25
4
votes
1 answer

Decouple AutobahnJS (WebSockets) with Backbone

I have a backbone app that have simple search form, when the user writes something on this search I use autobahn to subscribe the given text on the search form (for example - I search for "foo", I subscribe for "foo"). How can I separate autobahn…
Yosi
  • 2,936
  • 7
  • 39
  • 64
4
votes
1 answer

Trial unittests using Autobahn WebSocket

I'm trying to write unittests for my application that uses Autobahn. I want to test my controllers which gets received data from protocol, parses it and reacts to it. But when my test comes to a point when protocol should be disconnected…
Rafał Łużyński
  • 7,083
  • 5
  • 26
  • 38
3
votes
0 answers

Cannot Install cryptography and pynacl libraries in pyCharm running on Windows

I am running pyCharm on Windows 10 Pro. When I try to install autobahn libraries using pip, I get the following error: error: command 'C:\\Program Files (x86)\\Microsoft Visual…
3
votes
1 answer

WebSocket connection to 'ws://localhost:8080/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

I am getting no Websocket connection between client script and server. It is working fine in my local environment. Also I am following this link. Here's a server script that initializes the websocket server and listens for the client connection to…
Azima
  • 3,835
  • 15
  • 49
  • 95
3
votes
4 answers

How to set logging level in twisted?

I am using autobahn package with twisted which shows debug message for me every connect to websocket. I tried to switch logging level to info but had no success: import logging logging.basicConfig(level=logging.INFO) Is there an easy way to switch…
kalombo
  • 861
  • 1
  • 9
  • 31
3
votes
3 answers

Poloniex & websockets

===SIMPLE & SHORT=== Does anybody have working application that talks with Poloniex through WAMP in these days (January, 2018)? ===MORE SPECIFIC=== I used several info sources to make it work using combo: autobahn-cpp & C++. Windows 10 OS. I was…
Anton Kasabutski
  • 355
  • 5
  • 16
3
votes
1 answer

service_identity installed but not working

under root I ran pip3 install service_identity and easy_install service_identity both installed successfully yet the warning still shows and clients can't connect. They close before handshake. Full Warning :0: UserWarning: You do not have a working…
Michael
  • 105
  • 1
  • 8
1 2
3
32 33