Why users are seeing 'limit exceeded' errors?

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.

Screenshot 2025-06-26 at 15.58.23.png

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.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.