Skip to main content

Troubleshooting

This guide provides recommended diagnostic procedures for applications integrating with Zanthem Infrastructure services.

The purpose of troubleshooting is to identify the affected component and determine whether an issue originates within the client application, its integration configuration, an external dependency, or Zanthem-managed infrastructure.

Infrastructure-level remediation is performed by authorized Zanthem personnel.

Initial Troubleshooting​

Before requesting technical support, establish the following information:

  1. Which application or service is affected?
  2. Which application environment is affected?
  3. When did the issue first occur?
  4. Did the affected functionality previously work?
  5. Were any recent changes made?
  6. Are all users affected or only specific users?
  7. Is the issue consistent or intermittent?
  8. Are any error messages or response codes available?

Record relevant observations before making additional configuration changes.

Identify the Affected Component​

Use the observed symptoms to identify the appropriate troubleshooting area.

SymptomTroubleshooting Area
Domain cannot be resolvedDNS configuration
Domain resolves incorrectlyDNS or routing configuration
Browser reports an insecure connectionSSL/TLS configuration
Application returns a gateway errorApplication availability or infrastructure routing
Application loads but functionality failsApplication configuration or application code
Authentication page cannot be reachedAuthentication endpoint connectivity
Authentication request is rejectedClient or authorization configuration
Authentication succeeds but callback failsApplication callback configuration
Protected API rejects a tokenToken validation or application authorization
Application update is not availableDeployment configuration
External application dependency failsExternal service connectivity

Multiple components may contribute to a single observed issue.

Hosting Connectivity​

Application Is Unavailable​

Confirm that you are accessing the correct application endpoint supplied during onboarding.

https://app.example.com

Verify the following:

  • Correct hostname
  • Correct application environment
  • Correct protocol
  • Expected application path
  • Local internet connectivity

Test the application from another network or device where appropriate.

HTTP Connectivity Test​

Use a command-line HTTP client to inspect the application response.

curl -I https://app.example.com

An HTTP response may indicate that the endpoint is reachable even when application functionality is unavailable.

Some applications do not support HEAD requests.

If necessary, use a GET request:

curl -sS -o /dev/null \
-w "HTTP status: %{http_code}\n" \
https://app.example.com

The commands are intended for Linux, macOS, or compatible command-line environments.

Windows users may use curl.exe.

HTTP Response Codes​

The following response codes may assist with application diagnostics.

StatusPossible Meaning
200 OKRequest completed successfully.
301 Moved PermanentlyPermanent redirect.
302 FoundTemporary redirect or authentication redirect.
400 Bad RequestInvalid application request.
401 UnauthorizedAuthentication is required or invalid.
403 ForbiddenRequested access is not permitted.
404 Not FoundRequested resource or route is unavailable.
429 Too Many RequestsAn applicable request limit has been exceeded.
500 Internal Server ErrorApplication or server-side failure.
502 Bad GatewayGateway received an invalid upstream response or could not reach an upstream service.
503 Service UnavailableService is temporarily unavailable.
504 Gateway TimeoutAn upstream request did not complete within its allowed time.

HTTP status codes alone do not establish the underlying cause of a service issue.

DNS Troubleshooting​

Domain Does Not Resolve​

Verify that the required DNS records have been created through your authoritative DNS provider.

For Windows:

nslookup app.example.com

For Linux and macOS:

dig app.example.com

Compare the results with the configuration supplied by your account manager.

Proxied or flattened DNS records may resolve to IP addresses rather than expose the original configured DNS target.

Check Specific Record Types​

Check the configured CNAME record:

dig app.example.com CNAME +short

Check IPv4 records:

dig app.example.com A +short

Check IPv6 records:

dig app.example.com AAAA +short

Check the domain's authoritative nameserver records:

dig example.com NS +short

Compare Public DNS Resolvers​

dig @1.1.1.1 app.example.com A +short
dig @8.8.8.8 app.example.com A +short

Different responses may indicate DNS caching, incomplete propagation, or differences in DNS configuration.

