forget99 opened a new issue, #9709:
URL: https://github.com/apache/apisix/issues/9709

   ### Description
   
   在apisix路由中配置了一个上游服务,上游服务只支持域名访问,不能通过ip + 
port的方式访问,在路由中设置了域名重写,服务可以正常调用,但是在路由上加上ext-plugin-post-resp后置插件,调用服务404.
   
   `
   "ext-plugin-post-resp": {
         "allow_degradation": true,
         "conf": [
           {
             "name": "AuthFilter",
             "value": "authFilter"
           }
         ],
         "disable": false
       }
   
   "proxy-rewrite": {
         "host": "test.com",
         "regex_uri": [
           "^/test-api(/|$)(.*)",
           "/$2"
         ],
         "use_real_request_uri_unsafe": false
       }`
   
   
   查看apisix error.log日志文件打印信息
   common_phase(): ext-plugin-post-resp exits with http status code 404
   
   查看apisix access.log 日志文件打印信息
   HTTP/1.1" 404 157 0.107 "-" "PostmanRuntime/7.29.2" - - -
   
   请各位技术老师帮忙看下!
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to