You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting autoConnect to false and manually await realtime.connect() yields similar behavior.
Looking further into the logs I see the following: (VERBOSE): io.ably.lib.transport.ConnectionManager: setState(): setting disconnected; reason {ErrorInfo message=authCallback failed with an exception (See https://help.ably.io/error/80019) code=80019 statusCode=401 href=https://help.ably.io/error/80019}
@ben-xD I came across #156, tested the connection and sent a message, it worked despite the exception. I guess the merged PR is not published to pub.dev yet. First time taking Ably for a spin, the exception is indeed scary. Any ETA as to when this can be published?
It looks like you're facing a bug that was fixed by #156. You can expect this bug fix to be released in the next version, which should come very soon (definitely by the end of next week, but potentially by the end of this week).
Thanks @ben-xD I'm gonna go ahead and close this issue for now. #182 remains the only outstanding issue we're facing for now, just wondering if the feature is indeed not implemented yet or we're doing something wrong.
Given the below snippet a
java.lang.Exception: Invalid authCallback response
gets thrown.Setting
autoConnect
tofalse
and manuallyawait realtime.connect()
yields similar behavior.Looking further into the logs I see the following:
(VERBOSE): io.ably.lib.transport.ConnectionManager: setState(): setting disconnected; reason {ErrorInfo message=authCallback failed with an exception (See https://help.ably.io/error/80019) code=80019 statusCode=401 href=https://help.ably.io/error/80019}
Which doesn't make sense because
authCallback
returns token response and based on 2.1 here https://ably.com/documentation/core-features/authentication#token-process and Ably is not supposed to establish a direct auth connection (if it did, that'd be a 404 error).┆Issue is synchronized with this Jira Uncategorised by Unito
The text was updated successfully, but these errors were encountered: