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

Kestrel HTTPS Endpoint with Wildcard Certificate

We are facing an issue when we load a wildcard certificate for a Kestrel ASP.NET Web API host using the following appsettings.json file: "Kestrel": { "EndPoints": { "HttpsInlineCertStore": { "Url": "https://test.my.host.com:443", …
0
votes
0 answers

Is it possible to force return the Connection header from ASP.NET Core through Azure App Service on Linux

Note: This is similar to this question but is about Azure App Service on Linux, not IIS. I have an API endpoint for uploading large files. The file should not be uploaded if authentication fails, if the filename is invalid, etc. We even accept a…
0
votes
1 answer

Is it possible to force return the Connection header from ASP.NET Core through IIS?

Note: This is similar to this question but is about IIS, not Azure App Service on Linux. I have an API endpoint for uploading large files. The file should not be uploaded if authentication fails, if the filename is invalid, etc. We even accept a…
0
votes
2 answers

ASPNET Core 3.1 Razor Pages with virtual directory in kestrel

I have two web sites developed using Aspnet core 3.1 Razor Pages, hosted by kestrel. Example: https://localhost:50001/* https://localhost:50002/* There is no problem when running in debug mode. However in production I would like to do the old IIS…
s k
  • 4,342
  • 3
  • 42
  • 61
0
votes
1 answer

How to use machine ip address with https to run / host dotnet core application using Kestrel(Without IIS)

How to use machine IP address ( https://192.168.1.102:5001) instead of localhost (https://localhost:5000) to host/run dotnet core application using Kestrel(Without IIS): I am using the following configuration Host.CreateDefaultBuilder(args) …
Arun Saini
  • 6,714
  • 1
  • 19
  • 22
0
votes
1 answer

How to configure https for a UWP Desktop Bridge app hosting a PWA via a Kestrel Server

I have a desktop bridge app which uses a worker service to host a PWA and WebAPI with Kestrel over https User runs the worker, and browses to the service from ff/chrome/edge This works fine in development as the development machine has a trusted…
Anthony Johnston
  • 9,405
  • 4
  • 46
  • 57
0
votes
1 answer

Cannot Reach Kestrel + NGINX (proxy) Website Hosted in LXD Container

I tried hosting my ASPNet Core web inside a LXD container together with NGINX as reverse proxy server, but to no avail. When I have Kestrel running through dotnet command, the browser (Firefox) returns Unable to Connect. However, when I…
Haikal Nashuha
  • 2,958
  • 7
  • 44
  • 67
0
votes
1 answer

Kestrel created in Console app refuses connections

This is a continuation of this issue. Find 2 different FREE ports for 2 kestrel servers I was able to start 2 kestrel servers from Console app using dynamic ports and on some computers it works fine, but sometimes this approach fails. TLDR Kestrel…
Anonymous
  • 1,823
  • 2
  • 35
  • 74
0
votes
1 answer

Nginx reverse proxy not finding other internal Docker container using hostname

I have two docker containers. One runs Kestrel (172.17.0.3), The other runs Nginx (172.17.0.4) using a reverse proxy to connect to Kestrel. Nginx connects fine when I use internal Docker ip of Kestrel container but when I try to connect to Kestrel…
Anon Ymous
  • 139
  • 1
  • 2
  • 10
0
votes
1 answer

DropzoneJS Upload 200+MB File gets null

I am using dropzonejs with MVC Core 3.1 and Kestrel and try to Upload the 200+ MB file but the posted file is always null Here is my dropzone configus var myDropzone = new Dropzone(document.body, { url: '@Url.Action("HandleUpload", "Files", new…
Izle
  • 97
  • 10
0
votes
1 answer

ASP.NET Core: Listening on both `https://mydomain` and `https://www.mydomain` with Kestrel

I'm trying to set up an ASP.NET Core web server with Kestrel. I want Kestrel to listen for all requests coming from both https://www.example.com and https://example.com, but I can't quite figure out how to do this. I'm currently using the following…
Sean
  • 75
  • 2
  • 9
0
votes
1 answer

.NET Core 2.1 API Kestrel problems when stress testing

I have an API developed in .NET Core 2.1 and while doing stress testing, it reports a Kestrel web server error and I don't know what it is. The error message is: Reading the request body timed out due to data arriving too slowly. See…
jmunoa7
  • 185
  • 2
  • 15
0
votes
2 answers

How to restart Kestrel Hosted in Windows Service?

I want to restart Kestrel (asp.net core 3.1) via an authorized http request. Kestrel is contained in a Windows service configured to restart itself automatically upon failure. As far as i know the simplest way is to return an exit code different…
0
votes
1 answer

Container xx didn't respond to HTTP pings on port: 8080, failing site start or Unable to bind to http://localhost:5000 on the IPv6 loopback interface

I've been deployed my app with FTP several times and always worked until now. I'm not using docker, so I suppose azure is dockerizing my app after I upload the files. I'm getting two errors, I'm not sure if are related with the port, my…
0
votes
1 answer

Can IIS have https binding without certificate?

I tried to setup automatic Let's Encrypt certification for a domain using this libray It is easy to setup and I hosted it in IIS.After some errors couldn't make it work. Finally I tried running app with Kestrel as end server, without IIS and i…
SlobodanT
  • 406
  • 3
  • 7