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

1.3.1 注销服务异常 #3324

Closed
squallliu opened this issue Jul 14, 2020 · 1 comment · Fixed by #3333
Closed

1.3.1 注销服务异常 #3324

squallliu opened this issue Jul 14, 2020 · 1 comment · Fixed by #3333
Assignees
Labels
kind/bug Category issues or prs related to bug.
Milestone

Comments

@squallliu
Copy link

异常如下,HttpClientBeanHolder类中Logger LOGGER = LoggerFactory.getLogger(HttpClientManager.class);写错了,应该是Logger LOGGER = LoggerFactory.getLogger(HttpClientBeanHolder.class);使用addShutdownHook关闭NacosRestTemplate,发生在请求 /nacos/v1/ns/instance 之前,然后......

2020-07-14 17:17:09.221  WARN 17487 --- [      Thread-22] c.a.nacos.common.http.HttpClientManager  : [HttpClientBeanFactory] Start destroying NacosRestTemplate
2020-07-14 17:17:09.227  WARN 17487 --- [      Thread-22] c.a.nacos.common.http.HttpClientManager  : [HttpClientBeanFactory] Destruction of the end
2020-07-14 17:17:09.228  INFO 17487 --- [      Thread-14] o.s.s.c.ThreadPoolTaskScheduler          : Shutting down ExecutorService 'Nacso-Watch-Task-Scheduler'
2020-07-14 17:17:09.254  INFO 17487 --- [      Thread-14] c.a.c.n.registry.NacosServiceRegistry    : De-registering from Nacos Server now...
2020-07-14 17:17:09.265 ERROR 17487 --- [      Thread-14] c.a.c.n.registry.NacosServiceRegistry    : ERR_NACOS_DEREGISTER, de-register failed...

com.alibaba.nacos.api.exception.NacosException: failed to req API:/nacos/v1/ns/instance after all servers tried: java.lang.IllegalStateException: Connection pool shut down
@KomachiSion KomachiSion added the kind/bug Category issues or prs related to bug. label Jul 14, 2020
@KomachiSion KomachiSion modified the milestones: 1.4.0, 1.3.2 Jul 14, 2020
@Maijh97
Copy link
Collaborator

Maijh97 commented Jul 14, 2020

@i will solve it@

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Category issues or prs related to bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants