Skip to content
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

Error: Os code: 52 #68

Open
vishalchandra opened this issue Oct 9, 2022 · 5 comments
Open

Error: Os code: 52 #68

vishalchandra opened this issue Oct 9, 2022 · 5 comments

Comments

@vishalchandra
Copy link

The http server example is giving an error on doing the following:

wasm~ curl -X POST http://127.0.0.1:1234 -d "name=WasmEdge"
curl: (52) Empty reply from server

Output on terminal from which I ran the http server example using wasmedge

wasm~ wasmedge examples/wasmedge_wasi_socket/examples/http_server/target/wasm32-wasi/release/http_server.wasm 
new connection at 1234
Error: Os { code: 52, kind: Unsupported, message: "Function not implemented" }
wasm~ uname -sr
Darwin 21.6.0
wasm~ uname -a
Darwin GLUE.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:20:05 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8101 arm64
wasm~ wasmedge --version
wasmedge version 0.11.1
wasm~ cargo --version
cargo 1.64.0 (387270bc7 2022-09-16)

Thanks for your help.

@bernii
Copy link

bernii commented Nov 22, 2022

same error ^ (osx 12.6 m1 mac) - probably the cause of WasmEdge/wasmedge_hyper_demo#8

@MediosZ
Copy link
Contributor

MediosZ commented Nov 23, 2022

Yes, that's caused by some missing implementations on macOS.

@MediosZ
Copy link
Contributor

MediosZ commented Nov 24, 2022

This should be fixed by this pr.

@BlueFrog130
Copy link

Getting this issue on Windows 10 as well

@hydai
Copy link
Member

hydai commented Dec 21, 2022

Getting this issue on Windows 10 as well

Windows platform has not yet fully supported this feature. Even the WASI component is also partially supported.
You can find these related issues on WasmEdge: https://github.com/WasmEdge/WasmEdge/issues?q=is%3Aopen+is%3Aissue+label%3Aplatform%3Awindows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants