Proxy-wasm extension fails with "WASM missing Proxy-Wasm ABI version or requires an unsupported version"

Solution Verified - Updated -

Issue

Building proxy-wasm extension using the examples for Go SDK repository creates unsupported WASM ABI version.
Istio-proxy sidecar starts but it is unable to start the wasm extension and it is filled with warning messages like:

"warning    envoy config    [external/envoy/source/common/config/grpc_subscription_impl.cc:101] gRPC config for type.googleapis.com/envoy.api.v2.Listener rejected: Error adding/updating listener(s) virtualInbound: WASM missing Proxy-Wasm ABI version or requires an unsupported version"

Environment

OpenShift Container Platform 4.6+
Openshift Service Mesh v2.0
Golang v1.16.6 and above

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content