Home > Net >  .NET 6 Requests taking too long to reach server
.NET 6 Requests taking too long to reach server

Time:12-06

I have a .NET 6 WebAPI that was working perfectly fine until last week in my local environment.

Now when I try to make any request from any source in my localhost, the requests take between 1 and 4 minutes to reach the controller of the WebAPI. When I deploy it to Azure it works perfectly fine, and no other dev seems to be having the same problem.

I'm not sure if this is a known bug of IIS or what's happening, but it looks like nobody else is having this issue, I suspect it has something to do with the connection pooling but I'm not sure how to manage it.

Thanks for the help!

CodePudding user response:

After trying a lot of things, decided to delete the whole project/repo from my pc and cloned it again and this solved it for me... I know it's not a solution but it stopped happening.

  • Related