membphis opened a new issue #1291: bug: throw an error message if there was no 
valid upstream node in balance phase
URL: https://github.com/apache/incubator-apisix/issues/1291
 
 
   If the user uses the domain as an upstream node host. 
   We need to parse the domain by DNS first, and this step may fail.
   
   Then the upstream node may be an empty table.
   
   ```shell
   curl "http://127.0.0.1:9080/apisix/admin/upstreams/50"; -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "type": "roundrobin",
       "nodes": {
           "httpbin.org:443": 1
       }
   }'
   ```

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


With regards,
Apache Git Services

Reply via email to