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

Calling dispatch in subscribe in Autobahn

I am using Autobahn and I have an implementation-specific question. I am trying to figure out how to send a notice to all connected clients (including the newly subscribed client) upon a client subscribing to a topic. Here's the code (edited down…
Michael Place
  • 2,986
  • 1
  • 19
  • 18
0
votes
1 answer

Python Autobahn websocket

I am impressed by all the things Python can do. What I like to know is if I can implement a Python script that can call a JavaScript function. The Python code I use is detecting an NFC card and reads the Unique ID. Currently I use a Java applet to…
Wouter van Reeven
  • 517
  • 3
  • 8
  • 16
0
votes
0 answers

Delay in websocket communication using Autobahn Python and Google Chrome

Here is what I am working with: webserver.py: import sys from twisted.internet import reactor from twisted.python import log from autobahn.websocket import WebSocketServerFactory, \ WebSocketServerProtocol, \ …
Joshua Gilman
  • 1,174
  • 4
  • 16
  • 32
0
votes
3 answers

How to disable dependency jar to be exported from a library project to a regular project

The situation I have is that I have an Android Project (regular) which uses Amazon AWS android libr jars (inside libs folder). I recently cloned Autobahn (https://github.com/tavendo/AutobahnAndroid) and I'm using this library project on my own.…
fr4gus
  • 396
  • 7
  • 18
0
votes
1 answer

AutoBahn Websoket Login

I am trying to use AutoBahn to test a websocket server. The server has a username/password. What is the correct way of sending the username/password for authentication? is it within the json file as shown below…
RND
  • 31
  • 3
0
votes
1 answer

how to comfirm a client in autobahnPython

I use autobahnPython + autobahnJs set up a chatting service. Now I want to a function, when a client connect wamp, the member list of chatting room be updated automatically. How implement this function? def onSessionOpen(self): I think in…
user1514160
  • 143
  • 1
  • 1
  • 9
0
votes
1 answer

How to asynchronously read data via modbus/TCP and send them to web

I need to receive data from device connected via Ethernet (modbus/TCP) and send it to webpage (maybe using web sockets). I can't find good examples. Now I can connect with driver and print values using ModbusClientProtocol.read_input_registers() but…
marcinpz
  • 675
  • 7
  • 15
0
votes
2 answers

Node Server with Android and Browser Client

EDIT: I want to implement a quiz-application on Android and Browser via Web Interface. I'm looking for a way to communicate between the server and the clients. I tried socket.io but couldn't get it working with android. I'm using a node.js server…
freakimkaefig
  • 409
  • 5
  • 19
-1
votes
1 answer

Twisted Python - Push data to websocket

I've a web-socket server which connects with the clients. Following is the code:- from twisted.internet.protocol import Factory from twisted.protocols.basic import LineReceiver from twisted.internet import reactor class Chat(LineReceiver): def…
Praful Bagai
  • 16,684
  • 50
  • 136
  • 267
-1
votes
1 answer

Pass data to 'onJoin' of a WAMP server from external file

I have a WAMP server on AWS with the following code from os import environ from twisted.internet.defer import inlineCallbacks from twisted.internet.task import LoopingCall from autobahn import wamp from autobahn.twisted.wamp import…
Abhishek G
  • 13
  • 5
-1
votes
1 answer

Installing autobahn with node.js

I am new to nodejs and looking to run some simple code on Ubuntu 16.04. I have installed nodejs and npm root@coding:~# node -v v6.3.0 root@coding:~# npm -v 3.10.3 I am now looking to install autobahn as…
Dercni
  • 1,216
  • 3
  • 18
  • 38
-1
votes
1 answer

Subscribing to a websocket and publishing on another

I'm attempting to do the following: connect as client to an existing websocket process the streaming data received from this socket, and publish it on another websocket I'm using twisted and autobahn to do so. I have managed to have the two parts…
Arthur B.
  • 3,445
  • 3
  • 21
  • 24
-1
votes
1 answer

Why websocket connection closes immediately...?

When i tried to create a websocket connection in android for implementing wamp using Autobahn, the connection is created and closed immediatley. why this happening ....? How to solve..........? Part of my code is given below private void start()…
-1
votes
1 answer

connecting to autobahn's WrappingWebSocketServerFactory with native javascript WebSocket

i am using the WrappingWebSocketServerFactory to wrap around an existing protocol. i am attempting to use native javascript websockets to connect, but get this error from the server as a result: 406 this server only speaks ['binary', 'base64']…
tipu
  • 9,464
  • 15
  • 65
  • 98
-1
votes
1 answer

How to get session context in wamp router validator

According to comment and a criticism for question being too broad; I'll try to make it more specific; Environment - Server: autobahn|python with twisted, wampv2 Given that: a) I have a class which extends RouterSession and authenticates user, and…
jbreicis
  • 588
  • 2
  • 8
1 2 3
32
33