ably-js
ably-js copied to clipboard
Ably: Request.onabort(): Request aborted due to request timeout expiring (event type: abort)
experiencing error in ably js
WebSocket connection to 'wss://realtime.ably.io/?access_token=KvMtoA.FFOsdpo2y10CXpYmGEdXg0bffm_fR6x43df5BZAe5-RELEzj69yr698w4jmtaZQOFgYxE1xxv__eyENzAOinn_63CBOrDs35b8R4ciJcmnMg7c4wsDmOafewjviBM6z9VnuPlwFNMcFaiMwMne-j-WWsZfniDo7vOfOyoBotbQzI&format=json&heartbeats=true&v=1.2&agent=ably-js%2F1.2.27%20browser' failed: WebSocket is closed before the connection is established.
Uncaught (in promise) ErrorInfo {message: 'Connection to server unavailable', code: 80002, statusCode: 400, cause: undefined, href: 'https://help.ably.io/error/80002'}
Hey @MobinX, thanks for reporting this.
The error messages here indicate that the client timed out opening a websocket connection with the Ably backend, possibly due to network connectivity issues. Are you able to provide us with either steps to reproduce or client debug logs? Would also be good to know which browser you're using