Questions tagged [ably-realtime]

Ably is a scalable realtime pub/sub platform enabling communication between any internet enabled device across many open protocols and some proprietary protocols. Clients connect using HTTP, WebSockets, MQTT, AMQP, STOMP to name a few.

Ably is a realtime data delivery platform providing developers everything they need to create, deliver and manage complex realtime functionality. Ably solves the hardest parts of scaling and reliability so they don’t have to.

Ably is the only globally distributed pub/sub platform to provide websocket support and open protocol support, with low latencies (mean 65ms), guaranteed ordering, and continuity of service over unreliable networks.

Useful links:

Ably provides client libraries for the following platforms:

50 questions
0
votes
1 answer

Difference between ably realtime Channel.off method and Channel.unsubscribe

The Ably realtime javascript documentation here does not describe what the Channel.off method does. I'm wondering what that method does and how it's different than Channel.unsubscribe
camtastic
  • 955
  • 6
  • 15
0
votes
1 answer

How to get list of connected users?

I have many channels, and I need to get statistic, how many users connecter to every channel and their identity. How can I get a list of connected users to every channel?
0
votes
1 answer

Best way of setting up integration tests for ably

I'm considering migration from pusher to ably. In my current setup, I'm using https://github.com/tristandunn/pusher-fake as a solution to run integration tests. In short, this is running local server, which is faking real pusher server. This allows…
Piotr Pawlik
  • 103
  • 8
0
votes
1 answer

Ably Pub/Sub Realtime ILoggerSink LogEvent not working

I am using VB.NET with Ably .NET Realtime library version 1.2.1. I have a wrapper class setting up and managing Ably. The class implements ILoggerSink. It is setting up the channel as shown by these snippets from different parts of the…
RJBreneman
  • 787
  • 7
  • 21
0
votes
1 answer

Using ably.io JWT with Angular

I'm trying to use ably.io with Angular and Azure Functions using the JWT way of authenticating since it's secure, but I'm having issues with configuring the angular side of it. The use case is for a live auction site to update bids in realtime.…
user6680
  • 79
  • 6
  • 34
  • 78
0
votes
1 answer

ably webrtc group call Not working in Javascript and simple peer

we are working on making a simple group call web app using Ably and simple peer. By following the step by step tutorial, the 1-to-1 call works (that too has issues when using on public ip but that is another day's topic) However when same code has…
Abdul Ali
  • 1,905
  • 8
  • 28
  • 50
0
votes
2 answers

Need help using MQTT with Ably from the Browser

I am using the paho-mqtt library in a SPA running in Chrome and calling the connect with the example code and am getting two alternating errors var client = mqtt.connect('mqtts:mqtt.ably.io', { keepalive: 30, username: 'keyPartA1.artA2', …
Al Joslin
  • 765
  • 10
  • 14
0
votes
1 answer

Getting started with ABLY

I added https://github.com/ably/ably-js to my project so that I can use typescript. Currently my document adds the currentBid information to the mongodb document with the corresponding auctionId. I'm trying to associate the auctionId with the…
user6680
  • 79
  • 6
  • 34
  • 78
0
votes
1 answer

Can ably.io (AMQP|MQTT) queue clients authenticate using tokens?

I'd like to allow untrusted clients to subscribe to MQTT and AMQP queues on ably.io. Can I use one of the token authentication schemes described in https://www.ably.io/documentation/core-features/authentication#token-authentication somehow, or do I…
wwerner
  • 4,227
  • 1
  • 21
  • 39
0
votes
1 answer

ConnectionManager.onChannelMessage() received message with different connectionSerial, but same message id as a previous; discarding

Using Ably Realtime for a web based reservation system. I'm getting a few errors in the js console consistently, though everything is working properly. Basically, there is a date selector and when a visitor selects a date, I set a global variable…
Jason Galuten
  • 1,042
  • 2
  • 11
  • 20
0
votes
2 answers

Casting from Any to anything else fails

API gives me back a variable that has type Any. It looks like this when I print it. { "sender" : "Kira", "created" : "08.05.2018", "text" : "Cncncm" } I tried to use SwiftyJSON to cast it like this let mydata = JSON(data) but it failes. I…
Kira
  • 1,575
  • 4
  • 26
  • 48
0
votes
1 answer

Can I attach and subscribe to channels using wildcards?

When using Ably for Pub/Sub over WebSockets, can I use wildcards to subscribe to multiple channels like so var channel = ably.channels.get('foo:*') channel.attach() (disclaimer: I am a developer advocate for Ably, and posting and self-answering a…
0
votes
1 answer

How can you restrict which channels a client can access?

I'm using Ably's Realtime library to implement Pub/Sub over websockets. However, is there a way to restrict the channels that my client can access? (disclaimer: I am a developer advocate for Ably, and posting and self-answering a commonly asked…
0
votes
1 answer

Are messages sent to and received from Ably sent securely using TLS?

Using Ably's Node.js SDK to implement Push Notifications in my app. Are messages sent to and received from Ably sent securely using TLS? (disclaimer: I am a developer advocate for Ably, and posting and self-answering a commonly asked support…
0
votes
1 answer

If I need to whitelist Ably's servers from a firewall, which ports, IPs and/or domains should I add?

I'm using Ably to implement Pub/Sub over websockets. If I need to whitelist Ably's servers from a firewall, which ports, IPs and/or domains should I add? (disclaimer: I am a developer advocate for Ably, and posting and self-answering a commonly…