WeBankBlockchain/WeCross

网络部署失败

yngil opened this issue · 1 comments

yngil commented

Describe the bug
启动'bash build_cross_all.sh'后,出现'http request failed, caused by: SDKException happened in asyncSend, errorMessage:Command addChainAccount needs Auth, please login.'

To Reproduce
Steps to reproduce the behavior:

  1. Run script 'bash build_cross_all.sh'
  2. Enter command '输入数据库配置'

Expected behavior
启动输出网络架构

Screenshots
image

image

Desktop (please complete the following information):

  • OS: [CentOS]
  • Runtime: [java]
  • Version [openjdk 1.8]

Additional context
登录控制台,输入'listAccount'后,提示’http request failed, caused by: SDKException happened in asyncSend, errorMessage:Command listAccount needs Auth, please login.‘

yngil commented

linux下会绑定到tcp6,设置JAVA_OPTS如下,即可解决

export _JAVA_OPTIONS="-Djava.net.preferIPv4Stack=true"