Skip to content

DNS Resolution fails in WSL #2672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Eldho1416 opened this issue Mar 21, 2025 · 1 comment
Closed

DNS Resolution fails in WSL #2672

Eldho1416 opened this issue Mar 21, 2025 · 1 comment
Labels

Comments

@Eldho1416
Copy link

Hello,

I have been trying to application and DNS resolution keeps failing

Info: Failed DNS lookup for xxxxxxx-xx.azure-devices.net/: -2 Error: Time:Fri Mar 21 08:27:56 2025 File:/tmp/azure-iot-sdk-c/c-utility/adapters/socketio_berkeley.c Func:initiate_socket_connection Line:534 DNS resolution failed. Hostname:xxxx-xx.azure-devices.net/

what could be the issue? When i try to nsloop or ping it is reaching the address

Machine: Linux xxxxx 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

@Eldho1416
Copy link
Author

Eldho1416 commented May 6, 2025

was a error in decoding URL in another process, / at the end of URL was causing the failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant