Why is the SDK try to connect to both IPv4 and IPv6 addresses of iotcore endpoint simultaneously ? #481
Answered
by
bretambrose
kiranpradeep
asked this question in
Q&A
-
I am using aws-iot-device-sdk-v2 with Node.js. I was inspecting logs obtained after enabling // io.enable_logging(io.LogLevel.DEBUG); //. I see that SDK after resolving host to IPs, is trying to connect to both IPv4 and IPv6 addresses simultaneously. This is surprising. Most software does not do this.
I have attached logs.txt |
Beta Was this translation helpful? Give feedback.
Answered by
bretambrose
Mar 18, 2024
Replies: 1 comment
-
This is intentional. The short answer is a strong push for happy eyeballs support: https://datatracker.ietf.org/doc/html/rfc6555 There is no way to disable this behavior. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kiranpradeep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is intentional. The short answer is a strong push for happy eyeballs support: https://datatracker.ietf.org/doc/html/rfc6555
There is no way to disable this behavior.