Questions tagged [autobahn]

Questions related to the Autobahn WebSocket/WAMP open-source frameworks and libraries.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

Testing/stopping the crossbar/autobahn router I end up with 2 client sessions one of which fails because the session is invalid

I have a crossbar router running for pubsub. I have used some sample code for a publish client and added some additional code to do a constant publish message every few seconds. I use the twisted ...
John Aherne's user avatar
0 votes
0 answers
59 views

Web socket autobanh test suit implementation

Title: Implementing Autobahn Test Suite for WebSocket Server at ws://localhost:8080/demo Question: I am attempting to implement the Autobahn Test Suite to thoroughly test my WebSocket server running ...
Vipin Raj's user avatar
0 votes
0 answers
62 views

unable to connect to bybit with twisted and autobahn

I'm trying to connect to bybit wss but it's impossible and I don't know what could be going wrong. It seems that I get the same error with coinbase, both have TLSv1.3, the code works because I have ...
xb1t2's user avatar
  • 11
0 votes
0 answers
19 views

PubSub not working between RLink connected routers

We are having an issue with publish in crossbar io 22.6.1 and previous versions with Rlinks. We require Rlinks to forward local topic publications and RPC’s to cloud and vice versa. Setup: There is a ...
Skully17's user avatar
0 votes
1 answer
91 views

How to handle certificate in Twisted?

I have an existing code in Python Autobahn which connects to a Crossbar server using WS. I want to make it work on WSS. I have changed Crossbar, and it is working fine. I have tested it using ...
Ace's user avatar
  • 418
1 vote
2 answers
2k views

SSL Certification Validation Failed in Binance Connector for Python

I am trying to build an app to detect pumps and dumps in crypto market, so I decided to use binance because of popularity. So I installed binance-connector by pip3 install binance-connector on macOS ...
Umut Gür's user avatar
  • 369
1 vote
0 answers
92 views

Debug high latency in the push flow which is using WAMP Router being used for the WEB Socket Connection

We are using the WEB Socket connection to push messages to our Front end Browser. Following is the architecture: Backend Service A is the backend service that uses WAMP RPC WEB socket invocation to ...
Dragoon Eternal's user avatar
0 votes
1 answer
791 views

Create websocket over ssl and https server in python

I've implemented webSocket server in python using built-in libraries like WebSocketServerFactory as shown in the following code : from autobahn.asyncio.websocket import WebSocketServerProtocol, ...
Zohar81's user avatar
  • 4,640
1 vote
0 answers
135 views

Can't send message through autobahn(twisted) websocket from an other thread

I am trying to use a Autobahn Twisted websocket with a ROS node. If they are both used in the main thread, ROS and twisted seemed to block each other so I chose to run my ROS node in a separate thread....
ASuitee's user avatar
  • 11
0 votes
1 answer
216 views

Catching connection error in Autobahn Component

I'm using Autobahn Python to connect to a Crossbar router. I'm hoping to handle the case where the crossbar router isn't available on the network. When using a class based Component I'm able to handle ...
Linus's user avatar
  • 345
2 votes
1 answer
365 views

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 ...
Jaeger's user avatar
  • 1,656
0 votes
1 answer
218 views

websocket relay with Autobahn python

I am trying to build a websocket server using Autobahn python which acts as a man-in-the-middle or relay for IBM Watson's text-to-speech service. I have already managed to receive and forward the ...
Nathanael's user avatar
1 vote
1 answer
308 views

WAMP websocket server connection error on Python with Autobahn

I'm trying to connect to a WAMP websocket server using Python and subscribe to receive messages, but I'm not able to achieve it. I have managed to connect using Autobahn on JS with this code: < ...
sergio_teula's user avatar
0 votes
1 answer
186 views

How do I serve a Websocket Application written in Python using Twisted Framework

I have written a websocket server application using the Twisted Framework. I am new to this and am trying to figure out how to serve it as an application so I can use NGINX to reverse proxy it. The ...
OptimusPrime's user avatar
1 vote
1 answer
338 views

Autobahn twisted websocket server does not send messages to client unless it receives a message from a client

I'm running an autobahn/twisted python websocket server and I'm having a problem with sending messages to clients. It seems to only sends messages to clients when a client sends it a message. For ...
LampShade's user avatar
  • 2,675
0 votes
1 answer
472 views

How to kill a twisted websocket server programmatically

How do you kill a websocket server programmatically? I'll be deploying this server to production along side other things. And I like to build a single python script that sends a kill signal to ...
LampShade's user avatar
  • 2,675
0 votes
0 answers
2k views

Autobahn: socket.gaierror: [Errno 11001] getaddrinfo failed

When I search for this error I found this: socket.gaierror: [Errno 11001] getaddrinfo failed. However, I am not behind a proxy and can't see why this code failed. Note that I have tried both ws and ...
Jesper.Lindberg's user avatar
0 votes
0 answers
62 views

How to avoid ReactorNotRestartable in Autobahn Python

I have a python based page which recieves data by POST, which is then forwarded to the Crossbar server using Autobahn (Wamp). It works well the first 1-2 times but when it's called again after that it ...
raw_orb's user avatar
  • 183
0 votes
0 answers
209 views

crossbar router start without docker

Installed crossbar.io using pip install crossbar in Windows 10 and python 3.7. From cmd, run the following commands: crossbar init crossbar start But the router does not start. The error logs are as ...
Dr.PB's user avatar
  • 957
2 votes
0 answers
814 views

Python websocket server-client (PubSub) Restreamer

I'm, getting WebSocket data from a website, code is written in python and uses autobahn, twisted, threading for WebSocket handling. The process follows ws.subscribe(<list>) for subscribing to ...
Dr.PB's user avatar
  • 957
0 votes
1 answer
289 views

How to install library 'When' in Javascript

I have got 2 files: index.html and index.js. I am using them to try and do autobahn communication. Autobahn works, but 'When' doesn't work. I have used bower to download and install Autobahn, and then ...
Kristijan Čeple's user avatar
1 vote
0 answers
149 views

Android WebSocket connection closed due to 426 error

For the last few days, I have been trying to implement WebSocket Client in my Android app. The server side user Ratchet and the configuration is ok there. The chat system works flawlessly on the web ...
Subrata Mondal's user avatar
1 vote
1 answer
919 views

Autobahn-JS doesn't receive subscription for publish on same page (sample)

I have a crossbar.io server setup and I am trying the example code in a browser (chrome 81.x) on https://github.com/crossbario/autobahn-js // 1) subscribe to a topic function onevent(args) { ...
BrianP's user avatar
  • 45
0 votes
1 answer
562 views

How do I send input from python cmd to autobahn websocket client running in the same interpreter?

I'm trying to take input from an interactive prompt via python's cmd library and pass the input to an autobahn websocket client to send up to a websocket server. The cmd loop and the autobahn ...
tomdaq's user avatar
  • 133
0 votes
1 answer
45 views

Crossbar.io close router when guest worker is down

I am playing with crossbar.io for quite a while and I faced with some sync issue. Problem: I'm running my python backend as guest worker and wants to exit router when that python guest worker is down. ...
Patryk Kaczmarek's user avatar
1 vote
1 answer
79 views

What dynamic asynchronous web server framework to use? [closed]

Should I use flask or Quart or just crossbar to serve dynamic and asynchronous web page ? I need websocket with RPC and PubSub. I usually work on database with sqlalchemy , and I like brython instead ...
laticoda's user avatar
  • 110
0 votes
1 answer
706 views

Ticket authentication in Autobahn.js

I have implemented router and a publisher. Client needs to connect to the router using Ticket based authentication. Need the format of sending a token in the onchallange method. Below is my js code. ...
bharath 's user avatar
3 votes
0 answers
739 views

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 Studio\\2019\\...
dev_prakash's user avatar
0 votes
1 answer
113 views

F5 balancer and rawsockets(crossbar)

I am trying to use rawsocket as a mode of transport using autobahn-python client and crossbar server(does not work, and does not establish connection) DEBUG:file_uploader.spEm_PreFile:Logger Started ...
vector8188's user avatar
  • 1,303
1 vote
0 answers
79 views

switch from WebSocket to RawSocket Transport

I am new to crossbar/autobahn framework and to network programming in general, recently at work we would like to experiment to move from WebSocket transport to RawSocket Transport with using ...
vector8188's user avatar
  • 1,303
1 vote
1 answer
426 views

subscribe to a topic in python on crossbar autobahn

I am a noob in crossbar. I am trying to subscribe to a topic using autobahn and crossbar in python. The crossbar url is "wss://******.******.org/ws/" and the topic is c******d. There are no ...
OrganicMustard's user avatar
1 vote
2 answers
335 views

How to fix " Uncaught Reference Error: autobahn is not defined at HelloworldProxy.connect " error?

I am trying to implement franca IDL using js and autobahn on clientside and wamp c++ server.I am completely newbee to this .js this is the first time I am working on this but I have worked on franca ...
siddharthav's user avatar
0 votes
0 answers
474 views

asyncio run_until_complete blocks after future has set result (autobahn websockets & threading)

TL;DR: Calling future.set_result doesn't immediately resolve loop.run_until_complete. Instead it blocks for an additional 5 seconds. Full context: In my project, I'm using autobahn and asyncio to ...
varogen's user avatar
  • 776
0 votes
1 answer
3k views

Websocket upgrade failed: 403 Forbidden autobahn asyncio

I'm trying to connect to a websocket using Autobahn/Asyncio. I have connected to several other websockets using the exact same code, but this particular websocket is rejecting my attempts. I'm getting ...
TJDW's user avatar
  • 1
0 votes
1 answer
414 views

I was trying to install autobahn(0.14.1).But it shows like ''No matching distribution found for autobahn==0.14.1''

No matching distribution found for autobahn==0.14.1 [pipenv.exceptions.InstallError]: ['Collecting autobahn==0.14.1 (from -r /tmp/pipenv-mUvBAU-requirements/pipenv-hE1ELq-requirement.txt (line 1))',...
Anusha George's user avatar
1 vote
1 answer
2k views

Websocket Autobahn Python client: how to connect to server using server and client certificates?

A websocket client (using Autobahn/Python and Twisted) needs to connect to a websocket server: the client needs to present its client certificate to the server and the client needs to check the server'...
TheDiveO's user avatar
  • 2,213
0 votes
1 answer
876 views

Kubernetes Python Client: connecting to a pod/service using Autobahn websocket/Twisted using bearer token

My situation: existing Docker container image, exposing its service via a websocket at, say, port 5000. When deployed, the websocket's service is exposed on the host (again) on port 5000. existing ...
TheDiveO's user avatar
  • 2,213
2 votes
0 answers
258 views

How to use autobahn sendmessage() from seperate thread (asyncio)?

I want to use sendMessage() from outside the MyServerProtocol from a separate thread to send a message to the client. I am trying something very similar to this and this, which did not work. The ...
cpfour's user avatar
  • 31
1 vote
0 answers
74 views

One single git repository for 2 different heroku apps with different PROCFILES, is it possible?

I want to create 2 different heroku apps.Both are using same github repository. Each app is having different processes to run i.e they need 2 different PROCFILES. Can we use same github code for ...
Deepika Kasbale's user avatar
0 votes
1 answer
349 views

Is there any method to detect sendMessage() of WebSocketClientProtocol actually delivers message to server or not?

I am using "autobahn library with twisted" in python to create web-socket server and client. There is situation when my server may be down, But client is continuously sending some data packets to ...
Deepika Kasbale's user avatar
0 votes
0 answers
329 views

Calling child class methods from parent classes; aggregation, inheritance or other?

Firstly, I'm new to python and OOP so I'm still learning how things work. I am trying to port a websocket API helper to a new websocket library as the original library has bugs and the github repo is ...
moremilopls's user avatar
0 votes
0 answers
233 views

How do you accept IPv6 connections in autobahn.twisted.websocket?

I'm running a websocket server using autobahn.twisted.websocket and it works perfectly for IPv4 connections but it doesn't accept IPv6 connections. The website itself supports IPv6 and is enabled and ...
Phil's user avatar
  • 13
2 votes
1 answer
906 views

Autobahn websocket client in Quart (async Flask) application

Good evening everyone. I'm not quite new to this place but finally decided to register and ask for a help. I develop a web application using Quart framework (asynchronous Flask). And now as ...
Andrew K's user avatar
0 votes
1 answer
490 views

Does Autobahn|Python[asyncio] support secure websockets?

Does the asyncio variant of Autobahn|Python support secure WebSockets? The docs on secure WebSockets with AutoBahn|Python only give a Twisted example: https://autobahn.readthedocs.io/en/latest/...
msasha's user avatar
  • 247
0 votes
1 answer
78 views

Registering remote procedures with autobahn java

The standard way of registering procedures in autobahn-java is: CompletableFuture<Registration> order_to_produce = session.register(prefix + "order_to_produce", this::order_to_produce); ...
Marko Štumberger's user avatar
0 votes
1 answer
697 views

Python Autobahn Websocket Server Receving One connection at a time

Python Asyncio or Twisted used by Autobahn are supposed to Handle concurrent connection at the same time. I followed a good tutorial on autobahn read-the-doc, it all worked well, yet the server is ...
Wangolo Joel's user avatar
3 votes
1 answer
21k views

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 ...
Azima's user avatar
  • 3,865
0 votes
1 answer
200 views

Autobahn Twisted WebSocket memory leak

I am working on a websocket server and am trying to use python twisted + autobahn but I believe I am hitting a memory leak. In fact I was able to reproduce it with the echo code on https://github.com/...
Dimitar K's user avatar
  • 804
1 vote
2 answers
349 views

Import error when importing MsgPackSerializer

I am trying to import the MsgPackSerializer from autobahn library. But I am getting the following error: ImportError: cannot import name MsgPackSerializer I have tried this solution but did not work ...
Avijit Dasgupta's user avatar
-2 votes
1 answer
459 views

Unable to connect to WAMP router on the client side of my application

I'm building a web interface to an IoT device that will change the settings of the device. The tech stack that i'm using is as follows: - React.JS for the front end client - Node.js for the server -...
Bhavik Patel's user avatar

1
2 3 4 5
10