proxy-wasm-go-sdk
proxy-wasm-go-sdk copied to clipboard
OnVMStart invokes the proxywasm.DispatchHttpCall error
Describe the bug / error
OnVMStart method invokes the proxywasm. DispatchHttpCall method error
proxy_on_vm_start failed: Uncaught RuntimeError: unreachable
Proxy-Wasm plugin in-VM backtrace:
0: 0x7ca4 - runtime.runtimePanic
1: 0x1fca - runtime.nilPanic
2: 0x1c873 - github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm.DispatchHttpCall
3: 0x1a1b7 - proxy_on_vm_start
What is your Envoy/Istio version?
envoy 1.20.1
What is the SDK version?
0.16
What is your TinyGo version?
0.22
URL or snippet of your code including Envoy configuration
- name: envoy.filters.http.wasm
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.wasm.v3.Wasm
config:
name: "test"
root_id: "test"
configuration:
'@type': type.googleapis.com/google.protobuf.StringValue
value: |
{
"name": "test",
"age": 123
}
vm_config:
runtime: "envoy.wasm.runtime.v8"
configuration:
'@type': type.googleapis.com/google.protobuf.StringValue
value: |
{
"grantType":"abc",
"clientId":"bcd",
"clientSecret":"cde",
"scope":"adsfdfad asdfadsf"
}
code:
local:
filename: './jwt.wasm'