Common issues

SSL certificate issues communicating with Ably
Customers on Windows hosts have reported issues connecting to Ably with errors such as: cURL error: SSL certificate problem: self signed certificate i...
Tue, 10 Mar, 2020 at 10:02 PM
ClassNotFoundException when using Proguard with ably-java
If using Proguard with the Java client library, the following flags should avoid ClassNotFoundException issues: -keep class io.ably.lib.** { *; } -keep cla...
Thu, 27 Oct, 2016 at 2:13 PM
ably-java: " readBufferBytes failed" exception when making REST requests
W/System.err: io.ably.lib.types.AblyException: readBufferBytes failed ...
Fri, 23 Dec, 2016 at 7:56 PM
Why am I seeing a deprecation warning when serving Javascript files from your CDN?
We used to allow non versioned use of our CDN to serve our Ably Realtime Javascript library so that anyone wanting the latest version of the client library ...
Tue, 18 Sep, 2018 at 1:18 PM
Why are my peak connection counts higher than expected?
If your app dashboard shows you have a higher than expected number of peak connections, then we recommend you consider all of the following that could be co...
Thu, 4 Oct, 2018 at 7:06 PM
When I try installing ably-js with npm, I get " Error while executing: /usr/bin/git ls-remote -h -t"
Experiment with the following two commands: git ls-remote -h -t git:// git ls-remote -h -t
Thu, 6 Sep, 2018 at 4:46 PM
Why am I seeing every message multiple times?
If your message listener is being called multiple times for every message, one of two things probably happened: 1. You are mistakenly instantiating the ...
Tue, 23 Oct, 2018 at 1:02 PM
Warning about "setting a timer for a long period of time" when using ably-js-react-native on android
Ably js uses timers of up to two minutes (the two minute one is for connection state recovery). Some versions of react-native on Android warn about timers &...
Mon, 21 Jan, 2019 at 7:24 PM
"CORB blocked cross-origin response" error when using ably-js from a contentScript scope in a Chrome extension in Chrome 73+
Background: Chomer 73 made some changes to the way cross-origin request...
Wed, 20 Mar, 2019 at 3:37 PM
Using ably-js-react native, connection attempts or rest requests appear to timeout immediately
For example, if you init a realtime connection and it tries to connect and immediately goes from the `connecting` state to the `disconnected` state, with a ...
Fri, 26 Jul, 2019 at 9:20 AM