You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/12/30 12:58:41 UTC

[GitHub] [apisix] sandy420 opened a new issue #5969: Hope to add support for setting the custom host header to be used for artive checks!

sandy420 opened a new issue #5969:
URL: https://github.com/apache/apisix/issues/5969


   ### Issue description
   
   I used the domain name in the node of my upstreams.During the health check, apisix converted the domain to ip, and did not bring the host to the backend, which resulted in unrecognition, the health check failed, and the traffic failed to be distributed as expected.
   
   ![image](https://user-images.githubusercontent.com/10955441/147753829-6c838d5a-11aa-41be-ab39-b790d32d80fa.png)
   ![image](https://user-images.githubusercontent.com/10955441/147753946-d3050be1-054e-4a87-bffd-028a46e956af.png)
   
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):2.10.1
   - OS (cmd: `uname -a`):centos 7
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):1.19
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):3.4
   - apisix-dashboard version, if have:no
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):no
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):3.4
   


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #5969: Hope to add support for setting the custom host header to be used for upstream's artive checks!

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #5969:
URL: https://github.com/apache/apisix/issues/5969#issuecomment-1003251120


   Fixed in https://github.com/apache/apisix/pull/5175?


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] sandy420 commented on issue #5969: Hope to add support for setting the custom host header to be used for upstream's artive checks!

Posted by GitBox <gi...@apache.org>.
sandy420 commented on issue #5969:
URL: https://github.com/apache/apisix/issues/5969#issuecomment-1003243580


   > @sandy420 You can hint that the health check endpoint only accepts domain access, not ip access.
   
   how do it ? @tzssangglass 


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #5969: Hope to add support for setting the custom host header to be used for upstream's artive checks!

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #5969:
URL: https://github.com/apache/apisix/issues/5969#issuecomment-1003028877


   @sandy420  You can hint that the health check endpoint only accepts domain access, not ip access.


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #5969: Hope to add support for setting the custom host header to be used for upstream's artive checks!

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #5969:
URL: https://github.com/apache/apisix/issues/5969#issuecomment-1003297286


   @sandy420 pls check this.


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #5969: Hope to add support for setting the custom host header to be used for upstream's artive checks!

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #5969:
URL: https://github.com/apache/apisix/issues/5969#issuecomment-1003250434


   > > @sandy420 You can hint that the health check endpoint only accepts domain access, not ip access.
   > 
   > how do it ? @tzssangglass
   
   What I mean is that you could have indicated in the issue that your upstream service only accepts domain name access, thus raising the issue.


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #5969: Hope to add support for setting the custom host header to be used for upstream's artive checks!

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #5969:
URL: https://github.com/apache/apisix/issues/5969#issuecomment-1005438208


   Consider solved. Feel free to reopen it if need.


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #5969: Hope to add support for setting the custom host header to be used for upstream's artive checks!

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #5969:
URL: https://github.com/apache/apisix/issues/5969


   


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org