Questions tagged [autobahnws]

Autobahn WebSocket allows bidirectional real-time messaging on the Web and WAMP adds asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.

Autobahn WebSocket allows bidirectional real-time messaging on the Web and WAMP adds asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.

55 questions
12
votes
1 answer

How to do unit test on Autobahn applications using Twisted Trial?

Assuming that you use only Autobahn connection (not raw WebSocket). How can we test WITHOUT network, our RPC methods and events? As it is Twisted, I think that the most appropriate tool would be Twisted Trial. But I can't figure out how should I…
Raito
  • 1,553
  • 11
  • 27
9
votes
1 answer

Websocket paused when android app goes to background

My android app starts a service that opens a websocket to communicate to a remote server. The service spawns a thread whose run method looks like this. public void run() { try { super.run(); for(int i = 1; i < 1000;…
Chu Bun
  • 513
  • 1
  • 5
  • 17
6
votes
1 answer

How to re-register a WAMP callee after a reconnect using Autobahn Python with Twisted ReconnectingClientFactory?

I have an Autobahn Python client application using Twisted which is connected to a Crossbar.io server. The client application can successfully reconnect after losing network connectivity using the ReconnectingClientFactory. The client registers a…
Harold Short
  • 171
  • 9
5
votes
2 answers

Connecting to Poloniex Push-API

I want to connect to the Push API of Poloniex. On their page they write the following: In order to use the push API, connect to wss://api.poloniex.com and subscribe to the desired feed. wss = WebSocket Secure -> SSL Protected They also give an…
Bobface
  • 2,782
  • 4
  • 24
  • 61
4
votes
0 answers

Crossbar says 'no callee registered for procedure'

Despite having two nodes connected to a crossbar router on my local network, they aren't seeing each other and the browser console is saying: Browser console: Potentially unhandled rejection [1] {"error":"wamp.error.no_such_procedure","args":["no…
sscirrus
  • 55,407
  • 41
  • 135
  • 228
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
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
3
votes
0 answers

Autobahn python handshake error

We are using python 2.7.5 on Redhat (Red Hat 4.8.3-9) and trying to run simple helloworld in Autobahn Python while starting the server we are getting following error: # python AppSession.py 2016-03-22T19:09:03+0530 failing WebSocket opening…
Vinod Puliyadi
  • 225
  • 1
  • 3
  • 14
3
votes
2 answers

CannotListenError: Couldn't listen on any:9008: [Errno 98] Address already in use

I am working on Autobahn's app on websocket over python. I found one problem, if I restart my server code once after interrupting then my server code will send me error like: 2016-03-03 13:20:34+0530 [-] Log opened. 2016-03-03 13:20:34+0530 [-]…
Raj Damani
  • 782
  • 1
  • 6
  • 19
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
2
votes
1 answer

Websockets: Are Rachet & autobahn from npm compatible?

I'm experimenting with the Ratchet php library. In particular, I've been trying to integrate their push integration demo into a React application. Their demo references a seemingly one-off version of the autobahn JS library, which works against my…
quickshiftin
  • 66,362
  • 10
  • 68
  • 89
2
votes
0 answers

Handshake problems

I am having a bit of a problem when using crossbar. I start running autobahn python backend and autobahn js frontend and everything seems normal until I get this error: 2016-08-01T14:12:40+0000 [Router 9051] failing WebSocket opening handshake…
newguy
  • 69
  • 1
  • 9
2
votes
1 answer

Websockets connection lost on Android Autobahn sometimes

I have a chat app on Android and also on iOS. On Android I'm using Autobahn. On iOS I'm using SocketRocket. On the server side I'm using Autobahn for Python. Sometimes my messages will fail to send on Android because the connection is lost. I…
Andy
  • 1,815
  • 2
  • 22
  • 49
2
votes
0 answers

How can I create/request additional stateful workers in Crossbar.io and keep them isolated?

I'm developing a Python web application where each user gets a session, and the session is stateful. Each session exposes RPCs and topics which enables the user to interact with it (e.g. create object, delete object, etc.). I've been thinking about…
trianta2
  • 3,952
  • 5
  • 36
  • 52
1
vote
0 answers

How to write TestCase for websockets?

I just want to write a TestCase for WebSocketClientProtocol in the setUp and tearDown I think I setup correctly the Server. All I want is test client connected to server and server send some message client will receive that's it. Below is the code…
user4374121
1
2 3 4