Problem
Users are reporting intermittently getting "limit exceeded" errors when using Mattermost or connecting to their Mattermost instance.
Solution
To resolve this issue, you need to disable rate limiting in your Mattermost configuration. This can be done in three ways:
Option 1: Configuration File Method
Edit your config.json
file and set:
"RateLimitSettings": { "Enable": false }
Option 2: Environment Variable Method
Set the following environment variable:
MM_RATELIMITSETTINGS_ENABLE=false
Option 3: System Console Method
Navigate to System Console → Environment → Rate Limiting and set Enable Rate Limiting to False.
After making any of these changes, restart your Mattermost server for the configuration to take effect.
For more detailed information about rate limiting configuration, refer to the official Mattermost documentation.
⚠️ Important Note: Rate limiting in Mattermost isn't recommended for production setups as it can block every API endpoint, causing intermittent connection issues. However, it might be sensible to investigate possible reasons for the increased API requests.
Comments
Article is closed for comments.