stefanprodan / AspNetCoreRateLimit

ASP.NET Core rate limiting middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting CORS error instead of 429 (when using AspNetCoreRateLimit Nuget)

AssafKoh opened this issue · comments

Hello,

I started using your Nuget: "AspNetCoreRateLimit", which controls the maximum number of requests to a certain API or to all APIs.

After the desired number of requests, the API is indeed blocked.
for 3 requests I indeed see 429 as response status, but after the 3rd request and so on, I stop getting a 429 status and start getting a CORS error.

Do you have any idea why this is happening?