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
{{ message }}
Repository navigation
AsyncSocketModeHandler: new session established after idle reconnect but handlers stop receiving events (no "Bolt app is running!" after reconnect) — 1.27.0 #1529
slack-bolt 1.27.0 · slack-sdk 3.40.1 · Python 3.11 · AsyncApp + AsyncSocketModeHandler · multiple bots in one workspace.
After idle periods, some apps reconnect Socket Mode ("A new session (...) has been established" is logged) but the normal "Bolt app is running!" line never follows, and from that point inbound events are silently never delivered. Process stays alive, health/memory logs continue — only event dispatch dies. Other identically-deployed bots that emit regular outbound traffic survive the same idle windows, suggesting idle-reconnect handler reattachment as the locus.
Repro pattern (consistent across multiple apps/hosts):
working: connect → auth → new session → "Bolt app is running!" → events flow
failure: idle → old session abandoned → new session established → no "Bolt app is running!" → no events, no errors
Mitigation found: a 60s per-app auth.test keepalive prevents the failure entirely — which works but shouldn't be necessary.
Questions:
Known issue in 1.27.0 with handler reattachment after idle reconnect?
Is the missing "Bolt app is running!" after a new session a reliable failure signal we can watchdog on?
Please try updating your slack-sdk version from 3.40.1 to the latest (currently 3.42.0) PR slackapi/python-slack-sdk#1854 introduced improvements to the lock acquisition logic during the reconnect race condition, along with other improvements to the socket mode logic
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.
As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.
Activity
WilliamBergamin commentedon Jun 8, 2026
Hello @GirthTender thanks for writing in 💯
Please try updating your slack-sdk version from 3.40.1 to the latest (currently 3.42.0) PR slackapi/python-slack-sdk#1854 introduced improvements to the lock acquisition logic during the reconnect race condition, along with other improvements to the socket mode logic
github-actions commentedon Jul 13, 2026
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.
github-actions commentedon Aug 31, 2026
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.
github-actions commentedon Sep 14, 2026
As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.