Questions tagged [kestrel]

Kestrel is a simple, distributed message queue system written in Scala.

Kestrel is a simple, distributed message queue system written in .

There is also Kestrel a cross platform web server for ASP.NET Core. If your question is addressing the web server you can use

364 questions
4
votes
3 answers

Self hosted ASP.NET Core app does not work with SSL

I have created an sample ASP.NET Core application using command line: dotnet new and tried to run it utilizing command: dotnet run But, when opening the URL in the browser, it complains that the SSL is invalid. I can run the program using Visual…
Afshar Mohebi
  • 10,479
  • 17
  • 82
  • 126
4
votes
1 answer

Correct way of loading SSL certificate signed by Intermediate CA in Kestrel .NET Core

I am setting up SSL on my Kestrel Linux server using .NET Core 2.1.1. The SSL certificate is signed by an intermediate CA. The PFX contains the intermediate and root CA cert. I load the pfx file as a X509Certificate2 object and use this for the…
PKCS12
  • 407
  • 15
  • 41
4
votes
2 answers

.NET Core adding client certificate to POST to Kestrel REST API on Linux fails server cert validation

I am using .NET Core 2.1, Kestrel on Linux. My web application acting as client makes a request as so (following guides dotted around, this seems to the way to go): var handler = new HttpClientHandler(); handler.ClientCertificateOptions =…
PKCS12
  • 407
  • 15
  • 41
4
votes
2 answers

How to remove Server Header in Asp.Net Core 2.2.1 Web App?

I'm using Asp.Net Core 2.2.1. I'm trying to remove the server Header from the response. I tried adding options.AddServerHeader = false; inside ConfigureKestrel(), but still unsuccessful. Please assist me on where I'm going wrong. Here is my…
fingers10
  • 6,675
  • 10
  • 49
  • 87
4
votes
0 answers

How to dynamically add/remove additional listen URLs to Kestrel at runtime after server is started?

I want to be able to add/remove ports on the Kestrel listens on after the web server has been started (something you would normally configure via UseUrls method in IWebHostBuilder. I don't want to restart the entire web server in the process as I…
Andrew Stakhov
  • 1,105
  • 8
  • 26
4
votes
1 answer

Service Fabric https endpoint with kestrel and reverse proxy

I've been trying to setup Https on a stateless API endpoint following the instructions on the microsoft documentations and diverse post/blogs I could find. It works fine locally, but I'm struggling to make it work after deploying it on my dev server…
Xav Sc
  • 489
  • 1
  • 5
  • 23
4
votes
0 answers

Kestrel HTTPS: An unknown error occurred while processing the certificate

Having background errors thrown by Kestrel but not preventing user to use web server properly in HTTPS mode. Those errors are occuring every 20minutes roughly even if there is no activity on web server. "System.AggregateException: One or more errors…
4
votes
1 answer

Kestrel port settings under VS2017 are ignored

I have an issue with starting Kestrel server from VS2017. In VS2015 in launchSettings.json I was able to set the port like this: "Kestrel": { "launchUrl": "http://localhost:5010/api", "environmentVariables": { "ASPNETCORE_URLS":…
kubal5003
  • 7,186
  • 8
  • 52
  • 90
4
votes
2 answers

Kestrel HTTPS BadHttpRequestException

Over HTTP and inside of Visual Studio it is working fine. However, when I attempt to hit the endpoint over HTTPS I'm seeing this error and I'm not entirely sure how to figure out the problem: info: Microsoft.AspNetCore.Server.Kestrel[17] …
4
votes
1 answer

The input string contains non-ASCII or null characters

2016-12-02 02:54:39:180 [WARNING] Microsoft.AspNetCore.Server.Kestrel - Connection processing ended abnormally Microsoft.AspNetCore.Server.Kestrel.BadHttpRequestException: The input string contains non-ASCII or null characters. at…
4
votes
2 answers

Simple Pull Message Queue

I'm trying to find the right tool for the job. I've explored a few different message queues like Kafka, Kestrel, etc... and I'm looking for something that has a PULL functionality. I have an API (distributed) that shoves the incoming messages into…
Daniel
  • 1,692
  • 2
  • 13
  • 19
3
votes
0 answers

TLS1.0 no longer working after upgrade of service from .Net Core 3.1 to .Net 7.0

(Edited: have now confirmed that the thing that stopped this working was NOT a windows update, but an update to our service app) We have a .Net 7 Web API service, running using Kestrel. This service used to work, but it seems that upgrading it from…
GPW
  • 2,528
  • 1
  • 10
  • 22
3
votes
1 answer

Kestrel launchSettings.json on Release in NET.6 VS2022

gRPS .NET 6 service on Release doesn't pick up applicationUrl from launchSettings.json and listens by default - localhost:5000 and 5001 for https. How and where to set up a release so that it picks up the launchSettings.json in VS2022?
UNRE
  • 47
  • 8
3
votes
1 answer

What happens to the 513th concurrent request to nginx?

Nginx is event based and by default runs as 1 process supporting max 512 concurrent connections. Another process would allow another 512 concurrent connections. I'm using nginx as a reverse proxy to a kestrel server. Kestrel supports unlimited…
variable
  • 8,262
  • 9
  • 95
  • 215
3
votes
1 answer

change DotNet 6 inbound request timeout

I need to ensure a synchronous request stay alive for over 60 minutes. Is there a way to change the default inbound request timeout in DotNet 6? I found this: serverOptions.Limits.KeepAliveTimeout =…
Carlos Garcia
  • 2,771
  • 1
  • 17
  • 32