Questions tagged [kestrel-http-server]

Kestrel is a HTTP server that is built-in to ASP.NET Core.

Kestrel is an open-source web server based on libuv and developed by Microsoft. The project home is on GitHub.

822 questions
0
votes
0 answers

ASP.NET Core React Application returning 400 with no message on GET

My application was working fine, and then the next day I ran it (dotnet run) and it started returning 400 for all requests, with no message. I can reproduce the issue on various machines; however, some of my coworkers cannot. I am unable to get my…
0
votes
0 answers

Browser executes JavaScript files before they load completely

I have observed a rather strange anomaly in a web application. Tech stack: Front-End: ReactJS Back-End: .NET Core application + Kestrel Behavior The root HTML page of the application loads several key JS files required for creating the web app. For…
Gilbert Nwaiwu
  • 687
  • 2
  • 13
  • 37
0
votes
1 answer

Configure IIS for enabling directory browsing without Kestrel to hijack route

I have a simple asp.net core application on my computer hosted on my IIS. Let say I have a site on my computer like this: https://computername/application I have a virutual directory called logs. So for https://computername/application/logs I want…
wallef
  • 487
  • 3
  • 11
0
votes
1 answer

asp.net core ajax get

I am making a simple jquery ajax get request. The first request works great. However, any subsequent returns the error 431 (Request Header Fields Too Large). It seems asp.net core is adding the headers that are quite large (see pic) How do I resolve…
0
votes
0 answers

Why do I get ERR_EMPTY_RESPONSE running nopCommerce 4 in Visual Studio with SSL?

When I try to run nopCommerce 4.0 locally in VisualStudio with SSL, I get the error ERR_EMPTY_RESPONSE. Running without HTTPS works fine. I am testing integration with an external login and I need to run HTTPS locally to avoid mixed content…
mrcoulson
  • 1,331
  • 6
  • 20
  • 35
0
votes
1 answer

Azure Webapp Website on Linux with Kestrel not picking up Web.config changes

I have react application hosted on the Azure Webapp website on Linux. It Uses the kestrel as the web server. I want to add Security Headers to the webapp. But the Web.config file i added for this is not showing changes. I tried the same by created…
0
votes
0 answers

Kestrel piles up incoming simultaneous requests and doesn't read them until all are piled

I have a requirement to process up to 5000 in 10 seconds. The problem is that there seems to be bottleneck somewhere in Kestrel. The more simultaneous client requests I have the more delay I have on reading body of the first request. The minimalist…
alehro
  • 2,198
  • 2
  • 25
  • 41
0
votes
1 answer

NGINX & Kestrel 502 Response (111: Connection Refused)

I have NGINX setup in a docker container, it properly serves static content so there is no issue there. I configured it as a proxy to point to Kestrel on my mac. Kestrel responds just fine on port 5000 (checked via Curl) but for some odd reason…
0
votes
1 answer

ASP.NET Core 2.0 Web App keeps starting IISExpress instead of Kestrel even though IISExpress settings are removed

Every time I keep starting my ASP.NET Core Web App, it keeps starting IISExpress. I click DEBUG (or F5) and i noticed the little IISExpress systray icon show. I then manually exit it. Also, None of the debug (start/stop/pause) buttons are displayed…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
0
votes
1 answer

Cannot start Kestrel on production machine IServiceCollection remains null

Trying to host my webapi on the production machine but there, all DI services remains null. And I get the NullReferenceException everywhere I try to access the services variable inside the Startup class. The exception points the line where I'm…
0
votes
0 answers

Why does my ASP.NET core application breaks only on PUT call?

When a client hits PUT endpoint on my Web API, and that endpoint produces any kind of exception, the whole Kestrel breaks down. Visual Studio prints out: The application is in break mode Your app has entered a break state, but there is no code to…
Milos
  • 1
0
votes
1 answer

Return HTML view in .NET Core Console application with Kestrel

I've got .Net Core Console application. I've been trying for awhile to make it possible to run Process and listen to port at the same moment and this was my way of doing it: This is my program.cs class: class Program { static void Main(string[]…
0
votes
1 answer

Calculating Kestrel Inbound / Outbound traffic?

I'm looking for a way to calculate amount of traffic that goes through ASP.NET Core Kestrel? My initial thought is to have a middleware that handles all requests and sum them up, and i was wondering if there is any better approach for this? Since…
SHM
  • 1,896
  • 19
  • 48
0
votes
2 answers

Windows not accepting Self Signed SSL Certificate

Locally I've created and exported a Self Signed certificate using IIS. The result is a PFX file. I've loaded that into my ASP.NET Core solution and am spinning up Kestrel like the following: var certificatePath =…
aherrick
  • 19,799
  • 33
  • 112
  • 188
0
votes
1 answer

Hosting NET Core only with IIS without Kestrel and Http.sys

Im a beginner in microsoft architecture. For a project I am asked to host a net core web application on an IIS server by removing the use of the kestrel server (http.sys too). The net core application must only run via IIS. But according to my…
FRZ7
  • 307
  • 1
  • 2
  • 11