Ripcord Dev Logo Ripcord Development — View Ticket Login or Create Account
Ticket UUID: 7db74a02cd3b477de41e04dca156ca58b4f902db
Title: Slack auto-reconnection fails with re-authorize account message
Status: Open Type: Bug
Severity: Minor Priority: Low
Subsystem: Slack Resolution: Open
Last Modified: 2023-03-27 17:46:57
Version Found In: 0.4.29
cigumo2023-01-14 03:59:24

About a month or so ago Slack reconnection started failing with the following message:

Unable to sign it with user XXXX on team XXXX. You might need to re-authorize this account again in Ripcord.

There is no relation to Internet access IP reconnection. Randomly it just happens.

If I manually reconnect, it works perfectly.

I tried reauthorizing via web browser but it still keeps happening. It happens for all Slack accounts, but not always at the same time.

Here is the log when the error happens:

2023-01-13 19:05:48.319	Debug	[Slack 0544] Unhandled RTM event type goodbye
2023-01-13 19:07:53.606	Info	[Slack 0544] WebSocket error: QAbstractSocket::RemoteHostClosedError
2023-01-13 19:07:53.606	Info	[Slack 0544] WebSocket error: QAbstractSocket::RemoteHostClosedError
2023-01-13 19:07:53.606	Debug	[Slack 0544] WebSocket state change: Connected -> Closing
2023-01-13 19:07:53.606	Debug	[Slack 0544] WebSocket state change: Closing -> Unconnected
2023-01-13 19:07:53.606	Info	[Slack 0544] Connection down. Retrying in 250 msecs. 0 previous attempts.
2023-01-13 19:07:53.606	Debug	[Slack 0544] Session state change: Running -> Waiting to retry connection
2023-01-13 19:07:53.899	Debug	[Slack 0544] Socket retry timeout. Reconnection number: 1 has URL: true
2023-01-13 19:07:53.899	Debug	[Slack 0544] Session state change: Waiting to retry connection -> Reopening WebSocket
2023-01-13 19:07:53.899	Debug	[Slack 0544] WebSocket state change: Unconnected -> Connecting
2023-01-13 19:07:54.206	Debug	[Slack 0544] WebSocket state change: Connecting -> Connected
2023-01-13 19:07:54.206	Debug	[Slack 0544] Session state change: Reopening WebSocket -> Awaiting reconnection hello
2023-01-13 19:07:54.208	Warn	[Slack 0544] Disconnecting on failure: Server indicated WebSocket authorization info is invalid. - 
2023-01-13 19:07:54.208	Debug	[Slack 0544] Session state change: Awaiting reconnection hello -> Disconnecting on error
2023-01-13 19:07:54.208	Debug	[Slack 0544] WebSocket state change: Connected -> Closing
2023-01-13 19:07:54.208	Debug	[Slack 0544] WebSocket state change: Closing -> Unconnected
2023-01-13 19:07:54.208	Debug	[Slack 0544] Session state change: Disconnecting on error -> Inactive
probablynathan2023-02-23 14:05:25

I've also been experiencing this for the past few weeks. If there's a pattern in server activity or how many hours since I started ripcord, I haven't noticed it. It tends to happen 1-3 times a day, anywhere from an hour to eight hours apart.

Tatsh2023-03-27 17:46:57

Also getting this issue. Every time I come back to my computer after a while Slack has disconnected and the re-attempt fails, but my manual attempt works fine.