wasm插件:client opa fail error status returned by host: bad argument #1341
ningpengtao-coder
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
debug日志:
2024-09-24T12:19:33.145504Z debug xdsproxy request for type url type.googleapis.com/envoy.config.core.v3.TypedExtensionConfig
2024-09-24T12:20:07.835003Z debug envoy wasm external/envoy/source/extensions/common/wasm/context.cc:1384 wasm log higress-system.opa-1.0.0: http call start, id: 1c141612-3ecf-4fd3-819b-df5f0105576a, cluster: outbound|8181||opa.lcy-namespace.svc.cluster.local, method: POST, url: /v1/data/example1/allow, body: {"input":{"request":{"headers":[[":authority","foo.bar.com"],[":path","/nacos"],[":method","GET"],[":scheme","http"],["user-agent","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"],["accept","text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7"],["accept-encoding","gzip, deflate"],["accept-language","zh-CN,zh;q=0.9,en;q=0.8,ja;q=0.7"],["cache-control","max-age=0"],["upgrade-insecure-requests","1"],["x-forwarded-for","10.42.2.0"],["x-forwarded-proto","http"],["x-envoy-internal","true"],["x-envoy-original-host","foo.bar.com"],["x-request-id","4848e85e-512a-4c4b-ad1b-fb81e6cfe717"],["x-envoy-decorator-operation","nacos-static.static:80/*"]],"method":"GET","path":"/nacos","query":{},"scheme":"http"}}}, timeout: 30000 thread=114
2024-09-24T12:20:07.835048Z error envoy wasm external/envoy/source/extensions/common/wasm/context.cc:1393 wasm log higress-system.opa-1.0.0: [opa] client opa fail error status returned by host: bad argument thread=114
配置:
policy: "example1"
namespace: "lcy-namespace"
serviceName: "opa"
servicePort: 8181
serviceSource: "k8s"
timeout: "30s"
Beta Was this translation helpful? Give feedback.
All reactions