net: LookupHost Protocol not available on nodejs/wasm #60011
Labels
arch-wasm
WebAssembly issues
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-JS
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No. After doing a
git bisect
, I have:which is the first commit breaking http requests in WASM.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Compile a WASM binary using:
then call from the WASM binary
http.Client.Do
which returns the following error:What did you expect to see?
The http query to be executed.
What did you see instead?
An error saying that tcp is not available.
The text was updated successfully, but these errors were encountered: