-
Notifications
You must be signed in to change notification settings - Fork 145
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
No output for GetProperty method - network filter #377
Comments
It's strange that even the vm info is not returned: pluginVmId, err := proxywasm.GetProperty([]string{"plugin_vm_id"})
proxywasm.LogInfof("plugin vm id: %v", pluginVmId)``` Which results in log entry of:
|
paulchoi
changed the title
No output for GetProperty method
No output for GetProperty method - network filter
Apr 26, 2023
I tried writing an HTTP filter version of the TCP filter, making a bunch of The same result - the request succeeds, but the |
Seems like I can fetch if srcAddr, err := proxywasm.GetProperty([]string{"source", "address"}); err == nil {
proxywasm.LogInfof("Source address: %s", string(srcAddr))
} which results in:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug / error
GetProperty
call returns no output. This is in a network WASM filter.I can tell the WASM filter is receiving data, because
GetDownstreamData
returns the data from downstream.What is your Envoy/Istio version?
Envoy 1.26
What is the SDK version?
v0.22.0
What is your TinyGo version?
tinygo version 0.27.0 darwin/amd64 (using go version go1.20.3 and LLVM version 15.0.0)
URL or snippet of your code including Envoy configuration
envoy.yaml:
Additional context (Optional)
Log output from Envoy/WASM:
The text was updated successfully, but these errors were encountered: