You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm finding that as a single user on my homeserver, many media requests are being ratelimited whereas previously I wouldn't find it noticeable. I know that the leaky buckets were added in recently, and I've set some reasonably high limits but I'm still seeing quite a few medias fail to load.
How can I help debug this?
# Controls for the rate limit functionalityrateLimit:
# Set this to false if rate limiting is handled at a higher level or you don't want it enabled.enabled: true# The number of requests per second before an IP will be rate limited. Must be a whole number.requestsPerSecond: 5# The number of requests an IP can send at once before the rate limit is actually considered.burst: 10buckets:
# The download bucket applies to both download requests and thumbnail requests. Each anonymous# user is assigned a single bucket from their IP address. Authenticated requests (when supported)# will use the authenticated entity as the subject - either a user or remote server.downloads:
# The maximum size of each bucket.capacityBytes: 1048576000# 300mb default# The number of bytes to "drain" from the bucket every minute.drainBytesPerMinute: 52428800# 5mb default# The number of bytes a requester can go over the capacity, once. This is used to give some# buffer to allow a single file to be downloaded when the caller is near the limit. This# should be set to either your max remote download size or 30% of the capacityBytes, whichever# is smaller.overflowLimitBytes: 104857600# 100mb default
The text was updated successfully, but these errors were encountered:
If you mean errors like Replying with result: *_responses.ErrorResponse &{Code:M_LIMIT_EXCEEDED Message:Rate Limited InternalCode:M_LIMIT_EXCEEDED}, our service seem to fix this issue after setting up signing key (refer to config.sample.yaml#L109 ), it might be remote server's rate limit policy rather than MMR's configuration error.
I'm finding that as a single user on my homeserver, many media requests are being ratelimited whereas previously I wouldn't find it noticeable. I know that the leaky buckets were added in recently, and I've set some reasonably high limits but I'm still seeing quite a few medias fail to load.
How can I help debug this?
The text was updated successfully, but these errors were encountered: