Skip to content

Socket Mode Timeout #2443

@GhouI

Description

@GhouI

(Filling out the following with as much detail as you can provide will help us solve your issue sooner.)

Packages:

Select all that apply:

  • @slack/web-api
  • @slack/rtm-api
  • @slack/webhooks
  • @slack/oauth
  • @slack/socket-mode
  • @slack/types
  • I don't know

Reproducible in:

The Slack SDK version

(Paste the output of)

npm ls | grep -o "\S\+@\S\+$" | tr @ ' ' | awk -v q='"' '{print q$1q": "q"^"$2q","}' | grep slack
"slack/bolt": "^3.22.0",
"slack/web-api": "^7.12.0",

or refer to your package.json

Node.js runtime version

(Paste the output of node --version)

OS info

(Paste the output of sw_vers && uname -v on macOS/Linux or ver on Windows OS)
It is hosted on railway.

Steps to reproduce:

(Share the commands to run, source code, and project settings)

1.The issue is that after a long period of time of idle the socket mode doesn't work. meaning its attempting to hit the slack api but nothing

Expected result:

Not having an socket api error

Error:
[INFO] socket-mode:SocketModeClient:0 Going to establish a new connection to Slack ...
[INFO] web-api:WebClient:0 API Call failed due to rate limiting. Will retry in 10 seconds.

Actual result:

Error

Requirements

For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇

I have looked at past threads and issues. They say X above is resolved in that issue but nope.
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pkg:socket-modeapplies to `@slack/socket-mode`questionM-T: User needs support to use the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions