Closed insanity54 closed 1 year ago
24h confirmed! 86400000 in ms.
saw this problem again, but this time instead of a token error, I'm seeing Mismatched clientId error.
03:07:45.123 Ably: Transport.onProtocolMessage(): Ably requested re-authentication, but unable to obtain a new token: [ErrorInfo: Mismatched clientId for existing connection; statusCode=401; code=40102; see https://help.ably.io/error/40102 ]
investigating.
I seem to have solved this by re-using the session in followup pushServiceAuth requests via cookies, but I need to verify that a stream following a 24h token refresh is detected. #208
Closing this because it looks like a solved issue.
I think it's 24 hours but I'm not sure yet. Token refresh issue suspected.