AWS Cloud Formation - Confluence - Blocked JDK Download

From the log @ /var/log/cfn-init.log

TASK [product_common : Install Eclipse Temurin JDK] **************************** 
fatal: [localhost]: FAILED! => {"changed": false, "changes": {"installed": ["temurin-11-jdk"]}, "msg": "https://packages.adoptium.net/artifactory/rpm/amazonlinux/2/x86_64/Packages/temurin-11-jdk-11.0.21.0.0.9-1.x86_64.rpm: [Errno 14] curl#92 - \"HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR

Hello, I have a Confluence cluster in AWS running using auto scaling.
When spinning up a new node it fails to install the Terumin JDK as it appears the connection is being refused. This is intermittent, and works “sometimes”, but less often than not.

What can I do to fix this?

Discussed with Adoptium support. They appear to have resolved the issue. This was not related to confluence being at fault and therefore I will mark this as the solution.

Hi Team, We getting the similar error while launching jira using AWS Quickstart template. Kindly advise if there is any permanent solution that needs to be applied.