SDK初始化时报了一个不影响程序启动的错: ===============创建连接失败,把节点加入异常节点
【问题分类】
- [√] SDK相关
【问题描述】(请对问题进行描述,方便定位问题)
SDK初始化时报了一个不影响程序启动的错,记得以前是没有这个错的。 org.chainmaker.sdk.GrpcClientFactory : ===============创建连接失败,把节点加入异常节点grpcs://192.168.11.197:30094_chainmaker.org org.chainmaker.sdk.GrpcClientFactory : check invoke getVersion error one java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNAVAILABLE: Connection closed while performing TLS negotiation
具体的现象,操作步骤,前置条件等,尽可能描述清楚,有截图说明更佳
sdk配置文件如下:
chainmaker:
param:
chain_id: chain2
org_id: wx-org1.chainmaker.org
user_key_file_path: /data/crypto-config/wx-org1.chainmaker.org/user/admin1/TlsKey.key
user_crt_file_path: /data/crypto-config/wx-org1.chainmaker.org/user/admin1/TlsCert.crt
user_sign_key_file_path: /data/crypto-config/wx-org1.chainmaker.org/user/admin1/SignKey.key
user_sign_crt_file_path: /data/crypto-config/wx-org1.chainmaker.org/user/admin1/SignCert.crt
nodes:
- node_addr: 192.168.11.197:30092
conn_cnt: 10
enable_tls: true
trust_root_paths:
- /data/crypto-config/wx-org1.chainmaker.org/ca
tls_host_name: chainmaker.org
- node_addr: 192.168.11.197:30093
conn_cnt: 10
enable_tls: true
trust_root_paths:
- /data/crypto-config/wx-org2.chainmaker.org/ca
tls_host_name: chainmaker.org
- node_addr: 192.168.11.197:30094
conn_cnt: 10
enable_tls: true
trust_root_paths:
- /data/crypto-config/wx-org3.chainmaker.org/ca
tls_host_name: chainmaker.org
- node_addr: 192.168.11.197:30095
conn_cnt: 10
enable_tls: true
trust_root_paths:
- /data/crypto-config/wx-org4.chainmaker.org/ca
tls_host_name: chainmaker.org
archive:
type: mysql
dest: root:123456:localhost:3306
secret_key: xxx
rpc_client:
max_receive_message_size: 100
pkcs11:
enabled: false
【相关日志文件】(如果有报错日志请贴图,或者上传附件)
chainmaker-go 的 log/system.log & bin/panic.log file *
SDK 的 sdk.log file
【系统信息】(请填写系统信息,方便定位问题)
- chainmaker-java version * : [v2.3.3]
- **OS & version * :[麒麟v10 arm架构]
- **docker镜像 version:[2.3.6]