Skip to content

Socket Mode disconnection issue with the aiohttp-based client #1110

Description

@matthieucan

Hello,
I'm following up after the issue #1065 and upgrading to Slack Bolt 1.8.

Shortly after upgrading, I experienced disconnections. This happened twice in the last 3 days - with the previous version the disconnection has happened every few weeks.
What's visible from my side is a Slack application still running, but unreachable through Slack slash commands.
There are no logs related to the websocket, contrary to #1065. The bug symptoms are the same though, which makes me believe it's related.

Reproducible in:

The Slack SDK version

slack-bolt==1.8.1
slack-sdk==3.10.1
slackclient==1.3.2

Python runtime version

Python 3.8.10

OS info

(running in a Docker container based on python:3.8.10-slim-buster)

Steps to reproduce:

Run the app with socket mode for a few days.

Expected result:

The app is always reachable.

Actual result:

Slash commands or interacting with the app messages lead to the Slack error "/foo failed with the error "dispatch failed".

Thank you for your consideration!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documentedneeds infoAn issue that is claimed to be a bug and hasn't been reproduced, or otherwise needs more infosocket-mode

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions