You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/03/01 07:47:22 UTC

[GitHub] [apisix] rampagecong commented on pull request #6426: feat: add `rewrite:RespHeaders` and modify the upstream response headers via `request` implementation

rampagecong commented on pull request #6426:
URL: https://github.com/apache/apisix/pull/6426#issuecomment-1055120863


   `[root@iZbp1efn5vn52xspp2bid5Z apisix]# prove -I../test-nginx/lib -I./ -r -s t/plugin/ext-plugin/http-req-call.t
   t/plugin/ext-plugin/http-req-call.t .. nginx: [warn] stream [lua] health_check.lua:99: report_failure(): update endpoint: http://127.0.0.1:2379 to unhealthy
   nginx: [warn] stream [lua] v3.lua:151: _request_uri(): http://127.0.0.1:2379: connection refused. Retrying
   nginx: [error] stream [lua] init.lua:822: stream_init(): failed to load the configuration: has no healthy etcd endpoint available
   nginx: [warn] [lua] health_check.lua:99: report_failure(): update endpoint: http://127.0.0.1:2379 to unhealthy
   nginx: [warn] [lua] v3.lua:151: _request_uri(): http://127.0.0.1:2379: connection refused. Retrying
   nginx: [error] [lua] init.lua:86: http_init(): failed to load the configuration: has no healthy etcd endpoint available
   t/plugin/ext-plugin/http-req-call.t .. 1/? 
   #   Failed test 'TEST 7: rewrite args - status code ok'
   #   at /opt/service/test/apisix/../test-nginx/lib/Test/Nginx/Socket.pm line 948.
   #          got: '404'
   #     expected: '200'
   
   #   Failed test 'TEST 7: rewrite args - response_body - response is expected (repeated req 0, req 0)'
   #   at /opt/service/test/apisix/../test-nginx/lib/Test/Nginx/Socket.pm line 1589.
   # @@ -1,3 +1 @@
   # -uri: /plugin_proxy_rewrite_args
   # +{"error_msg":"404 Route Not Found"}
   # -a: foo,bar
   # -c: bar`
   
   'TEST 7' also failed. Is there a problem with setting it?Please help me.
   @shuaijinchao 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org