Troubleshooting
The following are the common troubleshooting scenarios and solutions for OTLP endpoint.
Issue | Description | Solution |
---|---|---|
Non-existing AWS credentials when launching OCB collector |
Collector throws the following error when starting. Error: invalid configuration: extensions::sigv4auth: could not retrieve credential provider: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, request canceled, context deadline exceeded. |
Enter the correct credentials. |
Invalid AWS credentials |
Collector throws HTTP Status Code 403, Message=The security token included in the request is invalid., Details=[]“ when sending requests though OTLP endpoint. |
Refresh the AWS credentials on the collector server. |
Transactions Search disabled |
Collector throws Message=The OTLP API is supported with CloudWatch Logs as a Trace Segment Destination. |
Make sure Transaction Search is enabled in CloudWatch before using the OTLP endpoint for traces. For more information, see Transaction Search. |
Batching and timeout issues | Collector throws one of these issues:
|
Tune batching and timeout policies using batchprocessor |
Retry issues | Transient network issues between the collector and OTLP endpoint.
|
Tune retry policy using exporter |
Payload rejected | NA | Make sure the payload sent to the trace endpoint is within the limits and restrictions. For more information, see Endpoint limits and restrictions. |