(Filling out the following with as much detail as you can provide will help us solve your issue sooner.)
Reproducible in:
Local, docker container
The Slack SDK version
3.5
or refer to your package.json
"dependencies": {
"@slack/bolt": "3.5",
"@slack/rtm-api": "^6.1.0",
"@slack/socket-mode": "^1.3.2",
"@slack/web-api": "^6.8.1",
"node-fetch": "^3.3.1"
}
Node.js runtime version
v16.14.0
(Paste the output of node --version)
OS info
(Paste the output of sw_vers && uname -v on macOS/Linux or ver on Windows OS)
ProductName: macOS
ProductVersion: 13.4
BuildVersion: 22F66
Darwin Kernel Version 22.5.0: Mon Apr 24 20:53:44 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T8103
Steps to reproduce:
(Share the commands to run, source code, and project settings)
- Run the bolt app on port 3000, in a socket mode
- After a couple of hours, the events will no longer be received via socket mode
- Socket mode disconnects and reconnects on it's own
`[INFO] socket-mode:SocketModeClient:0 Reconnecting to Slack ...
[INFO] socket-mode:SocketModeClient:0 Going to establish a new connection to Slack
[INFO] socket-mode:SocketModeClient:0 Now connected to Slack`
Expected result:
- Socket connection should always be ON and should receive the events all the time
More details here
https://stackoverflow.com/questions/76760627/slack-socket-mode-reconnecting
(Filling out the following with as much detail as you can provide will help us solve your issue sooner.)
Reproducible in:
Local, docker container
The Slack SDK version
3.5
or refer to your
package.json"dependencies": {
"@slack/bolt": "3.5",
"@slack/rtm-api": "^6.1.0",
"@slack/socket-mode": "^1.3.2",
"@slack/web-api": "^6.8.1",
"node-fetch": "^3.3.1"
}
Node.js runtime version
v16.14.0
(Paste the output of
node --version)OS info
(Paste the output of
sw_vers && uname -von macOS/Linux orveron Windows OS)ProductName: macOS
ProductVersion: 13.4
BuildVersion: 22F66
Darwin Kernel Version 22.5.0: Mon Apr 24 20:53:44 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T8103
Steps to reproduce:
(Share the commands to run, source code, and project settings)
`[INFO] socket-mode:SocketModeClient:0 Reconnecting to Slack ...
[INFO] socket-mode:SocketModeClient:0 Going to establish a new connection to Slack
[INFO] socket-mode:SocketModeClient:0 Now connected to Slack`
Expected result:
More details here
https://stackoverflow.com/questions/76760627/slack-socket-mode-reconnecting