Remote Access (Self-Hosted) - We Are Having Trouble Displaying the Application
Symptom
When trying to launch an application via the Remote Access Portal the following error message is shown with a Floating Boat image:
We Are Having Trouble Displaying the Application
Environment
N/A;12.2 Remote Access (formerly Alero) Connector;Connector Management
Any Remote Access Self-Hosted Environment
Cause
There are multiple causes for this issue, most of them are related to either the network between the Remote Access and the Cloud or PVWA side, but some are also on the Remote Access Connector Unix box itself.
Resolution
Before listing the possible scenarios it is important to mention that some of the log examples below leverages the entries on the nginx output, and here is how to obtain it:
- Log manually into the server where the Remote Access connector is installed
- Run "remote-access-cli", then "login" and read the QR code displayed
- Now run "get-logs", a new .zip file will be created at the location displayed
- Once this is done you can move this to your workstation and open the file "/logs/nginx-output.log", this is where the log entries listed below are located
Here some scenarios will be listed and the possible corrections for each one of them:
1. Invalid Token (inside the nginx log file):
-
- Error Message:
id_token not yet valid: id_token.iat=1739461650, ngx.time()=1739460606, slack=600, client: 127.0.0.1, server: prod-pvwa.alero.io - Cause: This usually means that there is a time sync issue between the Remote Access connector and the Remote Access Cloud Services. The time zone itself is not an issue, but mainly the minute difference, since the token time is auto converted during validation.
- Possible Fix: Correct the time sync issue using the Unix OS controls (for example: timedatectl)
- Error Message:
2. Certificate not trusted (inside the nginx log file):
-
- Error Message:
[error] 104#104: *69 [lua] rewrite_request.lua:133: Authentication error=accessing discovery url (https://auth.alero.io/auth/realms/users/.well-known/openid-configuration) failed: 19: self signed certificate in certificate chain, client: 127.0.0.1, server: pam.lefoyer.app.alero.eu, request: "GET /PasswordVault/ HTTP/1.1", host: "<application-name>.app.alero.io", referrer: "https://portal.alero.io/" - Cause: An untrusted certificate is being presented when arriving on the Remote Access Connector Server, most likely due to SSL Inspection being performed on the external Alero (Remote Access) URLs.
- Test for the cause: The following command should present a certificate signed by "GlobalSign RSA":
openssl s_client -connect auth.alero.<datacenter>:443 - Possible Fix: Disable the SSL Inspection being performed, this is usually implemented on the network level (for example: Palo Alto or Cisco devices)
- Error Message:
3. Connectivity Issues:
-
- Test: Perform connectivity tests on the Remote Access connector to the backend services and check if the outcomes are the same as the expected values described on the documentation (https://docs.cyberark.com/remote-access-standard/latest/en/content/installation/connectivitytests.htm)
- Possible Fix: If any of the tests failed or are showing a different error code, check internally with your network team.