lifehacking opened a new issue #2258:
URL: https://github.com/apache/apisix/issues/2258


   ### Issue description
   
   client curl  --->  route ---> upstream 
   
   client curl return: failed to match any routes
   
   route config: 
   
   {
       "node": {
           "createdIndex": 52, 
           "modifiedIndex": 52, 
           "key": "/apisix/routes/2", 
           "value": {
               "priority": 0, 
               "upstream_id": "1", 
               "hosts": [
                   "www.test.com"
               ], 
               "uris": [
                   "/"
               ], 
               "id": "2"
           }
       }, 
       "action": "get"
   }
   
   upstream config:
   
   {
       "node": {
           "createdIndex": 53, 
           "modifiedIndex": 53, 
           "key": "/apisix/upstreams/1", 
           "value": {
               "retries": 3, 
               "timeout": {
                   "read": 30, 
                   "connect": 30, 
                   "send": 30
               }, 
               "nodes": {
                   "192.168.1.6:8000": 1
               }, 
               "type": "roundrobin", 
               "id": "1", 
               "hash_on": "vars"
           }
       }, 
       "action": "get"
   }
   
   
   
   ### Environment
   
   * apisix version :1.5
   * OS: centos7.6
   
   ### Minimal test code / Steps to reproduce the issue
   1.
   2.
   3.
   
   ### What's the actual result? (including assertion message & call stack if 
applicable)
   
   client returen: 
   
   curl http://www.test.com/status/index.html
   {"error_msg":"failed to match any routes"}
   
   
   ### What's the expected result?
   


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

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


Reply via email to