ziyou434 commented on issue #2989:
URL: https://github.com/apache/apisix/issues/2989#issuecomment-740472181


   > > ```
   > > curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   > > {
   > >     "uri": "/v1/receipt/verify",
   > >     "upstream": {
   > >         "type": "roundrobin",
   > >         "nodes": {
   > >             "192.168.199.1:8080": 1
   > >         }
   > >     }
   > > }'
   > > 
   > > curl http://127.0.0.1:9080/v1/receipt/verify
   > > 
   > > It will get a mistake.
   > > ```
   > 
   > do you mean `"uri": "v1/receipt/verify"` ?
   > because if I use `/v1/receipt/verify`, my environment (2.1) cannot 
reproduce the problem
   
   I found that the connection between etcd and apisix may not be stable. This 
happens sometimes during routing and forwarding.
   curl http://127.0.0.1:9080/apisix/admin/routes -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1'
   sometimes get Connection Refused ,It's about a quarter chance of going wrong.


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