Problem: When accessing a route such as https://localhost/
via an https connection, or when accessing a file located in docroot via an https connection, a Basic Authentication dialog box appears.
Steps to Reproduce:
- Download the full version of Payara7.2025.1.Beta1 from the Payara website.
- Extract and unpack the downloaded ZIP file to a location of your choice.
- Start the Payara server (Since this is a Windows environment, set the Java path in glassfish/config/asenv.bat in the extracted folder. Java: zulu21.40.17-ca-jdk21.0.6-win_x64).
- Before accessing
http://localhost:4848
, accesshttps://localhost:8181
. The Basic Authentication dialog box does not appear. - Access
http://localhost:4848
(simply access the URL). - Access
https://localhost:8181
. The Basic Authentication dialog box appears.
This issue does not occur with Payara5.2022.5, but does occur with a newly installed standard Payara7.2025.1.Beta1.
The same issue occurs with all versions of Payara7.2025.1, from Alpha1 to 4, and Beta1.
How come?