You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Todd! Thank you very much for this amazing tutorial - this is great.
I'm trying to get it up and running and getting this error:
l addresses.
WARNING: This is a development server. Do not use it in a production deployment.
* Running on http://172.31.36.187:5000/ (Press CTRL+C to quit)
failed to send traces to Datadog Agent at http://localhost:8126
Traceback (most recent call last):
File "/home/myusername/.local/lib/python3.9/site-packages/tenacity/__init__.py", line 407, in __call__
result = fn(*args, **kwargs)
File "/home/myusername/.local/lib/python3.9/site-packages/ddtrace/internal/writer.py", line 356, in _send_payload
response = self._put(payload, headers)
File "/home/myusername/.local/lib/python3.9/site-packages/ddtrace/internal/writer.py", line 332, in _put
conn.request("PUT", self._endpoint, data, headers)
File "/usr/lib/python3.9/http/client.py", line 1279, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1325, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1274, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1034, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 974, in send
self.connect()
File "/usr/lib/python3.9/http/client.py", line 945, in connect
self.sock = self._create_connection(
File "/usr/lib/python3.9/socket.py", line 844, in create_connection
raise err
File "/usr/lib/python3.9/socket.py", line 832, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/myusername/.local/lib/python3.9/site-packages/ddtrace/internal/writer.py", line 458, in flush_queue
self._retry_upload(self._send_payload, encoded, n_traces)
File "/home/myusername/.local/lib/python3.9/site-packages/tenacity/__init__.py", line 404, in __call__
do = self.iter(retry_state=retry_state)
File "/home/myusername/.local/lib/python3.9/site-packages/tenacity/__init__.py", line 361, in iter
raise retry_exc from fut.exception()
tenacity.RetryError: RetryError[<Future at 0x7f021177dbb0 state=finished raised ConnectionRefusedError>]
UPDATE: removed import ddtrace and patch_all() - now it is working :)
The text was updated successfully, but these errors were encountered:
Hi Todd! Thank you very much for this amazing tutorial - this is great.
I'm trying to get it up and running and getting this error:
UPDATE: removed import ddtrace and patch_all() - now it is working :)
The text was updated successfully, but these errors were encountered: