itw-hewb opened a new issue #4653:
URL: https://github.com/apache/apisix/issues/4653


   apisix version:2.6 
   route配置:{
     "uri": "/nacos/*",
     "name": "tnacos",
     "plugins": {
       "proxy-rewrite": {
         "headers": {
           "Referer": "http://test.oan.zhiyinlou.com/";
         },
         "regex_uri": [
           "^/nacos/(.*)",
           "/$1"
         ]
       },
       "skywalking": {
         "sample_ratio": 1
       }
     },
     "upstream": {
       "type": "roundrobin",
       "hash_on": "vars",
       "scheme": "http",
       "discovery_type": "nacos",
       "pass_host": "pass",
       "service_name": "mis-gateway-dev"
     },
     "status": 1
   }
   
   正确的结果:
   
![image](https://user-images.githubusercontent.com/22789061/126621581-ff83fd36-5490-439f-8ff7-57b6155173c2.png)
   
   一段时间后访问:
   {"error_msg":"failed to match any routes"}
   
   通过route 下线 上线后操作后 恢复正常 一段时间后 继续 {"error_msg":"failed to match any routes"}  
如此循环


-- 
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