All Products
Search
Document Center

Application Real-Time Monitoring Service:Troubleshoot common issues

Last Updated:Mar 11, 2026

When you connect Grafana to Application Real-Time Monitoring Service (ARMS) through the Tempo-compatible API, you may encounter connection or authentication errors. This page explains each error, its root cause, and how to fix it.

Error summary

Error messageRoot causeSection
Unable to connect with TempoIncorrect endpoint URL or unsupported regionUnable to connect with Tempo
Authentication failedMismatched AccessKey credentials or missing permissionsAuthentication failed
Trace Logstore Not FoundIncorrect UserId or RegionId in HTTP headersTrace Logstore not found

Before you begin

To troubleshoot effectively, have the following information ready:

  • The endpoint URL configured in your Grafana Tempo data source

  • The AccessKey ID and AccessKey secret used for authentication

  • The Alibaba Cloud account ID (UserId) set in the HTTP headers

For the complete list of supported regions and endpoints, see Compatibility between ARMS and Grafana Tempo.

Unable to connect with Tempo

Full error:

Unable to connect with Tempo. Please check the server logs for more details.

Cause: The endpoint URL is incorrect or the Tempo-compatible API is not available in the specified region.

Diagnosis:

  1. Open the Grafana Tempo data source settings and check the URL field.

  2. Confirm that the region in your URL is listed in the supported regions.

Fix:

Verify that the endpoint is in the correct format and that the Tempo-compatible API is supported in the region. Click Save & Test in Grafana to verify the connection.

Verification: A successful connection displays a confirmation message in the Grafana data source settings page.

Authentication failed

Full error:

Unable to connect with Tempo ([Authentication failed] The userId in HTTP header does not match the credentials (username/password). TraceId=xxxx). Please check the server logs for more details.

Cause: The AccessKey ID and AccessKey secret do not match, or the AccessKey ID lacks the required permissions.

Diagnosis:

  1. Open the Grafana Tempo data source settings.

  2. Under Basic auth, check that the User field contains your AccessKey ID and the Password field contains your AccessKey secret.

  3. Verify that the AccessKey pair belongs to the same Alibaba Cloud account specified in the userId HTTP header.

Fix:

  1. Correct the User and Password fields in the Grafana Tempo data source:

    • User: Your AccessKey ID

    • Password: Your AccessKey secret

  2. If the credentials are correct, confirm that the AccessKey ID has the required permissions.

  3. Click Save & Test in Grafana to verify the connection.

Verification: If authentication succeeds, Grafana displays a success message.

Trace Logstore not found

Full error:

Unable to connect with Tempo ([Trace Logstore Not Found] Please verify the UserId and RegionId in HTTP headers are correct, and ensure the trace logstore exists. TraceId=xxxxx). Please check the server logs for more details.

Cause: The UserId in the HTTP header does not match a valid Alibaba Cloud account, or the trace Logstore does not exist in the specified region.

Diagnosis:

  1. Open the Grafana Tempo data source settings and locate the Custom HTTP Headers section.

  2. Check the userId header value. This must be your Alibaba Cloud account ID.

  3. Check the regionId header value. This must match the region where your ARMS trace data is stored.

Fix:

  1. Verify that the Alibaba Cloud account is correct by setting the userId header to the Alibaba Cloud account ID that owns the ARMS resource.

  2. Set the regionId header to the region where your trace Logstore is located, such as cn-hangzhou.

  3. Click Save & Test in Grafana to verify the connection.

Verification: A successful connection confirms that the UserId and RegionId values are correct.