xyz101121 opened a new issue #3486:
URL: https://github.com/apache/apisix/issues/3486


   1.  apisix中的config.yaml已经配置dns_resolver
   
![image](https://user-images.githubusercontent.com/16227137/106560879-b868ac00-6562-11eb-8b7c-9d3371784d44.png)
   
   2.route配置的upstream
   
![image](https://user-images.githubusercontent.com/16227137/106560982-e1893c80-6562-11eb-85ce-1c25e40eb15b.png)
   
   3. consul解析没有问题
   
![image](https://user-images.githubusercontent.com/16227137/106561064-0087ce80-6563-11eb-8129-b0d4c6a5835c.png)
   
   可是我访问的时候报500错误,当我把upstream直接替换成后端的ip地址,是没有问题的,-XPATCH -d 
'{"upstream":{"nodes":{"172.16.0.237":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:
us...@infra.apache.org


Reply via email to