Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
137 views

During the implementation of Laravel Echo with Ably, an error occurs when channelName = null. Although the server still returns a token, Ably throws the following error: Auth.requestToken(): token ...
Lê Hoàng Quốc Thanh's user avatar
0 votes
1 answer
269 views

I'm using Ably as provider for my Express application. Vercel itself suggests to use Ably, among others, to manage websockets. The issue is that once my deployed application successfully connects to ...
L. Pier Roberto's user avatar
0 votes
1 answer
287 views

I'm using ably for broadcasting notifications in my admin panel, I've followed this repo https://github.com/ably/laravel-broadcaster, to setup ably/laravel-broadcaster and ably larvel echo for the ...
Amir Eix's user avatar
0 votes
1 answer
251 views

i know there's already a question with the same title. but i have something more to say What are my main goals: I'm trying to let any user from my app to connect to any other user securely, so that ...
Pratik Dev's user avatar
0 votes
1 answer
75 views

In a scaled backend infrastructure (imagine game engine) which subscribes to bunch of ably channels and processes messages (say user input update in a game), is there a recommended pattern to ensure a ...
smbl's user avatar
  • 334
1 vote
0 answers
175 views

I'm trying to build a realtime quiz. A user guesses the answer, and does a post to my Next.js endpoint (I'm moving to Ably to handle the connections/order of message). When a user posts an answer, ...
Pieter Moeyersons's user avatar
0 votes
2 answers
666 views

I shipped an application to production using Vercel and Ably. In short, on a button click, I publish an event to a channel from my react client. On my node backend, I am subscribed to that channel for ...
Corey's user avatar
  • 11
1 vote
1 answer
594 views

I am currently trying to set up an app with Clerk (authentication) and Ably (WebSockets for realtime communication), but I can't figure out how to architect this where one piece doesn't break another. ...
Dwayne Draper's user avatar
0 votes
1 answer
140 views

