[GitHub] [apisix] idbeta commented on issue #2989: bug: Route url

2020-12-07 Thread GitBox


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


   What are your steps? In my environment, APISIX does not have this problem, 
but the dashboard will prompt that this setting is not allowed. 



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




[GitHub] [apisix] idbeta commented on issue #2989: bug: Route url

2020-12-08 Thread GitBox


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


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



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




[GitHub] [apisix] idbeta commented on issue #2989: bug: Route url

2020-12-08 Thread GitBox


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


   > 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.
   
   I get your point. `The unstable environment causes APISIX to be unstable`. 
Now there is a [PR](https://github.com/apache/apisix/issues/2757) doing this 
test. I hope this problem can be solved. 



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