80024: Outdated Ably SDK version
outdated_ably_sdk_versionThe connecting Ably SDK is an old version, and the way it connects to Ably is being retired. Connections from these SDK versions increasingly fail until they can no longer connect.
What you should do
Update the Ably SDK you are using to a supported version. See the deprecation notice for the versions affected and the ones to upgrade to.
Why it happens
Older versions of the Ably SDKs connect to Ably using an earlier version of the Ably protocol. Ably is retiring it in favor of a newer version that is more efficient and scalable and supports features the older one cannot.
What you'll see
The error is reported with code 80024 and HTTP status 400. You may see it only intermittently at first: the retirement is rolled out gradually, so for a period some connections using the old protocol version fail while others still succeed. There are two messages, depending on the stage of the retirement:
- While the connection still succeeds, it carries the warning
Support for this protocol version will be removed imminently, please update your SDK immediately. - Once that protocol version is being removed, the connection is refused with
This protocol version is no longer supported, please update your SDK version to connect.
The "protocol version" named in these messages corresponds to your installed SDK version — the thing you update to resolve this.