slack icon indicating copy to clipboard operation
slack copied to clipboard

Sessions authenticated with login-token silently fail after a few hours/days

Open michaelphagen opened this issue 1 year ago • 1 comments

I've been finding that my bridge is down about once per week, despite the bridge bot reporting a normal connection. The main error that I see is below:

2024-09-30T17:33:23.992Z ERR Got RTM error error=invalid_auth action="handle slack event" error_code=401 event_type=*slack.RTMErrorEvent login_id=T02CWCDNCJ2-U03F5Q9KWER user_mxid=@username:matrix.mydomain.tld 2024-09-30T17:33:28.995Z WRN Disconnected from Slack error=signaled action="handle slack event" event_type=*slack.DisconnectedEvent intentional=false login_id=T02CWCDNCJ2-U03F5Q9KWER user_mxid=@username:matrix.mydomain.tld

This did not occur before the bridge changed to have a new config format. If I roll back to that version of the bridge, it works normally.

michaelphagen avatar Sep 30 '24 17:09 michaelphagen

Same experience, mostly the same error. My log looks like this:

2024-10-08T16:32:28.214Z WRN Disconnected from Slack error=signaled action="handle slack event" event_type=*slack.DisconnectedEvent intentional=false login_id=<ID> user_mxid=<MXID>

these events are repeated about every 10 seconds.

hooger avatar Oct 08 '24 16:10 hooger