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

节点挂掉后重启,前置服务链相关接口调用报错 #748

Open
Skkypy opened this issue Apr 22, 2022 · 1 comment
Open

节点挂掉后重启,前置服务链相关接口调用报错 #748

Skkypy opened this issue Apr 22, 2022 · 1 comment

Comments

@Skkypy
Copy link
Contributor

Skkypy commented Apr 22, 2022

当前置服务链接的节点挂掉,重启节点。前置服务(未重启)取链上信息报错:

com.webank.webase.front.base.exception.FrontException: No available node to connect
	at com.webank.webase.front.web3api.Web3ApiService.checkConnection(Web3ApiService.java:852) ~[WeBASE-Front.jar:?]
	at com.webank.webase.front.web3api.Web3ApiService.getWeb3j(Web3ApiService.java:820) ~[WeBASE-Front.jar:?]

前置服务重启后,正常。

@Skkypy Skkypy changed the title 节点挂掉后重启,前置服务链接会报错 节点挂掉后重启,前置服务链相关接口调用报错 Apr 22, 2022
@CodingCattwo
Copy link
Contributor

可以调用/web3/1/refresh 刷新连接池,尝试重连节点

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