Right now I have a fully working 1 on 1 voice call using webRTC and Ably API. I want to modify my code to somehow create one room (I won't need more than one channel) so when people click to join it ...
Anita Aksentowicz's user avatar
0 votes
1 answer
232 views

So I'm pushing Ably Presence events to a lambda function via Ably Firehouse. Logging the event on lambda, I see the presence actions are represented by numbers and not action names (leave, enter...) ...
Justice Mba's user avatar
0 votes
1 answer
765 views

Problem: I encounter a "Unhandled Promise Rejection: Error: Connection closed" every time I attempt to use useChannel or usePresence. This is being done in a client component (app router), ...
Atridad Lahiji's user avatar
1 vote
1 answer
248 views

I need to give clients publishing capabilities in my application, but that creates an opportunity for malicious users to cause disruption. I see that Ably has revocable tokens (https://ably.com/docs/...
user3747260's user avatar
1 vote
1 answer
56 views

I'm using ably and have created a route to generate a token on next.js server using the following code, based on the next example on ably's web site // src/app/api/getAblyToken/route.ts import { ...
Noam's user avatar
  • 5,451
0 votes
1 answer
504 views

Ok so i been following the tutorial for ably Building a realtime chat app with Laravel using WebSockets but when i tried to create a messageEvent using the command: php artisan make:event ...
Omar Montero's user avatar
1 vote
1 answer
605 views

I have been trying to get the Pinecone Demo chat app in their own website up and running.Link to it. I have put all the keys properly in the .env file and the UI seems to pop up correctly. However, it ...
AaravS's user avatar
  • 41
1 vote
1 answer
1k views

I am making a website using whatsapp-web.js package in node.js. Everything is working fine in localhost. Here I have used ably (Realtime server) But when I want to deploy website on vercel, it is not ...
Tarequl Islam's user avatar
0 votes
1 answer
347 views

In Ably, Im using Ably React hook In the documentation, there is a way to update member status when monitoring what users have entered a room. const [presenceData, updateStatus] = usePresence("...
Ray's user avatar
  • 1,738
0 votes
1 answer
676 views

I'm developing a chat application using Laravel and flutter. I'm using ably_flutter package to make it realtime. The channel is created successfully but it's faild to listen an event or a message. ...
Getaye's user avatar
  • 41
1 vote
1 answer
510 views

I'm trying to use push notifications with ably in a flutter app but I'm getting this error please help me solve it
livlic AHETO's user avatar
0 votes
1 answer
151 views

This plugin ... https://pub.dev/packages/ably_flutter ... asked me to do this ... ably.ClientOptions options = ably.ClientOptions( clientId : '...', authUrl : '...', authHeaders : {'...
stackunderflow's user avatar
1 vote
1 answer
396 views

I'm building a real-time chat using Laravel, Ably (Pusher) and Vue 3 and a presence channel. Everything works great, but for some reason the first connected client gets disconnected automatically ...
Gelu Ungur's user avatar
1 vote
1 answer
524 views

First attempt to get paho-mqtt working with Ably. I'm sort of translating the following NodeJS example (which works for me) to Python. In the Python version, I don't seem to get any CONNACK back from ...
Jonathan Shapiro's user avatar
2 votes
1 answer
2k views

Consider a mobile chat app with MongoDB for chat message storage and https://ably.com/ as the pub sub broker. When a new user joins a chat room, or an existing user re-install their app, old messages ...
Mikael Lirbank's user avatar
0 votes
1 answer
721 views

My imports work fine within my javascript file, but they do not work when I start the webserver. I can access the functions of the imported module as expected, but the import statement itself fails ...
niCC_S's user avatar
  • 11
0 votes
0 answers
513 views

Sorry if the question wording is unclear. When I try to use the Ably module in my client-side js file, the object doesn't exist. I thought that javascript files within the same HTML file all had ...
niCC_S's user avatar
  • 11
4 votes
1 answer
1k views

So I was trying to implement one-to-one messaging in NextJS with Ably but I couldn't get it done. I'm stuck between making channels for interactions (e.g. private:<user_1>-<user_2>) and ...
anomOG's user avatar
  • 43
1 vote
1 answer
901 views

I am building a React Native game with multiple screens. I am trying to instantiate Ably one time and use it throughout the application without having to call new Ably('api-key') on every screen, as ...
Wasik's user avatar
  • 31
0 votes
1 answer
541 views

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's user avatar
  • 1,028
1 vote
1 answer
171 views

I wanted to know if there is an example to do it the other way round, that is from Ably to MQTT. I need this for my IoT application where I am trying to send an instruction to change the sensor value ...
Dave's user avatar
  • 11
1 vote
2 answers
981 views

I'm trying to build a PaaS like Ably where I provide users with a easy to use pub/sub system. The thing is that I'm planning to use Kafka but I don't know if it's the right fit for this. Each user can ...
Gabriel Mendez's user avatar
0 votes
1 answer
958 views

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?
user12253469's user avatar
0 votes
1 answer
315 views

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, ...
Piotr Pawlik's user avatar
2 votes
3 answers
333 views

I want to have custom permissions for different channels for security purposes. In the documentation and examples, shortlived tokens are used. I don't want to spam the auth server every minute and don'...
Arp Lee's user avatar
  • 21
0 votes
1 answer
104 views

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 ...
RJBreneman's user avatar
2 votes
1 answer
500 views

I am new to vercel and I am trying to deploy an application which consist of chat feature. I am using ably.com as pub/sub chat feature. I am trying to use ably realtime for both publishing and ...
Ratnesh Soni's user avatar
1 vote
1 answer
363 views

Last time that I asked question here I acted like a prime noob and I hope this time I am a bit more on track and clear on my problem. So my issue: I have this player built in a PHP file and I call it ...
Frozenfar's user avatar
0 votes
1 answer
474 views

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 ...
user6680's user avatar
  • 129
0 votes
1 answer
439 views

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 ...
Abdul Ali's user avatar
  • 1,925
1 vote
1 answer
201 views

We have a web calendar client which shows events in real time. Whenever there is an update on the server, we use Ably Realtime to notify the client that it needs to request updates from the server. ...
user1480192's user avatar
0 votes
2 answers
423 views

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', { ...
Al Joslin's user avatar
  • 781
0 votes
1 answer
330 views

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 ...
user6680's user avatar
  • 129
0 votes
1 answer
162 views

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/...
wwerner's user avatar
  • 4,317
1 vote
1 answer
1k views

We have a use case where the user has not logged into the application yet and no authentication token has been created. The application needs to connect to the web server on a public channel to check ...
pacmaninbw's user avatar
1 vote
1 answer
1k views

I kinda came across a strange problem. In our application (based on React-native) we hosted 70 concurrent clients but the peak in the monitoring page showed 380 connections. I assume maybe clients ...
bhrzk's user avatar
  • 43
1 vote
1 answer
299 views

I'm building a simple online app with Netbeans using Codename One, and I wanted to use Ably for internet communication, but I'm having trouble importing the Ably API. Ably's site tells me that I need ...
Bom Tomdabil's user avatar
2 votes
1 answer
349 views

I have an e-commerce website and I want to implement a messaging solution between my clients, using ably.io. I am new to ably.io and also to pub/sub message pattern and need some advice to put me on ...
Hooman Bahreini's user avatar
6 votes
2 answers
508 views

My question concerns the following use case: Use case actors User A: The user who sets a broadcast region and views stream with live posts. User B: The first user who sends a broadcast message ...
Trace's user avatar
  • 18.9k
0 votes
1 answer
721 views

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 ...
Jason Galuten's user avatar
0 votes
2 answers
90 views

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 ...
Kira's user avatar
  • 1,603
0 votes
1 answer
611 views

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 ...
Srushtika Neelakantam's user avatar