Skip to content
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

nacos 0.2.11 版本不支持 springboot 2.4.8 版本 #86

Open
huangquanwei99 opened this issue Sep 15, 2022 · 3 comments
Open

nacos 0.2.11 版本不支持 springboot 2.4.8 版本 #86

huangquanwei99 opened this issue Sep 15, 2022 · 3 comments

Comments

@huangquanwei99
Copy link

1) springboot 2.4.8 版本 引入 nacos 0.2.11 版本
2 配置文件
#nacos:

config:

server-addr: https://xxxx

3)报错 Failed to resolve name. status=Status{code=UNAVAILABLE, description=Unable to resolve host https, cause=java.lang.RuntimeException: java.net.UnknownHostException: https

@huangquanwei99
Copy link
Author

项目在引入

    <dependency>
        <groupId>com.alibaba.nacos</groupId>
        <artifactId>nacos-client</artifactId>
        <version>2.1.1</version>
    </dependency>

可以解决 https 问题
但是就读取不到 nacos的配置文件了

@huangquanwei99
Copy link
Author

请项目组看到之后,给予回复。谢谢

@YukiYlf
Copy link

YukiYlf commented Oct 8, 2022

测试结果
2.1.0才可以
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants