stefanprodan / AspNetCoreRateLimit

ASP.NET Core rate limiting middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Policies not working

almogze opened this issue · comments

Hi, it seems that the policies that I configured (not via appSettings) doesn't work. When I'm trying to debug it looks that my problem comes from ClientRateLimitProcessor in the method GetMatchingRulesAsync:
image
I'm expecting to get the policy that I created but I get null.

my configuration is as follows:
image

where BuildClientRateLimitPolicies is just a method that I created in order to add policies via code.
would appreciate any help!
Thanks

I looked in previews issues, the answer is to add seed.