-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Description
Describe the bug
I send a post request to my api using postman. The first few requests get responses in about 1- 2 seconds, after that the next request takes up to 60 seconds before responding. I placed a break point at the start of my method with the HttpPost attribute. The breakpoint is not hit for those 60 seconds so this leads me to believe the timing issues is bettween sending the https request and before the relate method executes.
To Reproduce
Steps to reproduce the behavior:
- Using this version of ASP.NET Core '1.1'
- Run this code '
[HttpPost]
public JsonResult Post(string key)
{
return Json(-1);
}' - With these arguments 'https://win2k8JD/myservice/api?key=123'
- Im using nginx as a reverse proxy configured for https, and I'm also using Kestrel
Expected behavior
fast responses from my asp.net core api (not 60 seconds of wait before my code starts executing
Screenshots
If applicable, add screenshots to help explain your problem.
Metadata
Metadata
Assignees
Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions