Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Closed
#62 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
go

Research direction

Start by reproducing the login-token authentication failure after several hours or days, then compare the current config behavior with the version before the config format change. Done means the bridge detects and handles expired authentication rather than silently remaining connected while Slack returns invalid_auth.

Written by the indexing model from the issue text.

Description

bug

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.

Dominant language
Go
Stars
107
Forks
31
Avg merge
1d 38m
Merged PRs (30d)
18

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mautrix/slack

All issues in mautrix/slack

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.