Common DNS Configuration Issues​

  • Incorrect record name
  • Incorrect DNS destination
  • Conflicting records
  • Incorrect DNS provider
  • Unexpected proxy configuration
  • Cached previous DNS responses
  • Incorrect root domain configuration
  • Missing verification records

Do not modify unrelated domain records while troubleshooting.

View DNS configuration documentation

SSL/TLS Troubleshooting​

Certificate Warning​

If a browser reports a certificate warning, verify that:

  • The correct application domain is being accessed.
  • The supplied DNS configuration is active.
  • The domain has been approved by Zanthem.
  • Certificate configuration has been completed.
  • The client system date and time are correct.

Do not proceed with sensitive application operations while certificate validation is failing.

Certificate Inspection​

Where OpenSSL is available, inspect the certificate presented by the application endpoint.

openssl s_client \
-connect app.example.com:443 \
-servername app.example.com \
-verify_hostname app.example.com \
-verify_return_error

Review the certificate validation result and hostname information.

Redirect Loops​

Repeated HTTP redirects may be associated with:

  • Incorrect public application URL
  • Conflicting HTTPS redirect rules
  • Incorrect trusted proxy configuration
  • Unexpected authentication redirects
  • Incorrect application session configuration

Inspect application response headers:

curl -IL --max-redirs 10 \
https://app.example.com

Do not disable HTTPS enforcement or certificate validation to resolve a redirect issue.

View SSL/TLS documentation

Application Deployment Troubleshooting​

Application Update Is Not Available​

Verify that:

  • The intended application version was committed.
  • Changes were pushed to the approved repository.
  • The correct deployment branch was updated.
  • Automatic deployment is enabled, if applicable.
  • The required deployment request was submitted.
  • The correct application environment is being accessed.

Confirm the source revision locally:

git status
git log -1 --oneline

Provide the expected commit identifier to your account manager if the deployed version appears incorrect.

Build Failure​

Common causes include:

  • Missing dependency manifests
  • Outdated or inconsistent dependency lockfiles
  • Unsupported runtime requirements
  • Compilation errors
  • Missing build-time environment variables
  • Incorrect build command
  • Incorrect output directory
  • Unavailable private dependencies

Where possible, reproduce the production build locally.

Example Node.js Build Test​

npm ci
npm run build

Use the runtime version and build commands established for your application.

Do not assume that a successful development server startup indicates that the production build will succeed.

Application Startup Failure​

Review the application's documented production startup requirements.

Common causes include:

  • Incorrect startup command
  • Missing runtime environment variables
  • Incorrect listening interface
  • Incorrect application port
  • Missing application files
  • Unavailable external dependencies
  • Application initialization failure

Example Startup Configuration​

NODE_ENV=production
HOST=0.0.0.0
PORT=3000

These values are illustrative.

Use the actual configuration established during onboarding.

Deployment Diagnostics​

Contact your account manager to request relevant deployment or application startup diagnostics.

Clients do not require direct access to infrastructure management interfaces to obtain deployment assistance.

View deployment documentation

Authentication Troubleshooting​

Authentication Service Cannot Be Reached​

Verify that the application is configured with the correct assigned issuer.

https://auth.zanthem.cloud/realms/example-company

Test the OpenID Connect discovery endpoint.

curl -sS \
"https://auth.zanthem.cloud/realms/example-company/.well-known/openid-configuration"

Replace the example realm with your assigned realm identifier.

A successful discovery response confirms that the discovery endpoint is reachable.

It does not establish that every authentication operation or client configuration is functioning.

Realm Not Found​

Possible causes include:

  • Incorrect realm identifier
  • Incorrect authentication server address
  • Incorrect issuer URL
  • Realm has not been provisioned
  • Realm is unavailable or disabled

Verify the assigned issuer against the integration configuration provided during onboarding.

View realm documentation

Invalid Client​

Possible causes include:

  • Incorrect application client identifier
  • Incorrect client secret
  • Incorrect client authentication method
  • Client associated with another realm
  • Client configuration has changed
  • Client has been disabled

Confirm the assigned realm, client identifier, and client authentication method.

