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
Arch Linux / OpenSUSE-Tumbleweed (distro independent)
Other Software
No response
Repro Steps
[General method]
Start a web server that serves a lot of small files inside WSL (more pronounced with 500+ files)
Make a frontend that loads all those files
Observe the insanely slow loading
[My specific case]
Start a nuxt3 dev server inside WSL with sufficient amount of plugins and extensions installed in nuxt
Access the dev server using "localhost:[port]"
Observe the insanely slow loading / download of all assets
Access the same dev server using "127.0.0.1:[port]"
Observe the blazing fast loading / download speed
Expected Behavior
Using 127.0.0.1 and localhost should yield the same "loopback" instant response
Actual Behavior
Using localhost imposes heavy delay for each request/connection handled as if something is severely overloaded
Diagnostic Logs
A webapp served by Nuxt dev server, loaded within 3 seconds when browsed using 127.0.0.1
The same webapp, took a whole 30 seconds when using localhost
Every download takes 300ms for initial connection, stalling every other downloads behind, even the download itself takes just 1ms
The text was updated successfully, but these errors were encountered:
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Not the same. Connection here is not timed out, but simply having a fixed 300ms initial connection delay for everything connecting through the "localhost" hostname
Windows Version
Microsoft Windows [Version 10.0.22621.3155]
WSL Version
2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1
Distro Version
Arch Linux / OpenSUSE-Tumbleweed (distro independent)
Other Software
No response
Repro Steps
[General method]
[My specific case]
Expected Behavior
Using
127.0.0.1
andlocalhost
should yield the same "loopback" instant responseActual Behavior
Using
localhost
imposes heavy delay for each request/connection handled as if something is severely overloadedDiagnostic Logs
A webapp served by Nuxt dev server, loaded within 3 seconds when browsed using 127.0.0.1
The same webapp, took a whole 30 seconds when using
localhost
Every download takes 300ms for initial connection, stalling every other downloads behind, even the download itself takes just 1ms
The text was updated successfully, but these errors were encountered: