slack-go / slack

Slack API in Go, originally by @nlopes; Maintainers needed, contact @parsley42
https://pkg.go.dev/github.com/slack-go/slack
BSD 2-Clause "Simplified" License
4.64k stars 1.13k forks source link

RTM: Connection drops every few days #1124

Closed preethi-d closed 1 year ago

preethi-d commented 1 year ago

What happened

slack app unresponsive every few days, even though service running. Upon viewing logs we can see this

Screen Shot 2022-11-07 at 10 53 02 AM

not sure how to fix this, as the handleEvents() method should by right handle disconnect events gracefully and reconnect right?

Expected behavior

if disconnect happens, handleEvent() should help reconnect. we need not add our own check and retry on our end, as it is not advised to call 'rtm.ManageConnection()' more than once.

Steps to reproduce

reproducible code

manifest.yaml

Versions

kanata2 commented 1 year ago

dup of #1101

preethi-d commented 1 year ago

hi @kanata2 neither this nor the other ticket are completed actually, stil having this issue and unable to understand why. Appreciate any help thanks!

This ticket shows some of the logs we get before the connection seems to drop.