Do not generate replacement credentials independently.

Contact your account manager if credential rotation or client configuration changes are required.

Invalid Redirect URI​

Compare the actual authorization request's redirect URI with the approved callback configuration.

The following are distinct URLs:

https://app.example.com/callback
https://app.example.com/callback/
http://app.example.com/callback
https://portal.example.com/callback

Check for differences in:

  • Protocol
  • Hostname
  • Port
  • Callback path
  • Trailing slash
  • Application environment

Contact your account manager if additional redirect URIs are required.

Cross-Origin Request Failure​

Browser-based applications may encounter cross-origin request errors when the application's origin is not approved.

For example:

https://app.example.com

An origin consists of the protocol, hostname, and port.

Confirm that the application's actual origin matches its approved authentication client configuration.

If the affected request is directed to a client-owned API, review that API's cross-origin configuration separately.

Do not disable browser security protections or configure unrestricted cross-origin access to resolve production integration issues.

Authentication Callback Failure​

If authentication succeeds but the application cannot establish a session, verify:

  • Callback route is available.
  • Returned state is correctly validated.
  • Original PKCE verifier is retained.
  • Authorization code is exchanged only once.
  • Token exchange uses the approved client configuration.
  • Expected issuer is configured.
  • ID token validation succeeds.
  • Application session storage is functioning.

Application callback processing must be implemented according to the selected authentication library.

Authentication Redirect Loop​

Repeated authentication requests may be associated with:

  • Application session not being established
  • Session cookies not being retained
  • Incorrect application callback handling
  • Incorrect public application URL
  • Expired or rejected tokens
  • Incorrect authentication policy handling
  • Application authorization logic

Review application authentication logs without recording confidential credentials or raw tokens.

Token Troubleshooting​

Access Token Rejected​

Verify that the access token:

  • Was issued by the expected issuer.
  • Is intended for the receiving resource.
  • Has not expired.
  • Uses an approved signing algorithm.
  • Has a valid cryptographic signature.
  • Contains the required scopes.
  • Satisfies the application's authorization requirements.

An ID token must not be used as a substitute for an access token when accessing protected APIs.

Token Signature Validation Failure​

Possible causes include:

  • Outdated signing key cache
  • Incorrect expected issuer
  • Incorrect signing key configuration
  • Unexpected signing algorithm
  • Token corruption or modification

Retrieve the signing key endpoint from the assigned realm's discovery document.

The standard public signing key endpoint is:

https://auth.zanthem.cloud/realms/{realm}/protocol/openid-connect/certs

Applications should support signing key rotation through their token validation library.

Never disable signature validation to resolve a token validation failure.

Token Refresh Failure​

Possible causes include:

  • Expired refresh token
  • Revoked refresh token
  • Expired authentication session
  • Incorrect client authentication
  • Concurrent refresh operations
  • Refresh token rotation
  • Incorrect application configuration

Where refresh cannot be completed, the application should clear invalid authentication state and initiate a new authentication transaction.

Avoid uncontrolled token refresh retry loops.

Insufficient Permissions​

Successful authentication does not guarantee that a user is authorized to access every application resource.

Verify:

  • Application-level user roles
  • Required resource permissions
  • Organization membership
  • Tenant boundaries
  • Required token scopes
  • Configured application claims

Application-specific authorization issues may require changes to the client-maintained application rather than the authentication infrastructure.

View API error handling documentation

Single Sign-On Troubleshooting​

User Is Prompted to Authenticate Again​

Possible causes include:

  • Central authentication session has expired.
  • Applications use different authentication realms.
  • Application requests reauthentication.
  • Application requires a higher assurance level.
  • Browser session information is unavailable.
  • External identity provider policies require authentication.

Single sign-on behavior depends on the assigned authentication policies and session configuration.

Do not assume that authentication will remain valid indefinitely.

Logout Does Not Terminate Every Session​

Applications maintain their own local authentication sessions.

Central authentication logout does not necessarily terminate every application session unless participating applications properly process logout events.

Verify the application's local logout implementation and assigned central logout configuration.

Previously issued access tokens may remain usable until expiration, depending on the resource server's validation mechanism.

View token and session management documentation

Multi-Factor Authentication Troubleshooting​

Required Authentication Factor Is Unavailable​

Users may experience authentication factor issues due to:

  • Loss of a registered authentication device
  • Incorrect authenticator configuration
  • Unavailable external identity provider
  • Incorrect system time
  • Incomplete authentication enrollment
  • Changes to authentication policy

Follow the approved account recovery procedure associated with the organization.

Do not attempt to bypass or disable required authentication factors.

Authentication Assurance Failure​

An application may reject an otherwise successful authentication transaction when a required authentication assurance level has not been satisfied.

Confirm the assurance requirements established for the application.

Contact your account manager if the authentication policy requires evaluation or adjustment.

View SSO and MFA documentation

External Service Dependencies​

Hosted applications may rely on services operated outside Zanthem Infrastructure.

Examples include:

  • External APIs
  • Email delivery providers
  • Payment providers
  • External identity providers
  • External storage providers
  • Client-managed databases

Verify the availability and configuration of the affected external dependency.

An external service failure does not necessarily indicate a Zanthem infrastructure failure.

Provide your account manager with relevant connectivity requirements if the issue appears related to managed network configuration.

Browser Developer Tools​

Browser developer tools may provide useful information when troubleshooting web applications.

Relevant diagnostic areas include:

ToolPurpose
ConsoleApplication errors and browser security warnings.
NetworkHTTP requests, responses, and connectivity failures.
ApplicationCookies, session storage, and local storage configuration.
SecurityBrowser connection and certificate information.
PerformanceApplication loading and execution behavior.

Review only the information necessary to diagnose the observed issue.

:::warning Diagnostic exports

Browser network exports, screenshots, and diagnostic archives may contain authentication tokens, cookies, personal information, and other confidential data.

Review and sanitize diagnostic information before sharing it with support personnel.

:::

Connectivity Timing​

HTTP timing information may assist in identifying connectivity or application response delays.

curl -sS -o /dev/null \
-w "DNS: %{time_namelookup}s\nConnect: %{time_connect}s\nTLS: %{time_appconnect}s\nFirst byte: %{time_starttransfer}s\nTotal: %{time_total}s\n" \
https://app.example.com

The reported values represent cumulative elapsed times from the beginning of the request.

These measurements may be affected by client connectivity, network routing, external services, caching, and application behavior.

A single timing measurement does not establish an infrastructure performance issue.

Diagnostic Checklist​

Before contacting support, collect the applicable information:

  • Organization name
  • Affected application or service
  • Affected environment
  • Application endpoint
  • Assigned realm, if applicable
  • Application client ID, if applicable
  • Date and time of the issue
  • Expected behavior
  • Observed behavior
  • Sanitized error messages
  • Relevant HTTP response codes
  • Scope of affected users
  • Recent application changes
  • Relevant DNS configuration
  • Troubleshooting already performed
  • Request or correlation ID, where available

Information That Must Not Be Shared​

Never include the following in ordinary diagnostic communications:

  • User passwords
  • Confidential client secrets
  • Access tokens
  • Refresh tokens
  • ID tokens
  • Authorization codes
  • Authentication cookies
  • PKCE verifiers
  • Private signing keys
  • Certificate private keys
  • Repository access credentials
  • Webhook secrets
  • Unnecessary personal information

Contact your account manager if sensitive information must be transferred through an approved secure method.

When to Contact Support​

Contact your assigned account manager when:

  • The issue cannot be resolved using the documentation.
  • Infrastructure configuration changes are required.
  • Application deployment diagnostics are required.
  • DNS configuration has been verified but connectivity fails.
  • Authentication configuration appears incorrect.
  • Certificate provisioning or renewal appears unsuccessful.
  • Multiple applications experience unexpected service failures.
  • A security incident or credential exposure is suspected.

Suspected security incidents and significant production interruptions should be reported promptly without delaying for ordinary troubleshooting procedures.