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

多群组部署网络节点,控制台/webase-front无法切换群组的问题 #779

Open
wxj-cyber opened this issue Jul 20, 2023 · 3 comments

Comments

@wxj-cyber
Copy link

``环境:ubuntu18.04
节点版本:2.9.1
fisco-bcos版本:2.7.2

ipconf内容如下:

127.0.0.1:2 agencyProduce 1
127.0.0.1:2 agencyCustom 1,2,3
127.0.0.1:2 agencyTransit 2
127.0.0.1:2 agencySealer 3

暂时先这么配置,初学区块链,尝试自己用fisco-bcos写一个溯源类的项目,暂时还没有服务器资源,就干自己的CPU吧😄😄

通过tail -f node3/log/*|grep "g:3.*++"查看节点3与群组3之间的共识,结果如图:
image

通过tail -f nodex/log/*lgrep "connected count"查看节点连接数,结果如图:
image

打开控制台,通过switch 2切换,出现:
1689814315786
日志:
1689814366698
webase-front的切换群组也是一样,日志:
1689814444826
之前使用webase-depoly一键部署是可以的,可以在控制台/webase-front切换群组。
恳请哥哥姐姐们,在百忙之中给予指正😊😊😊😊😊

@fqliao
Copy link
Collaborator

fqliao commented Jul 20, 2023

你配了所有节点,有些节点没有设置群组2,控制台是随机选择一个节点连的,连到节点没有群组2就切换群组失败吧,你可以只填这两个节点试试
image

@wxj-cyber
Copy link
Author

意思就是,控制台随机连的节点刚好只是一个单群组的,就无法切换群组了嘛?😃😃😃

@wxj-cyber
Copy link
Author

另外就是到后面,我用java写项目的时候,也可以控制sdk的节点连接吧?

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