Closed ably-sync-bot closed 2 years ago
Hi I used following configs but I get an error and this is so weird.
{"event":"pusher:error","data":{"message":"Malformed key name xxxxx - don't use your secret key, only your keyName (appId.keyId) (Ably error 40101)","code":4001}}
window.Echo = new Echo({ broadcaster: 'pusher', key: process.env.MIX_ABLY_APP_KEY, wsHost: 'realtime-pusher.ably.io', wsPort: 443, disableStats: true, encrypted: true, }); window.Echo.channel("articles") .listen("AblyTestEvent" , (e) => { console.log(e); })
┆Issue is synchronized with this Jira Uncategorised by Unito
➤ Ricardo Crivelli commented:
Set MIX_ABLY_APP_KEY in .env file only with the public part of your key (bofore the : character).
Hi I used following configs but I get an error and this is so weird.
┆Issue is synchronized with this Jira Uncategorised by Unito