Skip to content

DDP Rate Limit is active for first admin #13329

@Soldia1138

Description

@Soldia1138

Description:

DDP Rate limit affects first created admin user as well, breaking the setup wizard as it's failing at the last step. As one can't finish update, it's not possible to change the Rate limiter settings via Settings menu.

Steps to reproduce:

  1. Deploy a brand new instance of RocketChat (for me it was docker-compose)
  2. Go to the RocketChat-Instance URL
  3. Create first admin via Setup Wizard
  4. Get the "too many requests" error at step 4 of setup wizart

Expected behavior:

DDP Rate Limit not active for first user

Actual behavior:

DDP Rate Limit active for first user

Server Setup Information:

  • Version of Rocket.Chat Server: 0.74.1
  • Operating System: Ubuntu 18.04
  • Deployment Method: docker-compose
  • Number of Running Instances: 1

Additional context

Downgraded to 0.74.0 and it works as expected

Relevant logs:

Example log:

rocketchat_1_794719855b5c | DDP RATE LIMIT: limit by connectionId per method
rocketchat_1_794719855b5c | {
rocketchat_1_794719855b5c |   "allowed": false,
rocketchat_1_794719855b5c |   "timeToReset": 8318,
rocketchat_1_794719855b5c |   "numInvocationsLeft": 0,
rocketchat_1_794719855b5c |   "userId": "DEnHruwNddTJnD79m",
rocketchat_1_794719855b5c |   "clientAddress": "172.18.0.2",
rocketchat_1_794719855b5c |   "type": "method",
rocketchat_1_794719855b5c |   "name": "saveSetting",
rocketchat_1_794719855b5c |   "connectionId": "CbhLoe4KtFmHPZk3d"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions