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
5
votes
1 answer

How to stop outbound HTTP connections from timing out

Backgound: I'm currently hosting an ASP.NET application in Azure with the following specs: ASP .Net Core 2.2 Using Flurl for HTTP requests Kestrel Webserver Docker (Linux - mcr.microsoft.com/dotnet/core/aspnet:2.2 runtime) Azure App Service on…
5
votes
1 answer

Kestrel vs IIS+Kestrel performance (throughput) using .NET Core 2.2

For the .NET Core 2.2 application deployed on a single AWS EC2 host I am comparing IIS hosting vs plain Kestrel hosting. For IIS configuration I followed MS documentation. For Kestrel I simply used: dotnet app.dll --server.urls http://*:5000 I am…
Sergey Nikitin
  • 845
  • 2
  • 13
  • 25
5
votes
0 answers

asp.net core HTTP Error 503. The service is unavailable

The event viewer shows the following errors The worker process failed to pre-load .Net Runtime version No Managed Code. The worker process failed to initialize correctly and therefore could not be started. The data is the error. I am able to…
Philip
  • 579
  • 3
  • 8
  • 19
5
votes
2 answers

ASP.NET Core: Idle timeout between the calls with a delay

I have an ASP.NET Core Web API running under Kestrel(Ubuntu) and I faced with a strange situation: When I run the series of the first 20 API calls, the first 3-5 calls are quite slow, then the response time is ok. Then I make a short delay (could be…
Tom Soyer
  • 49
  • 3
5
votes
1 answer

.net core ubuntu change port when using service

I'm trying to test running .net core on a different port when using the service. However, I keep on getting an error with a status code 140. This occurs in my two attempts : 1) adding --server.urls=http://0.0.0.0:555 in the service…
Jeremy Loh
  • 175
  • 1
  • 9
5
votes
1 answer

webapi .net core got nginx connect() failed (111: Connection refused)

Deploy my webapi dotnet core project to Ubuntu server Configuration with kestrel and proxy via nginx my code in file Program.cs public class Program { public static void Main(string[] args) { var config = new ConfigurationBuilder() …
Igor Cova
  • 3,126
  • 4
  • 31
  • 57
5
votes
1 answer

how to hide kestrel console?

I have a .net core app that I want to run in background, but I can't seem to get rid of the console window of Kestrel. Is there any way to hide it without running the app as a windows service? I've tried to remove any reference related to Logger, it…
Yuval Perelman
  • 4,499
  • 1
  • 22
  • 32
5
votes
0 answers

ASP.Net Core logging file not written in Linux environment

I have an ASP.Net Core (.Net Core 1.1.1) application, which using built-in logger and Serilog.Extensions.Logging.File for writing the log to file, it works well on my macOS development environment but CentOS environment. The appsetting…
Rex Lam
  • 1,385
  • 1
  • 15
  • 23
4
votes
2 answers

Troubleshoot threadpool starvation under heavy load

We are experiencing issues with high load on our dotnet-core (3.1) application. Beyond a certain amount of connection (virtual users), we encouter a bottleneck, the server is starved and we get request timeout but the process doesn't crash (no…
Armand
  • 726
  • 11
  • 29
4
votes
2 answers

Using Kestrel https .net core 6

I've got app in .net core 5. And this is the code in Startup.cs ''''' public static IHostBuilder CreateHostBuilder(string[] args) => //Host.CreateDefaultBuilder(args) // .ConfigureWebHostDefaults(webBuilder => {…
Dami Bore
  • 49
  • 1
  • 2
4
votes
2 answers

Kestrel :: Bind to multiple HTTP and HTTPS urls through appsettings.json

I have a ASP.NET Core service build in .Net 5 which uses Kestrel as edge server. The service needs to listen on multiple domains on HTTP protocol - e.g. http://foo:12912 & http://bar:12912 and HTTPS protocol like http://foo:443 & http://bar:443. I…
Nikhil Agrawal
  • 47,018
  • 22
  • 121
  • 208
4
votes
0 answers

The certificate data cannot be read with the provided password, the password may be incorrect when running ASP.NET Core Kestrel on Linux

I created self signed SSL certificates by following this tutorial: https://devblogs.microsoft.com/aspnet/configuring-https-in-asp-net-core-across-different-platforms/ I am using Linux Ubuntu 16.04 LTS It is ASP.NET 5 application and I am running it…
Vlado Pandžić
  • 4,879
  • 8
  • 44
  • 75
4
votes
0 answers

Get number of connections in ASP .NET Core 3.1 / Kestrel

I'm putting a limit on the number of concurrent connections to a webapp hosted by Kestrel using an approach like: webBuilder.UseKestrel((context, options) => { options.Configure(context.Configuration.GetSection("Kestrel")); …
Kente
  • 73
  • 6
4
votes
2 answers

use Kestrel in .NET Core worker project

I created a new .NET Core worker project with the template provided by Visual Studio. I want to listen for incoming TCP messages and HTTP requests. I'm following David Fowler's "Multi-protocol Server with ASP.NET Core and Kestrel" repository on how…
user13755987
4
votes
1 answer

Load an SSL certificate from appsettings.json

I built a .NET core 2.2 application, that I am loading onto a raspberry pi. I am hosting the web service using Kestrel. On the pi, I have created a self-assigned certificate.pfx. If I hard code into the application a .UseHttps with the certificate…
Brandon Dallon
  • 49
  • 1
  • 1
  • 6
1 2
3
24 25