alibaba / spring-cloud-alibaba

Spring Cloud Alibaba provides a one-stop solution for application development for the distributed solutions of Alibaba middleware.
https://sca.aliyun.com
Apache License 2.0
28.01k stars 8.35k forks source link

IPv6 address will add a network card suffix #3155

Closed steverao closed 1 year ago

steverao commented 1 year ago

Which Component eg. Nacos Discovery 2.2.10-RC1

Describe the bug New function of IPv6 address registry will add a useless network card suffix. For some client, it will cause call downstream service failed. This is my network information: image

The IPv6 address got from registry: image

  1. For Spring Cloud Gateway, it can call downstream service by using IPv6 addrsss of [2408:400a:8c:5400:6578:5c42:77b1:bc5d%eth0]:20001.
  2. For OpenFeign & RestTemplate, it called failed.

Expected behavior We should remove the suffix of %eth0 in IPv6 address.

steverao commented 1 year ago

I solved it and close now.