Sign-in errors when activating Sign-in errors when activating

Sign-in errors when activating

If you're seeing an error during sign-in or activation, it's usually down to one of a few root causes: your system clock being out of sync, a firewall or proxy blocking Redgate's identity provider, an expired or corrupted licensing permit or the browser window being suppressed. Find your exact error message below for the fix.

If none of these match your error, contact us and include a screenshot so we can help further.

Something went wrong! Authentication errors

This means your Redgate tools can't verify your license because the authentication process failed. It's usually caused by an expired login session, a firewall or proxy blocking access, or an expired offline activation permit.

A refresh often fixes it. If not, try this:

  1. Close SSMS.
  2. Go to your licensing folder: C:\Users\<your username>\AppData\Roaming\Red Gate\Licensing\Bundle-rg-tbe\<random UUID> (or %APPDATA%\Red Gate\Licensing).
  3. Delete the Permits and Tokens folders.
  4. Relaunch SSMS and set a new offline permit.

The access token has expired, or failed to fetch, decode or validate the licensing permit

Access tokens are only valid for 5 minutes, so this error usually means your computer's clock is out of sync and our system can't validate the license as a result.

Sync your clock in the date/time settings, then try signing in again. Also check that all the endpoints in Licensing & update URLs to add to your AllowList in firewall are allowed through your firewall.

Authentication timed out or cancelled (when activating desktop tools)

This usually happens when the browser window used for sign-in is being suppressed and can't complete the activation.

Try these steps:

If that doesn't help, click Sign in. On the latest version of the tool you'll see an option to open a browser manually if one hasn't opened:

  1. Click the button to copy the sign-in address.
  2. Open a web browser.
  3. Paste the address into the address bar.
  4. Sign in.

Keep the sign-in screen open while you do this. Don't click cancel.

If you're opening SSMS as a different user:

  1. Go to C:\Program Files (x86)\Red Gate\<product name>.
  2. Hold Shift and right-click the product's .exe, then select "Run as different user."
  3. Attempt sign-in, then follow the copy-address steps above.

IDP errors when activating

These cover several IDP related errors you might see during activation. Wording can vary slightly.

IDP failed to process the request (An error occurred while sending the request, or the underlying connection was closed unexpectedly)

Set the system environment variable LSDK_FORCE_OFFLINE = Enabled, then sign in again and follow the instructions to generate an offline permit.

Something went wrong while signing in. Authentication failed.

Set the system environment variable LSDK_TCP_LISTENER = Enabled and try again.

Something went wrong while signing in. IDP failed to process the request. (400 Bad Request)

This is usually a proxy or firewall issue blocking the connection to our identity provider. Shift+Ctrl and click Sign in to open a browser manually (ideally a private/incognito window, to avoid cached credentials). Copy the sign-in address from the UI and paste it into the browser to log in.

Also check Licensing & update URLs to add to your AllowList in firewall.

The underlying connection was closed: could not establish trust relationship for the SSL/TLS secure channel

Our web APIs need TLS 1.2 support enabled on the operating system. Set the system environment variable LSDK_TCP_LISTENER = Enabled and try again.

Something went wrong while signing in. IDP could not process the request.

Delete browser cookies for identityprovider.red-gate.com in case they're corrupted:

  • Chrome: Settings > Privacy and security > Third-party cookies > See all site data and permissions > search "red-gate.com" > delete cookies for identityprovider.red-gate.com.
  • Edge: Settings > Cookies and site permissions > Manage and delete cookies and site data > See all cookies and site data > search "red-gate.com" > delete cookies for identityprovider.red-gate.com.

Signing in again should then pop the browser so you can log in with your Redgate ID.


Related articles:

Add comment

Please sign in to leave a comment.