Skip to content
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

OnVMStart invokes the proxywasm.DispatchHttpCall error #255

Open
pjjwpc opened this issue Feb 23, 2022 · 0 comments
Open

OnVMStart invokes the proxywasm.DispatchHttpCall error #255

pjjwpc opened this issue Feb 23, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@pjjwpc
Copy link

pjjwpc commented Feb 23, 2022

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'

Additional context (Optional)

@mathetake mathetake added the help wanted Extra attention is needed label Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants