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
A click to browse the Java extension, triggers multiple API response with 429 Too Many Requests with inappropriate rate limiting parameters. The same phenomenon also occurs for other extension pages.
2. Details
2.1. Related API Request and Response
API Request in curl form (exported from browser, some header ommited):
The status code 429 of the response and the access-control-expose-headers imply that the registry service applies rate limit rules to client requests.
However, the x-rate-limit-retry-after-seconds header seems to be not correctly set. When rate limit is triggered, this header should be set to a positive value to let the client delay its retry.
But the response actually set this value to 0, which causes the client to immediately retry the request, resulting in another response with status code 429.
In my browser, 6 "bad" responses are received before the request finally succeeds in the recorded case.
3. Possible fix
The registry service should set x-rate-limit-retry-after-seconds header to a positive value (number of seconds) when rate limiting is triggered, to let the client delay the next request.
The text was updated successfully, but these errors were encountered:
1. Brief Description
A click to browse the Java extension, triggers multiple API response with
429 Too Many Requests
with inappropriate rate limiting parameters. The same phenomenon also occurs for other extension pages.2. Details
2.1. Related API Request and Response
API Request in
curl
form (exported from browser, some header ommited):The problematic response with headers is:
2.2. Explanation
The status code
429
of the response and theaccess-control-expose-headers
imply that the registry service applies rate limit rules to client requests.However, the
x-rate-limit-retry-after-seconds
header seems to be not correctly set. When rate limit is triggered, this header should be set to a positive value to let the client delay its retry.But the response actually set this value to 0, which causes the client to immediately retry the request, resulting in another response with status code 429.
In my browser, 6 "bad" responses are received before the request finally succeeds in the recorded case.
3. Possible fix
The registry service should set
x-rate-limit-retry-after-seconds
header to a positive value (number of seconds) when rate limiting is triggered, to let the client delay the next request.The text was updated successfully, but these errors were encountered: