Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Sending one message per second on a hook gives me a ConnectionResetError

$
0
0

I need to send one message per second via an incoming web hook. It works for a while but after a few seconds I get a ConnectionResetError (in Python). I checked the Rate limiting settings because my first thought was that Mattermost was preventing this kind of behaviour by kicking the bot out. I have

Enable rate limiting = false
Maximum queries per second = 10
Maximum Burst Size = 3000000
Vary rate limit by remote address = false

Still, I keep getting those connection resets and I don't know why.

Should I keep the connection open between the python program and Mattermost?


Viewing all articles
Browse latest Browse all 25778

Trending Articles