gewei2000 commented on issue #2739:
URL: https://github.com/apache/apisix/issues/2739#issuecomment-727182753


   > @gewei2000 I used your config data ( as follows ) and do not reproduce 
your issue. I want to know if you set the route many time or one time?
   > 
   > ```
   > curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   > {
   >     "uri": "/route.html",
   >     "upstream": {
   >        "name":"small_policy_center",
   >        "type":"roundrobin",
   >        "retries":2,
   >        "timeout":{
   >            "connect":6000,
   >            "send":6000,
   >            "read":6000
   >        },
   >        "nodes":[
   >            {
   >                "host":"127.0.0.1",
   >                "port":7001,
   >                "weight":1
   >            },
   >            {
   >                "host":"127.0.0.1",
   >                "port":7002,
   >                "weight":1
   >            }
   >        ],
   >        "checks":{
   >            "active":{
   >                "healthy":{
   >                    "interval":2,
   >                    "successes":1
   >                },
   >                "http_path":"/",
   >                "timeout":5,
   >                "unhealthy":{
   >                    "http_failures":2,
   >                    "interval":1
   >                }
   >            }
   >        }
   >    }
   > }'
   > ```
   
   what mean "set the route many time or one time", I only create a route(not 
any plugin) and a upstream, then the route ref the upstream.


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


Reply via email to