gaepdit / complaint-tracking

Complaint Tracking System
The Unlicense
1 stars 2 forks source link

InvalidOperationException: Cannot determine the https port from IServerAddressesFeature, multiple values were found. Set the desired port explicitly on HttpsRedirectionOptions.HttpsPort. [HTTP 200 returned while handling GET Request] #755

Closed dougwaldron closed 3 weeks ago

dougwaldron commented 3 weeks ago

Raygun report https://app.raygun.com/crashreporting/258s6a2/errors/205583351524 has more details about the error

dougwaldron commented 3 weeks ago

Occurred when navigating to the site without specifying "https".

dougwaldron commented 3 weeks ago

This will be fixed by adding this line to the "appsettings.json" files:

  "https_port": 443

See "Port configuration" in Enforce HTTPS in ASP.NET Core | Microsoft Learn