AWS_IO_DNS_QUERY_FAILED #502
farzadpanahi
started this conversation in
General
Replies: 1 comment
-
DNS resolution happens as the first step of connection establishment and in this case, it failed. The SDK uses system calls (https://github.com/awslabs/aws-c-io/blob/main/source/posix/host_resolver.c#L34-L46 or https://github.com/awslabs/aws-c-io/blob/main/source/windows/host_resolver.c#L35) to resolve names and that's where your failure is coming from. You can enable SDK logging (https://github.com/awslabs/aws-crt-python/blob/main/awscrt/io.py#L28) to get the actual OS error code which may give you more insight into what is happening. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am randomly getting this exception:
I am using the latest packages:
This is the code:
Any idea what the cause of this error is? I cannot trace it back in the code either. I just know that it is coming from
result()
function call.Beta Was this translation helpful? Give feedback.
All reactions