https://prefect.io logo
Title
j

Jhonatan Sossa

04/28/2023, 6:33 PM
Hi everyone, i am running databricks jobs from prefect cloud and sometimes (it is completely aleatory) i get this error.
Encountered exception during execution:
Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 186, in connect_tcp
    addr_obj = ip_address(remote_host)
  File "/usr/lib/python3.10/ipaddress.py", line 54, in ip_address
    raise ValueError(f'{address!r} does not appear to be an IPv4 or IPv6 address')
ValueError: '<http://dbc-297e31f0-94d8.cloud.databricks.com|dbc-297e31f0-94d8.cloud.databricks.com>' does not appear to be an IPv4 or IPv6 address

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 111, in connect_tcp
    stream: anyio.abc.ByteStream = await anyio.connect_tcp(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 189, in connect_tcp
    gai_res = await getaddrinfo(
asyncio.exceptions.CancelledError
It is important to say that no matter if the prefect flow run fails or not, the databricks job is successful. Does anyone know what is going on?