Troubleshooting and maintenance

Links on this page go to the setup step that configures the item.

Where to look

Three places show why a login failed.

  • The validation script. It checks the port, certificate, agent record, and Access Key. It checks from the web server you run it on.
  • The identity server log file on the web server. RSA messages there carry the attempt identifier. Application troubleshooting explains where to find the log.
  • The Authentication Monitor window in the Security Console. Open it from Reporting > Real-time Activity Monitors > Authentication Activity Monitor. It shows the Authentication Manager's own reason for accepting or refusing a request.

What you see and what to do

Find what you see in the first column. The second column gives the likely cause and the fix.

What you see Likely cause and what to do
All RSA users get The credentials you entered are invalid. despite correct passcodes No agent record matches the agent name. Alternatively, the Access Key in Secret Store is wrong. A wrong agent name shows as a refused request in the Activity Monitor. A wrong Access Key shows nothing there. The identity server log then records an HTTP error from the Authentication Manager
No Activity Monitor entry, or the identity server log reports RSA unavailable The request never reached the Authentication Manager. The firewall may block the port. The host name in RsaEndpointUrls may be wrong. The Authentication API may be off. The validation script shows which
Certificate trusted fails in the validation script The stored thumbprint does not match the Authentication Manager's certificate authority. Alternatively, this web server does not trust the authority. The certificate itself may be invalid: expired, not yet valid, or revoked. A proxy may be inspecting the traffic. The message after FAIL says which
Certificate trusted fails with "certificate is for ..., not for ..." in the validation script The Authentication Manager's certificate does not list the host name in RsaEndpointUrls
One RSA user fails with a correct passcode. The Activity Monitor shows no request The RSA provider type or provider is off. The user's RSA login method may also be missing or disabled. The identity server then treats the login as a password login
You changed a setting, the Access Key, or the thumbprint, but nothing changed The identity server still holds the old values in its cache. Restart IIS on every web server
RSA works on one web server but not another That server cannot reach the Authentication Manager through the firewall. Alternatively, it does not trust the certificate authority (Option B). Run the validation script on that server
A prompt page shows Your RSA session has expired. Or it shows There is no RSA sign-in in progress The attempt expired, or the user refreshed the browser or navigated back. Start the login again. To give users more time, raise the attempt lifetime setting
The Activity Monitor shows Authentication method failed for the login Wrong passcode, no token assigned, or a disabled user or token
A user sees the next tokencode prompt every time The token's clock has drifted. Resynchronize the token in the Security Console

What the Activity Monitor shows

Find the monitor text in the first column. The second column explains it.

The monitor shows Meaning and what to do
Agent not found, or lookup by IP address failed The agent name does not match the Hostname of an agent record
Nothing for the login, and the identity server log reports an HTTP error The Access Key in Secret Store does not match a valid agent credential
Authentication method failed Wrong passcode, no token assigned, or a disabled user or token. The Description column says which
Bad tokencode, but good PIN detected, then Next tokencode mode activated for token The PIN was right and the tokencode wrong. The next login asks for the next tokencode. Logging in with RSA SecurID describes that prompt. No action needed
Principal locked out The user failed too many times in a row. The Authentication Manager locked the account. Its lockout policy sets the count and the duration. Unlock the user in the Security Console (Identity > Users)
IP Not Trusted followed by an address The user's Trusted IPs setting in the Authentication Manager excludes that address. The address belongs to the web server. The Authentication Manager sees the web server, not the user's computer. Clear the user's Trusted IPs, or add every web server's address to it
No request at all The request never reached the Authentication Manager. Check the firewall, the host name in RsaEndpointUrls, and the Authentication API

Contacting support

Collect these items before you contact support.

  • The identity server log from the web server, covering the failed login.
  • The Activity Monitor entry for the same login.
  • The validation script output from that web server.
  • The values of RsaEndpointUrls, RelativityInstanceURL, and IdentityProviderUrl.
  • The host name on the agent record for Relativity.
  • The Authentication Manager version, and whether the Authentication API is on.

Changing the Access Key

A new agent credential does not break the old one. The old one keeps working until you delete it. There is no outage. Mark the old credential Deprecated. The Authentication Monitor then flags every login that still uses it. That shows you when all web servers have switched.

To change the Access Key:

  1. In the Security Console, add a new agent credential. If you suspect the old key leaked, RSA advises generating twice. Use the second set of values.
  2. Update the AccessKey value at Relativity/Authentication/Rsa/AccessKey in Secret Store.
  3. Restart IIS on every web server.
  4. Log in as a test user.
  5. Mark the old credential Deprecated. Delete it when the Authentication Monitor shows no login using it.

RSA article: Agent Credentials

Changing the certificate authority

A certificate from a different certificate authority stops RSA logins until you finish. Plan a maintenance window.

To change the authority:

  1. For Option A, record the new thumbprint. For Option B, import the new authority on every web server.
  2. For Option A, update the Thumbprint value at Relativity/Authentication/Rsa/Thumbprint in Secret Store.
  3. Restart IIS on every web server.
  4. Run the validation script on every web server.

A renewed certificate from the same certificate authority needs no change. The thumbprint you stored is the authority's, not the server certificate's. The renewed certificate still chains to it. Secret Store and IIS need no change.

Adding a web server

A new web server needs the firewall rule, agent record, and certificate trust.

To add a web server:

  1. Open the firewall for TCP 5555 from the new server.
  2. In the Security Console, open the agent record for Relativity. Add the new server's IP address to Alternate IP Addresses.
  3. For Option B, import the certificate authority on the new server.
  4. Run the validation script on the new server.

You do not need a new agent record. Every web server uses the same agent name, the host in RelativityInstanceURL. The agent record covers the new server after you list its address.

Feedback