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

What is the AutobahnJS realm for?

Just wondering what the mysterious realm field in AutobahnJS is. From the docs, creating a connection is as follows: var connection = new autobahn.Connection({ url: 'ws://127.0.0.1:9000/', realm: 'realm1' }); I don't set a realm server-side…
Czar Pino
  • 6,258
  • 6
  • 35
  • 60
6
votes
1 answer

PHP Ratchet Wamp Broadcast to subscribers on publish event

I am developing a web application where I need real time behavior for the following scenario, Application will have two type of users Player and Spectator. Players can join an going game while Spectators can mere spectate. A game will be…
hitesh israni
  • 1,742
  • 4
  • 25
  • 48
6
votes
1 answer

How to configure Autobahn(crossbar.io) for dynamic chat rooms?

I love crossbar.io and how it works(personally). But I would like to know how we could setup the architecture for a typical dynamic chat application using Autobahn(Crossbar.io). Dynamic chat here means, individual chat room created for each url. For…
Kamalakannan J
  • 2,818
  • 3
  • 23
  • 51
6
votes
1 answer

How to send Autobahn/Twisted WAMP message from outside of protocol?

I am following the basic wamp pubsub examples in the github code: This example publishes messages from within the class: class Component(ApplicationSession): """ An application component that publishes an event every second. """ def…
hazzey
  • 1,179
  • 25
  • 29
5
votes
1 answer

Poloniex Push WAMP API through Autobahn dropping connection to peer tcp

I tried to connect to the Push API in poloniex using python and followed the instructions on the answer here: How to connect to poloniex.com websocket api using a python library However I keep getting this error: 2017-06-25T04:07:04 dropping…
James Pinkerton
  • 161
  • 2
  • 14
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
5
votes
1 answer

voryx thruway multiple publish

I need to publish messages from php script, I can publish a single message fine. But now I need to publish different messages in loop, can't find proper way how to do it, here is what I tried: $counter = 0; $closure = function…
dave101ua
  • 159
  • 1
  • 2
  • 11
5
votes
1 answer

Imperative client for autobahn WAMP server?

I'm using autobahn to run a websocket server to complement my Django app. Sometimes, I need to send messages from Django to the websocket server, which works fine using the websocket-client module. I would love to use the WAMP protocol instead…
Simon
  • 12,018
  • 4
  • 34
  • 39
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
2 answers

Running several ApplicationSessions non-blockingly using autbahn.asyncio.wamp

I'm trying to run two autobahn.asyncio.wamp.ApplicationSessions in python at the same time. Previously, I did this using a modification of the autobahn library as suggested in this post's answer. I now require a bit more professional solution.…
deepbrook
  • 2,523
  • 4
  • 28
  • 49
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
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
3
votes
2 answers

Reason WAMP protocol has not been widely adopted?

We are trying to decide on a protocol which will last at least 10 years. WAMP from the look of it covers everything we will ever need. https://wamp-proto.org/ I am curious as to why I have not heard more about this? WAMP + Message Driven…
basickarl
  • 37,187
  • 64
  • 214
  • 335
3
votes
1 answer

Python: Combination of cmd and asyncio (for WAMP / autobahn)

Overview I am trying to implement a simple command-line interface for a WAMP application. For the WAMP implementation, the autobahn python package is used. I would like to have an interactive shell so I decided to use the cmd module to parse the…
3
votes
2 answers

HTTP 502 bad gateway c# with wamp on poloniex

I want to retrieve ticks from Poloniex in real time. They use wamp for that. I installed via nugget WampSharp and found this code : static async void MainAsync(string[] args) { var channelFactory = new DefaultWampChannelFactory(); …
ronki
  • 43
  • 4
1
2 3
8 9