Open salemgolemugoo opened 7 months ago
It doesn't matter if you use https://example.com or https://example.com/pcui for the SITE_URL. Application generates urls for the static resources in html with a prefix /pcui/. But static resources are available only like that https://example.com/_next/static/chunks/main-6cd0e2e10a4c98ae.js (without the prefix)
When I change https://github.com/aws/aws-parallelcluster-ui/blob/main/api/utils.py#L95 static_url_path="/pcui", the UI starts to load with the custom domain, but then I get 405 error on POST to https://example.com/pcui/logs
I am seeing the same issue with a brand new install. Image: 2024.04.0 PC Version: 3.9.1 Region: us-east-1
Hi all, thanks for raising the attention on this bug. We will investigate the issue internally and post here an update on the fix.
Thank you!
Hi all!
Curious if there is an update on this? Thanks!
Hi, thanks for reaching out! We are still investigating. We will post an update once we have confirmation of our next steps!
What is the status on this issue? This issue currently prevents us from upgrading our deployment of parallel-cluster.
Hi all :) Just checking in to see if there is an update here!
Hi all :) Just checking in to see if there is an update here!
Thanks for checking in! We are actively working on this issue! Hopefully it will be fixed in the next release
Hi all,
we just opened a PR with the fix, which will be part of the next release. https://github.com/aws/aws-parallelcluster-ui/pull/364.
Hi all,
with https://github.com/aws/aws-parallelcluster-ui/pull/365, that will be part of the next release, we will simplify the user experience in setting up the custom domain in both PCUI and the Cognito authentication page.
Description
Setup the brand new version of ParallelCluster UI (3.8.0) Used this documentation to enable custom domain name (example.com) https://docs.aws.amazon.com/parallelcluster/latest/ug/install-pcui-v3.html#install-pcui-api-custom-domain-v3 When I try to load the main page via custom domain name, static resources don't load. Api gateway returns html page without css and js resources. I see a blank page.
Steps to reproduce the issue
curl -v https://[API-ID].execute-api.us-east-1.amazonaws.com/pcui/_next/static/chunks/pages/index-b93f8f1a19ba2629.js < content-type: application/javascript; charset=utf-8 < content-length: 239454 Response: proper js file
curl -v https://example.com/pcui/_next/static/chunks/pages/index-b93f8f1a19ba2629.js < content-type: text/html; charset=utf-8 < content-length: 2197 Response: dummy html page
Expected behaviour
Resources should be loaded and login popup should appear.
Required info
In order to help us determine the root cause of the issue, please provide the following information:
Additional info
The following information is not required but helpful:
Without custom domain name:
With custom domain name: