cooper.wu
cooper.wu
按手册的说明,如果你要部署 apisix-ingress-controller 且不使用 etcd 的话 , https://github.com/apache/apisix-helm-chart/tree/master/charts/apisix-ingress-controller helm install ... --set config.etcdserver.enabled=true
@Rustixir maybe this can help you ? 4740180 is ascii-encoded HTT so it appears it's getting stumbled on HTTP/1 reply when reading from upstream connection socket. https://github.com/kubernetes/ingress-nginx/issues/4095
can you provide some logs about it ?
``` -- in the rewrite phase, the plugin executes in the following order: -- 1. execute the rewrite phase of the plugins on route(including the auth plugins) -- 2. merge...
my test ``` curl "http://127.0.0.1:9180/apisix/admin/consumers" -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "username": "jack", "plugins": { "serverless-post-function": { "functions" : ["return function(conf, ctx) ngx.say(\"serverless-post-function-consumer\"); end"] }, "key-auth": { "key":...
I do reproduce test case ``` curl "http://127.0.0.1:9180/apisix/admin/consumers" -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "username": "jack", "plugins": { "key-auth": { "key": "auth-one" } } }' ``` ``` curl...
``` 2024/03/05 01:42:47 [info] 71#71: *112480 [lua] radixtree.lua:355: pre_insert_route(): path: /ip operator: =, client: 100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080" 2024/03/05 01:42:47 [info] 71#71: *112480 [lua] radixtree.lua:355:...
when I explicit set proxy-rewrite disable false in consumers, then get correct header ``` curl "http://127.0.0.1:9180/apisix/admin/consumers" -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "username": "jack", "plugins": { "key-auth": {...
I think when call merge_consumer_route , if consumer undefined proxy-rewrite, then after merge will get route plugin config proxy-rewrite , so plugin will run proxy-rewrite add header again.
I have check this issue and I find when etcd delete item , the values array set to false instead of remove it ,  So I suggest add check...