Welcome to the Linux Foundation Forum!

Lab 7.1 wasm plugin failed to start

one000mph
one000mph Posts: 11
edited January 14 in LFS144 Class Forum

I'm getting an error trying to follow the lab instructions. I'm running a M1 mac so maybe the steps need to be modified?

I did try to build with buildx and got the same result

2025-01-14T06:34:27.309385Z info wasm fetching image one000mph/wasm from registry index.docker.io with tag v1
2025-01-14T06:34:27.958848Z error envoy wasm external/envoy/source/extensions/common/wasm/wasm_vm.cc:38 Function: _start failed: Uncaught Error: restricted_callback
Proxy-Wasm plugin in-VM backtrace:
0: 0x6bb8 - _start thread=14
2025-01-14T06:34:27.958917Z error envoy wasm external/envoy/source/extensions/common/wasm/wasm.cc:109 Wasm VM failed Failed to initialize Wasm code thread=14
2025-01-14T06:34:27.959916Z critical envoy wasm external/envoy/source/extensions/common/wasm/wasm.cc:472 Plugin configured to fail closed failed to load thread=14
2025-01-14T06:34:27.959942Z critical envoy wasm external/envoy/source/extensions/common/wasm/wasm.cc:472 Plugin configured to fail closed failed to load thread=24
2025-01-14T06:34:27.960470Z warning envoy config external/envoy/source/extensions/config_subscription/grpc/grpc_subscription_impl.cc:138 gRPC config for type.googleapis.com/envoy.config.core.v3.TypedExtensionConfig rejected: Unable to create Wasm HTTP filter default.wasm-example thread=14

kubectl run curl --image=curlimages/curl -it --rm -- /bin/sh
If you don't see a command prompt, try pressing enter.
~ $ curl -v ht‌tp://httpbin:8000/headers

  • URL rejected: Port number was not a decimal number between 0 and 65535
  • closing connection #-1
    curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535

Comments

Categories

Upcoming Training