-
Notifications
You must be signed in to change notification settings - Fork 32
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
Request to specific API causes NetworkError on WSL #141
Comments
This is very strange indeed, can you double check if this was not some temporary failure? |
Issue persists today. I even rebooted the computer haha.
(XXXXs are mine. I have no idea if the id:s are sensible info). I will try to update Ubuntu and get back. |
Unfortunately sill |
Thanks for the info @wric, I'll try to reproduce. |
I was able to reproduce the issue, going to dig into it now... |
Surprisingly, this does not reproduce on Ubuntu 22.04 native (not inside WSL). |
When building with the platform locally ( Also got some more detail on the error:
I'm done for today, but tomorrow I'm going to try to reproduce this with a pure rust program. |
I was able to reproduce this with pure rust:
src/main.rs:
|
|
I have this minimal reproducing example with a basic GET to a specific API:
On Apple silicon it works as expected (no credentials passed, hence 401):
But on my Windows machine running WSL2 it returns
NetworkError
:However, querying other API:s such as
https://catfact.ninja/fact
work well on WSL2 with the same example code. Also, cloning this repo and importing the platform aspackages { pf: "../src/main.roc" }
works with the troublesome API.Any idea of why, or any suggestions on how to further debug?
The text was updated successfully, but these errors were encountered: