-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does nacos 1.1.4 support ipv6? #2937
Comments
currently, Only support ipv4. |
我现在也在关注这个问题,但是我现在对概念有点混淆。您说的nacos控制台是不是指的第一张图的页面,但是nacos客户端指的是什么呢? |
抱歉我表述的可能有问题.
我所说的nacos控制台就是web访问地址,http://xxx.xxx.xxx.xxx:8848/nacos;
nacos客户端指的是集成nacos的后端服务。
…------------------ 原始邮件 ------------------
发件人: "weishuai"<[email protected]>;
发送时间: 2020年6月17日(星期三) 下午2:04
收件人: "alibaba/nacos"<[email protected]>;
抄送: "黑武士"<[email protected]>; "Author"<[email protected]>;
主题: Re: [alibaba/nacos] Does nacos 1.1.4 support ipv6? (#2937)
我现在也在关注这个问题,但是我现在对概念有点混淆。您说的nacos控制台是不是指的第一张图的页面,但是nacos客户端指的是什么呢?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
客户端我可以理解为注册到nacos中的服务吗? |
我这面没有做细致的测试,仅仅是把现有的服务放到IPv6环境中运行,我看官方给出的回应是暂时不支持IPv6,您那边有全链路IPv6的场景么?
…------------------ 原始邮件 ------------------
发件人: "weishuai"<[email protected]>;
发送时间: 2020年6月17日(星期三) 下午2:27
收件人: "alibaba/nacos"<[email protected]>;
抄送: "黑武士"<[email protected]>; "Author"<[email protected]>;
主题: Re: [alibaba/nacos] Does nacos 1.1.4 support ipv6? (#2937)
客户端我可以理解为注册到nacos中的服务吗?
目前我了解到的信息是使用PUT注册服务的时候,重新建立一个合法的ipv6地址,得到400的响应。
在GET时又能够获取到这个实例。这就代表注册服务时,不允许使用IPv6,但是发现服务时可以发现用ipv6注册的服务。不知道我获取到的信息是否正确。您这边目前得到的结论是什么?nacos支持ipv6对服务进行注册和发现吗?我的信息是在下面的问题中获取到的:#978
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
我这边也没有全链路的ipv6场景,也是想把Ipv4升级到ipv6,正在评估方案的可行性。您是直接把spring.cloud.nacos.server-addr的value值改成了ipv6了吗?您在哪里看到了官方给出的回复说不支持ipv6? |
是啊spring.cloud.nacos.server-addr配置为ipv6地址,我们这边也测试了下nginx proxy_pass ipv6也是解析错误。
官方回复的是:currently, Only support ipv4.
#2937 (comment)
…------------------ 原始邮件 ------------------
发件人: "weishuai"<[email protected]>;
发送时间: 2020年6月17日(星期三) 下午2:38
收件人: "alibaba/nacos"<[email protected]>;
抄送: "黑武士"<[email protected]>; "Author"<[email protected]>;
主题: Re: [alibaba/nacos] Does nacos 1.1.4 support ipv6? (#2937)
我这边也没有全链路的ipv6场景,也是想把Ipv4升级到ipv6,正在评估方案的可行性。您是直接把spring.cloud.nacos.server-addr的value值改成了ipv6了吗?您在哪里看到了官方给出的回复说不支持ipv6?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
这个确定是否支持ipv6还要看官方文档上是否注明 您现在是不是配置ipv6后nacos控制台可以访问,但是配置的nacos服务不支持? |
Issue Description
feature request
Describe what happened (or what feature you want)
nacos version: 1.1.4
I can access the nacos console through ipv6,but the curl test returns 400.
The nacos client does not recognize ipv6 addresses.
This is my configuration:
spring.cloud.nacos.server-addr=fe80::16cc:c977:f6f9:431e%ens33:8848
error log:
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/service/list after all servers([fe80::16cc:c977:f6f9:431e%ens33:8848]) tried: failed to req API:fe80::16cc:c977:f6f9:431e%ens33:8848/nacos/v1/ns/service/list. code:500 msg: java.net.MalformedURLException: For input string: ":16cc:c977:f6f9:431e%ens33:8848"
Describe what you expected to happen
Nacos supports ipv6 service registration discovery.
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
CentOS7
nacos1.1.4
openjdk1.8
Anything else we need to know?
The text was updated successfully, but these errors were encountered: