Cannot send Django regions to XRAY on aws


I have a EC2 instance, with XRAY daemon installed in it. Also, policy AWSXRayDaemonWriteAccess is attached to the role.

Simple Django application deployed to EC2, with default xray configuration.

In the application logs I see:

File "/usr/local/lib/python3.9/site-packages/botocore/", line 352, in send raise EndpointConnectionError(endpoint_url=request.url, error=e) botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: ""

I have the following configurations in django app:

'AWS_XRAY_TRACING_NAME': 'My application',
'PLUGINS': ('EC2Plugin', 'ECSPlugin'),
Why the application fails to connect to Xray daemon?

PS issuing the following command in EC2 terminal results in error:
curl ""
<Message>Invalid operation: null</Message>

asked a year ago29 views
1 Answer

managed to connect through curl

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions