You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/11/01 02:01:22 UTC

[GitHub] [apisix] soulbird commented on issue #8218: bug: limit-count plugin doesn't work correctly for grpc services when used with proxy-cache plugin in the same route

soulbird commented on issue #8218:
URL: https://github.com/apache/apisix/issues/8218#issuecomment-1297916390

   > Until we reach the cache_ttl value;
   > - When I invoke the service endpoint more than once, the "x-ratelimit-remaining" response header disappears
   > - I can also hit the service endpoint more than the "x-ratelimit-limit" count.
   
   The priority of the proxy-cache plugin is higher than that of the limit-count plugin. When the cache hits, the proxy-cache will directly send the cached content to the client, and the limit-count plugin will not be executed.
   
   > 2.3.1 First call for the route
   >  apisix-cache-status response header is missing.
   
   From your configuration I see no problem, so please confirm the problem:
   1. Is there any related error log?
   2. Make sure the peoxy-cache plugin is enabled, it is disabled by default
   3. Whether the request received the expected status code, etc.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org