We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I test http server with knative.
ubuntu@ubuntu:~$ time curl -H "Host: http-wasm.default.127.0.0.1.nip.io" -d "name=HelloWorld" http://localhost:32234 Error(TrackableError { kind: UnexpectedEos, cause: Some(Cause("assertion failed: `remaining >= required`; remaining=0, required=15")), history: History([Location { module_path: "bytecodec::combinator", file: "/home/hydai/.cargo/registry/src/github.com-1ecc6299db9ec823/bytecodec-0.4.15/src/combinator.rs", line: 729, message: "" }, Location { module_path: "httpcodec::body", file: "/home/hydai/.cargo/registry/src/github.com-1ecc6299db9ec823/httpcodec-0.2.3/src/body.rs", line: 237, message: "" }, Location { module_path: "httpcodec::message", file: "/home/hydai/.cargo/registry/src/github.com-1ecc6299db9ec823/httpcodec-0.2.3/src/message.rs", line: 67, message: "" }, Location { module_path: "httpcodec::request", file: "/home/hydai/.cargo/registry/src/github.com-1ecc6299db9ec823/httpcodec-0.2.3/src/request.rs", line: 153, message: "" }, Location { module_path: "bytecodec::decode", file: "/home/hydai/.cargo/registry/src/github.com-1ecc6299db9ec823/bytecodec-0.4.15/src/decode.rs", line: 448, message: "" }]) }) real 0m0.024s user 0m0.008s sys 0m0.004s
Image id is docker.io/wasmedge/example-wasi-http@sha256:14e3454b240ff1104222f349eaddab26b07f2ae086d80bb0f84e5b0d03dc8242
The text was updated successfully, but these errors were encountered:
Hi,
Have you tried the wasmedge CLI? Or is it only failing at knative?
In the knative environment, how do you run the Wasm file? In a Linux container? In crun-wasm? In containerd? Thanks!
Also, I think perhaps a better HTTP server example to try is this one:
https://github.com/WasmEdge/wasmedge_hyper_demo/tree/main/server
Thanks.
Sorry, something went wrong.
No branches or pull requests
I test http server with knative.
Image id is docker.io/wasmedge/example-wasi-http@sha256:14e3454b240ff1104222f349eaddab26b07f2ae086d80bb0f84e5b0d03dc8242
The text was updated successfully, but these errors were encountered: