Skip to content

[Bug]: Default share creation rate limit breaks typical human usage, e.g. in 429 in Talk app #57665

@biredel

Description

@biredel

⚠️ This issue respects the following points: ⚠️

Bug description

Typical usage creates 429 errors in Talk app, e.g. after sending 20 chat messages with attachments, no further such messages can be sent.
The bug in the app is merely the misleading "You are not allowed to share files" message displayed. The root of the problem appears to be in core - the default rate limits being too low, by about a factor of 10.

See #50905 (backports: v30 #52205 v31 #52206)

Steps to reproduce

  1. Enter Room in Nextcloud Talk
  2. Send a message with 20 image attachments
  3. Send another attachment within 10 minutes
  4. Observe (unclear) error

Expected behavior

Sending another message should work. Typical human interaction via the web interface should not be hampered by mitigations against misuse or broken apps.

Nextcloud Server version

  • actually reproduced on: 31.0.13
  • earliest v31 that has blamed patch: v31.0.4
  • earliest v30 that has blamed patch: v30.0.10

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Additional info

Note that in the example of the Talk app occurs after the expensive PUT has been processed.
Its only later when cheaply POSTing the image to the Chatroom that the rate limit kicks in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap31-feedbackbug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions