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

不能切换群组问题 #4287

Open
xshaoze opened this issue Mar 7, 2024 · 2 comments
Open

不能切换群组问题 #4287

xshaoze opened this issue Mar 7, 2024 · 2 comments

Comments

@xshaoze
Copy link

xshaoze commented Mar 7, 2024

系统:ubuntu
BCOS版本:v2.9.1
问题重现:

ipconf:

ze@ze-virtual-machine:~/fisco$ cat ipconf

127.0.0.1:3 agency 1 30200,20200,8020
127.0.0.1:2 agency 2 30300,20300,8030
ze@ze-virtual-machine:~/fisco$ ./build_chain.sh -e ./fisco-bcos -f ipconf
Checking fisco-bcos binary.
Binary check passed.
==============================================================
Generating CA key.
==============================================================
Generating keys and certificates ...
Processing IP=127.0.0.1 Total=3 Agency=agency Groups=1
Processing IP=127.0.0.1 Total=2 Agency=agency Groups=2
==============================================================
Generating configuration files ...
Processing IP=127.0.0.1 Total=3 Agency=agency Groups=1
Processing IP=127.0.0.1 Total=2 Agency=agency Groups=2
==============================================================
Group:1 has 3 nodes
Group:2 has 2 nodes
==============================================================
[INFO] FISCO-BCOS Path : ./fisco-bcos
[INFO] IP List File    : ipconf
[INFO] Start Port      : 30300 20200 8545
[INFO] Server IP       : 127.0.0.1:3 127.0.0.1:2
[INFO] Output Dir      : /home/ze/fisco/nodes
[INFO] CA Path         : /home/ze/fisco/nodes/cert/
[INFO] RSA channel     : true
==============================================================
[INFO] Execute the download_console.sh script in directory named by IP to get FIS
e.g.  bash /home/ze/fisco/nodes/127.0.0.1/download_console.sh -f
==============================================================
[INFO] All completed. Files in /home/ze/fisco/nodes

安装控制台以后:

ze@ze-virtual-machine:~/fisco/console$ cd ~/fisco/console && bash start.sh       =============================================================================================
Welcome to FISCO BCOS console(2.9.2)!
Type 'help' or 'h' for help. Type 'quit' or 'q' to quit console.
 ________ ______  ______   ______   ______       _______   ______   ______   ______
|        |      \/      \ /      \ /      \     |       \ /      \ /      \ /      \
| $$$$$$$$\$$$$$|  $$$$$$|  $$$$$$|  $$$$$$\    | $$$$$$$|  $$$$$$|  $$$$$$|  $$$$$$\
| $$__     | $$ | $$___\$| $$   \$| $$  | $$    | $$__/ $| $$   \$| $$  | $| $$___\$$
| $$  \    | $$  \$$    \| $$     | $$  | $$    | $$    $| $$     | $$  | $$\$$    \
| $$$$$    | $$  _\$$$$$$| $$   __| $$  | $$    | $$$$$$$| $$   __| $$  | $$_\$$$$$$\
| $$      _| $$_|  \__| $| $$__/  | $$__/ $$    | $$__/ $| $$__/  | $$__/ $|  \__| $$
| $$     |   $$ \\$$    $$\$$    $$\$$    $$    | $$    $$\$$    $$\$$    $$\$$    $$
 \$$      \$$$$$$ \$$$$$$  \$$$$$$  \$$$$$$      \$$$$$$$  \$$$$$$  \$$$$$$  \$$$$$$

=============================================================================================
[group:1]> switch 2
Switch to group 2 failed! create client for group 2 failed! Please check the existence of group 2 of the connected node! Current groupList is: [1], please check the existence of group 2

就发生了错误:Switch to group 2 failed! create client for group 2 failed! Please check the existence of group 2 of the connected node! Current groupList is: [1], please check the existence of group 2
我找不到解决办法

@kyonRay
Copy link
Member

kyonRay commented Mar 7, 2024

控制台有没有连上属于group2的节点?SDK是通过握手信息才确定群组信息,需要连上group2的节点

@shangwu102
Copy link

控制台有没有连上属于group2的节点吗?SDK是通过握手信息才确定分组信息,需要连上group2的节点
是不是只有同一个机构内的群组才可以切换?
不同的机构可以切换群组吗

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