• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs BUG: SSL redirect loop Net Core

AaronUH

New Pleskian
Username:

TITLE

BUG: SSL redirect loop Net Core

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Ubuntu 22.01.1, Plesk 18.0.46

PROBLEM DESCRIPTION

It looks like there is a bug with the new Net Core extension, where the SSL setting is using the HTTP prefix:
1663003269917-png.21511

The SSL part should be starting the webapp with the HTTPS prefix not HTTP prefix, this is causing any app which uses the "app.UseHttpsRedirection()" or has a HTTPS redirect to have a redirect loop.

STEPS TO REPRODUCE

Add a net core site, enable app.UseHttpsRedirection() (or any kind of HTTP -> HTTPS redirect) at application level

Install a SSL certificate through Plesk

Attempt to load the website

ACTUAL RESULT

You get a 302 infinite redirect loop

EXPECTED RESULT

HTTPS to be passed through for end-to-end SSL

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Developers can't reproduce the issue and suggest you contact Plesk Support Team to check the issue directly on your server.
 
Ok, I will do that.

However, all they need to do is install an empty Umbraco CMS with the above configuration and it will occur.
 
Back
Top