errbotio / errbot

Errbot is a chatbot, a daemon that connects to your favorite chat service and bring your tools and some fun into the conversation.
http://errbot.io
GNU General Public License v3.0
3.13k stars 615 forks source link

ERRBOT crash after flooded command DM. #1469

Open Rixxan opened 4 years ago

Rixxan commented 4 years ago

In order to let us help you better, please fill out the following fields as best you can:

I am...

I am running...

Issue description

Spamming the bot with "!whoami" or other similar commands in DMs causes the bot to quit with a READ ERROR in IRC (client crash), and forces errbot reinstallation.

Attempts to manually start errbot return `_gdbm.error: [Errno 11] Resource temporarily unavailable: '/home/ubuntu/pyProjects/errbot/data/repomgr.db'.

Steps to reproduce

Launch errbot (with IRC backend) Join server Open DM to errbot Spam !whoami or !about until bot quits with READ ERROR (indicating system crash)

Additional info

Live logs have information about SSL : BAD LENGTH (ValueError: Write on closed or unwrapped SSL socket.) that comes into play during the crash and spam.

Pastebin: https://pastebin.com/8Jspytf8

Rate Limiting in Conf is set to 2 seconds for private messages, however, I don't know if this could be related.