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

下载代码后启动DubboRegistryNacosProviderBootstrap报错 #745

Open
348339749 opened this issue Aug 11, 2020 · 4 comments
Open

下载代码后启动DubboRegistryNacosProviderBootstrap报错 #745

348339749 opened this issue Aug 11, 2020 · 4 comments

Comments

@348339749
Copy link

下载代码后,启动示例(本地nacos版本:nacos-server-1.3.0-BETA):

com.alibaba.nacos.api.exception.NacosException: failed to req API:/api//nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried:

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Tue Aug 11 11:06:45 CST 2020
There was an unexpected error (type=Forbidden, status=403).
unknown user!

@RysisLiang
Copy link

我也遇到了类似的问题。消费服务启动后,servlet接受不到请求

@AlbumenJ
Copy link
Member

AlbumenJ commented Feb 8, 2021

com.alibaba.nacos.api.exception.NacosException: failed to req API:/api//nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried:

would you please provide more detailed information such as nacos-client version

@AlbumenJ
Copy link
Member

AlbumenJ commented Feb 8, 2021

@RysisLiang

我也遇到了类似的问题。消费服务启动后,servlet接受不到请求

Here I am not very clear about the specific situation you encountered, would you please create a new issue to describe about this?

@RysisLiang
Copy link

我是将consumer创建为一个 spring-boot-web 应用。当启动类的注解是 @EnableAutoConfiguration 时,server是无法被正确指向controller的。当更改为 @SpringBootApplication 时server可以获取到请求的响应内容,然后我的问题就解决了。 因为 @SpringBootApplicatio 里有对组件扫描的自动配置。
你可以看看你的问题是不是出现在这 @348339749

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

3 participants