pjjwpc
pjjwpc
## 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...
Consul already provides a grpc heartbeat checking mechanism, and if consuldotnet can be updated, just add the GRPC attribute to the AgentServiceCheck class
fn on_tick(&mut self) { unsafe { self.dispatch_http_call( &VM_CONFIG_GLBOAL.gatewaycluster, vec![ (":method", "GET"), ( ":path", "/hello", ), (":authority","hello"), ], None, vec![], Duration::from_secs(1), ) .unwrap(); } }