Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

not working in the envoy #9

Open
FeiYing9 opened this issue Aug 16, 2021 · 0 comments
Open

not working in the envoy #9

FeiYing9 opened this issue Aug 16, 2021 · 0 comments

Comments

@FeiYing9
Copy link

FeiYing9 commented Aug 16, 2021

due to the issue, I managed to build it with tinygo 0.17.0, and it's succeed.

build command:

tinygo build -o build/socket.wasm -target=wasi -wasm-abi=generic -cflags "-DUNISOCKETS_WITH_CUSTOM_ARPA_INET" .

but, it's failed running in Istio with the proxy of envoy:

2021-08-16T02:52:42.942205Z	error	envoy wasm	Failed to load Wasm module due to a missing import: env.unisockets_socket
2021-08-16T02:52:42.942234Z	error	envoy wasm	Failed to load Wasm module due to a missing import: env.unisockets_connect
2021-08-16T02:52:42.942238Z	error	envoy wasm	Failed to load Wasm module due to a missing import: env.unisockets_send
2021-08-16T02:52:42.942240Z	error	envoy wasm	Failed to load Wasm module due to a missing import: env.unisockets_recv
2021-08-16T02:52:42.942247Z	error	envoy wasm	Wasm VM failed Failed to initialize Wasm code
2021-08-16T02:52:42.942772Z	critical	envoy wasm	Plugin configured to fail closed failed to load
2021-08-16T02:52:42.942787Z	critical	envoy wasm	Plugin configured to fail closed failed to load
2021-08-16T02:52:42.942793Z	critical	envoy wasm	Plugin configured to fail closed failed to load
2021-08-16T02:52:42.965088Z	warning	envoy config	gRPC config for type.googleapis.com/envoy.config.listener.v3.Listener rejected: Error adding/updating listener(s) 10.107.169.228_9091: Unable to create Wasm network filter tcp-socket-replace
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant