Questions tagged [wamp-protocol]

Web Application Messaging Protocol (WAMP)

WAMP is an open standard WebSocket subprotocol that provides two application messaging patterns in one unified protocol:

  • Remote Procedure Calls
  • Publish & Subscribe
124 questions
2
votes
1 answer

How can I set up WAMP authentication from a Thruway client to a Crossbar router?

I'm going around in circles trying to get this to work... Here's the situation: I have a PHP web app which makes remote procedure calls (RPCs) to several microservices via a Crossbar.io router using Thruway. Anonymous calls are working perfectly,…
Kryten
  • 15,230
  • 6
  • 45
  • 68
2
votes
1 answer

How create a Autobahn Class able to implement a method to send message in a topic

I have implemented the follow class: class WampServer(ApplicationSession): @inlineCallbacks def onJoin(self, details): self.connectedBoard = {} self.topic_connection = self.config.extra['topic_connection'] …
alotronto
  • 99
  • 2
  • 8
2
votes
0 answers

Tornado and Autobahn-python listening on the same port

Recently I started a small personal project. It's a realtime web system based on asyncio and autobahn-python. However I also would like to serve some static files via HTTP and do it from the same process. My HTTP server is Tornado sitting on top of…
2
votes
0 answers

How to correctly implement PubSub with Autobahn on android?

I have been struggling to find a good way of implementing PubSub with Autobahn for android. I am currenty using the Singleton pattern to use the same AutobahnConnection in my whole app. I got the calls and subscribing working but when i unsubscribe…
Fergers
  • 473
  • 2
  • 7
  • 25
2
votes
0 answers

Failed to receive push notification when application is running on the background or unused in a long time

I am really new to iOS programming and I have got a pretty tough question regarding Push Notification. I have to use Wamp as the push server instead of the APNS. And there comes the problem. I would really like to know if it is solvable or using…
PinkiePie-Z
  • 525
  • 1
  • 6
  • 28
2
votes
1 answer

PubSub: Recommended way to save messages using Autobahn Python/WAMP

I am using Autobahn to broadcast messages to subscribed clients. However, when a client is NOT connected to the Internet, it is still necessary that they receive the messages when they reconnect. Will I need to use something like RabbitMQ to…
django-d
  • 2,210
  • 3
  • 23
  • 41
2
votes
1 answer

How to use a deferred to return the authentication secret when using Autobahn Wamp Cra?

I'm subclassing WampCraServerProtocol (from Autobahn Python) and overriding getAuthSecret. I understand that now I can return a deferred from that method, however, when doing a simple test: def getAuthSecret(self, authKey): deferred =…
sroj
  • 254
  • 2
  • 10
1
vote
0 answers

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 push the message to the Browser via a Proxy P1…
1
vote
1 answer

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: < script src = "autobahn.js" > < /script>