-
Notifications
You must be signed in to change notification settings - Fork 29
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
OS Error 28 when starting server #66
Comments
Please upgrade to wasmedge 0.11. There are some breaking changes to the APIs in both 0.10 and 0.11 releases. We are going to a fast iteration phase of the runtime development to better support all these extensions. Thanks! |
This worked, thank you for the quick response and apologies for not trying that first! |
@juntao I've encountered this error again while attempting to run the http_server example under KinD. My guess is that the Reproduction using the latest KinD image from liquid-reply
Dockerfile for my attempt at creating a custom image
Result of run against cluster with custom image
I seem to be looping endlessly around My goal is to have the React SSR example and the Rust HTTP server example communicate with each other. I hope that once I can at least run curl commands against each of them while they run in a KinD cluster, the rest should be straightforward Kubernetes administration and app development. |
Hi @jcuffe I want to make sure that we are using the correct crun and WasmEdge versions. The combos that are known to work are
Now you are using the hyper crate, which is supported in WasmEdge 0.11, so you will have to use the latest crun master branch. Is that the case? Thanks. |
@juntao I believe so. From my Dockerfile:
|
Also I'm unsure what you mean by the "hyper" crate, could you explain? I have heard of this crate but do not see it in my dependency tree:
The I will crosspost the exec format error issue to the main Wasmedge repository. |
Sorry, I thought you are using the more convenient tokio / mio / hyper stack for your server app. It is here. You should try it. :) https://github.com/WasmEdge/wasmedge_hyper_demo/tree/main/server |
I will try this soon, thank you for the suggestion! It is hard to keep up with you guys 😅 |
Yeah, this is a fast evolving space. Thank you for your patience! If you are interested in other Kubernetes integration options besides kinD, we have ongoing CIs to use other combos of containerd, CRI-o, Kubernetes etc. https://github.com/second-state/wasmedge-containers-examples |
Hey all, I'm unable to start any of the example http servers from the WasmEdge book and I'm completely stumped! I also encounter this exact error when trying to start up the server for any of the React examples from the book. In the case of the react app, the error originates from calling
new WasiTcpServer(PORT)
with any value for port.I've slogged through the setup of crun, crio, kubernetes and the lot, and using pre-built images works fine, but I can't seem to get the bytecode running on my local machine. Any advice would be appreciated!
The text was updated successfully, but these errors were encountered: