1 Answer
- Newest
- Most votes
- Most comments
0
I've seen that same error message for an application that is able to send traces from the app to X-Ray.
2022-03-30T20:12:33Z [Info] Initializing AWS X-Ray daemon 3.3.3
2022-03-30T20:12:33Z [Info] Using buffer memory limit of 79 MB
2022-03-30T20:12:33Z [Info] 1264 segment buffers allocated
2022-03-30T20:12:34Z [Info] Using region: us-west-2
2022-03-30T20:12:34Z [Error] Get instance id metadata failed: RequestError: send request failed
caused by: Get "http://169.254.169.254/latest/meta-data/instance-id": dial tcp 169.254.169.254:80: connect: invalid argument
2022-03-30T20:12:34Z [Info] HTTP Proxy server using X-Ray Endpoint : https://xray.us-west-2.amazonaws.com
2022-03-30T20:12:34Z [Info] Starting proxy http server on 0.0.0.0:2000
2022-03-30T20:14:40Z [Info] Successfully sent batch of 1 segments (0.028 seconds)
Check to see that your X-Ray sidecar container has a port-mapping for 2000 UDP. It should show up in the JSON representation of the task definition like this:
"portMappings": [
{
"hostPort": 2000,
"protocol": "udp",
"containerPort": 2000
}
answered 2 years ago
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 11 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago