FISCO-BCOS / FISCO-BCOS/console

创建三群组、四机构、七节点的星形组网拓扑区块链系统后,控制台只能连接机构A的3个node

Open
#869 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
96
Forks
62
PR merge metrics
No merged PRs in 30d

Description

我的ip_list文件

![Image](https://github.com/user-attachments/assets/c72c8cf8-a835-40ba-af6e-2929ecce0bb2)
使用机构A的node0,1,2的20240,20241,20242端口连接可以启动

![Image](https://github.com/user-attachments/assets/e51ce5ea-3f9c-4ccd-8d9f-7e67768798b5)
使用剩下4个机构B、C、D的node3-6的20243-20246端口都无法连接

![Image](https://github.com/user-attachments/assets/1ac1c574-9e54-4dc8-bc7d-d4b426663db6)
报错如下:
create BcosSDK failed, error info: init channel network error!
org.fisco.bcos.sdk.network.NetworkException:
* TRACE INFORMATION:
----------------------------
====> STEP1: try to connect nodes with ecdsa context...
<==== STEP1-1: Load certificates for ecdsa context success...
<==== STEP1 Result: try to connect nodes with ecdsa context failed. reason:
Failed to connect to all the nodes!
* ssl handshake failed:/127.0.0.1:20243
reason: General OpenSslEngine problem. Please make sure the certificate are correctly configured and copied.

----------------------------
====> STEP2: connect nodes with ecdsa context failed, try to connect nodes with sm-context...
<==== STEP2 Result: connect with sm context failed for cert missing.
* Missed certificates:
[conf/gm/gmca.crt,conf/gm/gmsdk.crt,conf/gm/gmsdk.key,conf/gm/gmensdk.key,conf/gm/gmensdk.crt,]
currentPath: /home/ubuntu/example/console
----------------------------
<====> Error: try to connect nodes with both ecdsa and sm context failed <====>
<====> Please refer to github issue: https://github.com/FISCO-BCOS/java-sdk/issues/536
<====> Please refer to fisco-docs: https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/faq/connect.html
----------------------------
* FISCO BCOS Java SDK Version: 2.9.1
* Support secp256k1 : true
* Java Version : 1.8.0_442
* JDK Disabled NamedCurves : null
* JDK DisableNative Option : false
* OS Name : Linux
* OS Arch : amd64
* OS Version : 6.11.0-17-generic
* JVM Version : 25.442-b06
* JVM Vendor : Private Build
* JVM Vendor URL : http://java.oracle.com/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.