Closed pchang388 closed 3 years ago
I would suggest running a newer version of the bot with the slackRTM backend, which uses the newer slack-client versions.
On your requirements you can get it by putting errbot as:
errbot[slack-rtm]
or
errbot==6.1.7
slackclient==2.9.3
then in config file put the backend as 'SlackRTM'
I'm not sure is this will work fine in python3.6, but if you are using docker you can just bump the base image to python3.8
Hey @ppinzon,
Thanks for the suggestion! The update to slackclient >= 2.9.3 seems to have resolved the issue with intermittent connection resets. I actually didn't see that in the documentation so this was very helpful.
I am...
I am running...
Issue description
After processing a slack event/message like "$status", I see in the logs:
Also at times seeing:
Steps to reproduce
Run errbot and wait for it to start up and connect to Slack. Then run any "$status" command and the bot may respond at times before running into the errors above or just throw the error without responding to the command.
Additional info
I am trying to understand why the connection to slack keeps closing and tried playing around with the XMPP_KEEPALIVE_INTERVAL property in the config but with no results/improvements.
I am running into the "Broken Pipe" more consistently and any help would be appreciated.