Troubleshoot miscellaneous issues
This topic describes how to troubleshoot common issues:
- An SSH error appears when connecting to an Access Gateway instance by command line
- Unexpected application or Access Gateway instance behavior
- Application certificate errors
- Microsoft Internet Explorer redirect looping
- Invalid Identity Provider API key
- The app name is out of sync
- The site can't be reached or displayed
- App setup or creation is unresponsive
- The TLS page doesn't appear
- Troubleshoot HTTP status codes
Before you begin
To troubleshoot Access Gateway issues, you must meet the following prerequisites:
- You have admin access to your Okta org.
- You have access to the Access Gateway Management console.
- You can retrieve and monitor logs from network appliances and, application servers, and so on.
An SSH error appears when connecting to an Access Gateway instance by command line
| Message | Permission denied (publickey,gssapi-keyex,gssapi-with-mic) |
| Description | The oag-mgmt username wasn't specified when you attempted to connect to the Access Gateway instance using the command line. |
| Log statement example |
|
| Validation and mitigation steps | Specify the oag-mgmt username when connecting to an Access Gateway instance. |
The time isn't in sync
When the time isn't synchronized between Access Gateway and applications, Access Gateway can't process SAML assertions correctly.
Access Gateway couldn't validate the SAML assertion
| Message | Requester/RequestDenied: Could not validate the following SAML AuthnRequest from partner Access Gateway Application Name: |
| Description | The time on the Access Gateway or protected app computers isn't synchronized. |
| Log statement example |
|
| Validation and mitigation steps |
|
The SAML assertion date and time are in the future
| Message | Received an assertion that is valid in the future. Check clock synchronization on IdP and SP. |
| Description | The SAML assertion from the protected app has a date and time in the future. |
| Log statement example |
|
| Validation and mitigation steps |
|
The SAML assertion expired
| Message | Received an assertion that has expired. Check clock. |
| Description | The SAML assertion from the protected app has expired. The time might not be configured correctly on the computer that hosts the protected app. |
| Log statement example |
|
| Validation and mitigation steps |
|
The browser doesn't trust the domain and doesn't post a SAML request
| Message | Caused by: Exception: Unable to find the current binding. |
| Description | This error can occur if a user keeps reposting SAML assertions or if an error occurs in the process of accepting a self-signed SSL certificate. |
| Log statement example |
|
| Validation and mitigation steps |
Solution 1: Ensure that the certificate was validated.
Solution 2: Verify that the browser trusts the application URL.
|
Unexpected application or Access Gateway instance behavior
| Behavior | Unexpected behaviors occur in applications or in the Access Gateway instance. |
| Description |
Outdated pages or cookies stored in the browser cache can cause Access Gateway and applications to read and process out-of-date data. |
| Validation and mitigation steps |
|
Application certificate errors
| Behaviors |
|
| Description |
These behaviors occur when a browser doesn't trust the certificate. When the user clicks the proceed link, the browser doesn't post data to the SAML endpoint and the SAML assertion fails. If the user opens the application again in the same browser session, the browser trusts the URL because the user granted permission earlier. The application then posts the correct data to the SAML endpoint. |
| Validation and mitigation steps |
Fix this issue on the local system only: Add the Access Gateway client certificate to the browser's trust store. See your browser's documentation for instructions. Fix this issue for all systems:
|
Microsoft Internet Explorer redirect looping
Browser trust
| Behavior | Microsoft Internet Explorer tabs can open and close by themselves or redirect the user in a loop. |
| Description | The browser doesn't trust the application or the Access Gateway endpoints. |
| Validation and mitigation steps |
Add the Access Gateway hostname endpoint and application endpoint URLs to the Trusted Zone settings in Microsoft Internet Explorer settings. |
Load balancing
| Behavior | Microsoft Internet Explorer tabs can open and close by themselves or redirect the user in a loop. |
| Description | If you're using a load-balanced solution, the browser resolves the Access Gateway hostname to one node and the application public domain to another node. |
| Validation and mitigation steps |
|
Invalid Identity Provider API key
| Messages | The IdP API token has been deleted from the IdP. |
| Validation and mitigation steps |
|
The app name is out of sync
| Message | <App Name> is out of sync with IdP. Would you like to recreate this application is <IDP Org name>? |
| Description | The application has been deleted from the Identity Provider. |
| Validation and mitigation steps |
|
The site can't be reached or displayed
| Behavior | The browser is unable to reach the site. |
| Description | The application or Access Gateway services aren't running or the DNS entry is missing. |
| Validation and mitigation steps |
|
App setup or creation is unresponsive
| Behavior | The progress indicator spins for a long time during initial setup or while creating an application in Access Gateway. |
| Description | This occurs when Access Gateway fails to reach the designated Identity Provider. |
| Log statement example |
|
| Validation and mitigation steps |
|
The TLS page doesn't appear
| Behavior | The TLS page doesn't appear. |
| Description | This occurs when a browser's TLS security settings don't authenticate a secure connection with Access Gateway. |
| Log statement example |
|
| Validation and mitigation steps |
Ensure that your browser uses TLS 1.1, 1.2, and 1.3. See your browser's documentation for instructions. |