60 questions
0
votes
1
answer
181
views
Ably: Auth.requestToken(): token request signing call returned error; err = TypeError: Cannot read property 'split' of undefined
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 ...
0
votes
1
answer
287
views
How Ably works with Vercel?
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 ...
0
votes
1
answer
306
views
Laravel Ably broadcast not working after user login
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 ...
0
votes
1
answer
294
views
One-to-One Messaging with Ably
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 ...
0
votes
1
answer
85
views
Scaled ably game backend recommendations for process-only-once actions
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 ...
1
vote
0
answers
179
views
Realtime quiz with Next.js and PlanetScale (and Ably) - concurrency issues
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, ...
0
votes
2
answers
713
views
Subscribing with Ably Not Working in Production
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 ...
1
vote
1
answer
608
views
How I order these Next.js components so Next, Ably and Clerk work in tandem?
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. ...
0
votes
1
answer
146
views
Changing 1 on 1 webRTC Ably API code to handle group voice call
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 ...
0
votes
1
answer
246
views
What are Ably Presence action numbers?
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...) ...
0
votes
1
answer
774
views
Has anyone been able to use the new Experimental ably-js react hooks?
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), ...
1
vote
1
answer
266
views
Ably rate limiting clients
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/...
1
vote
1
answer
66
views
error 40104, 40105 when using ably with next js app router on vercel
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 { ...
0
votes
1
answer
536
views
Error trying to use ably Class "Ably\AblyRest" not found
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 ...
1
vote
1
answer
631
views
Issue with authorization with Ably when trying to run Pinecone Demo chat app
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 ...