Realtime API and client libraries
Common questions and issues with the Realtime API
Platform support
Connections
- Will I receive an error if a client publishes with the connection in the Failed, Disconnected or Suspended states?
- Can I change my connection's clientId after connecting?
- How can I use ably-js session recovery over a page reload when I have multiple SDK instances for the same origin?
- Can a single connection be shared across multiple browser tabs?
- How can I see who is connecting to my app?
- Why is my Ably realtime connection sometimes disconnecting and reconnecting?
- Optimising Ably connections to minimize battery usage
- Is a connection ID globally unique?
- Should I monitor for non-2xx network requests to identify issues?
Common issues
- Why am I seeing a build error TypeError: Cannot read properties of undefined (reading 'sqrt') when using Ably-js with Next.js
- Why am I seeing every message multiple times?
- "CORB blocked cross-origin response" error when using ably-js from a contentScript scope in a Chrome extension in Chrome 73+
- Why are my concurrent connection counts higher than expected?
- SSL certificate issues communicating with Ably
- Warning about "setting a timer for a long period of time" when using ably-js-react-native on android
- When I try installing ably-js with npm, I get " Error while executing: /usr/bin/git ls-remote -h -t https://github.com/ably-forks/msgpack-js.git"
- ClassNotFoundException when using Proguard with ably-java
- Using ably-js-react native, connection attempts or rest requests appear to timeout immediately