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
Windows 11 23H2 (OS Build 22631.4751) – Issue occurs
Ubuntu 24.04 LTS – No issue observed
Description:
After upgrading to the latest version of Deno (v2.1.9), the CLI prints the following error message when running commands that uses DNS like axios:
could not parse an IP from hosts file
Despite this message, DNS resolution appears to work correctly, but there is a noticeable degradation in performance. The issue does not occur on Linux (Ubuntu 24.04 LTS), where performance remains normal and no such error message is printed.
Somethimes this message is also posted multiple times.
Potential Cause:
This issue might be related to recent DNS resolving changes introduced in #27572, based on the changelog on GitHub.
Actual Behavior:
The CLI prints could not parse an IP from hosts file on Windows 11.
Performance is degraded on Windows but remains normal on Linux.
Command executes successfully, while execution time increase to +20 seconds.
Expected Behavior:
No unexpected error messages should appear for DNS issues.
CLI performance should not degrade after updating to 2.1.5.
Command executes successfully.
Steps to Reproduce:
Install or update to Deno 2.1.5 on Windows 11 23H2.
Run any Deno CLI command that requires dns resolution (e.g., fetching something with axios).
Observe the error message:
could not parse an IP from hosts file
Compare the same command execution on Ubuntu 24.04 LTS (no error message and no performance degradation).
The text was updated successfully, but these errors were encountered:
ghostzero
changed the title
Bug Report: DNS Resolving Issue in Deno 2.1.5+ on Windows 11
Bug: DNS Resolving Issue in Deno 2.1.5+ on Windows 11
Jan 31, 2025
Version:
Bug begins at Deno 2.1.5
OS:
Description:
After upgrading to the latest version of Deno (v2.1.9), the CLI prints the following error message when running commands that uses DNS like axios:
Despite this message, DNS resolution appears to work correctly, but there is a noticeable degradation in performance. The issue does not occur on Linux (Ubuntu 24.04 LTS), where performance remains normal and no such error message is printed.
Somethimes this message is also posted multiple times.
Potential Cause:
This issue might be related to recent DNS resolving changes introduced in #27572, based on the changelog on GitHub.
Actual Behavior:
could not parse an IP from hosts file
on Windows 11.Expected Behavior:
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: