WSL Issue
Hello, I have been using Windows Subsystem for Linux 2 (WSL2) to run nullhub, however ran into error situation. Has nullhub been tested on WSL2 (p.s. I am not sure if wsl2 is the culprit behind the error)?
Error:
listening on http://127.0.0.1:19800
access chain: http://nullhub.local:19800 -> http://nullhub.localhost:19800 -> http://127.0.0.1:19800
request error: error.BrokenPipe
request error: error.BrokenPipe
Furthermore I can't set up any agents using OpenRouter nor POE API.
Other Info: nullhub v2026.3.21 Windows 10 WSL2 with Debian 13
Thanks for the detailed report. This looks like WSL2 networking rather than the hub itself: WSL2 runs in a VM with its own network stack, so 127.0.0.1 inside Debian isn't automatically the Windows host's loopback. Reachability depends on WSL's localhost-forwarding, which varies by Windows/WSL version and can drop connections with exactly these BrokenPipe symptoms.
Things to try, in order:
- Confirm the hub is healthy inside WSL:
curl -s http://127.0.0.1:19800/healthfrom the Debian shell. If that works, the hub is fine and the problem is the Windows→WSL hop. - Bind to all interfaces and use the WSL2 IP from Windows:
nullhub serve --host 0.0.0.0, thenip addr show eth0and openhttp://<that-ip>:19800. - On Windows 11 / recent WSL, mirrored networking makes localhost behave: add
[wsl2]/networkingMode=mirroredto%UserProfile%\.wslconfig, thenwsl --shutdownand restart.
Also worth noting v2026.3.21 is several releases old — upgrading is worthwhile once you're in. The OpenRouter/POE setup trouble is most likely downstream of not having a working UI session; retry once the dashboard loads.
This is the same reachability family as the host-binding discussion in #31, but with its own WSL2 twist — keeping this open separately pending your results.