Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #1503

Closed
Open
Opened Oct 28, 2025 by 18600821869@186008218691 of 19 tasks completed1/19 tasks

长安链多机部署FCC工具增加同步节点报错

【问题分类】

  • bug
  • P2P网络相关(包含libp2p,liquid)
  • 链账户身份与权限相关(证书问题、public、多签投票问题)
  • 核心交易引擎相关(交易池、DAG)
  • 共识相关
  • 智能合约相关
  • 存储相关
  • SDK相关
  • 长安链CMC工具
  • 长安链管理台
  • 长安链浏览器
  • 长安链合约IDE
  • 长安链web签名插件
  • 跨链相关
  • 轻节点相关
  • 隐私计算相关
  • 密码学相关
  • 环境依赖
  • 其他补充:

【问题描述】(请对问题进行描述,方便定位问题)

长安链多机部署4个节点,用FCC工具增加新的同步节点,执行命令: ./fcc client chainconfig trustroot add
--sdk-conf-path=./sdk_config.yml
--admin-crt-file-paths=./crypto-config/org1/user/user1/user1.sign.crt
--admin-key-file-paths=./crypto-config/org1/user/user1/user1.sign.key
--trust-root-org-id=org5
--trust-root-path=./crypto-config/org5/ca/ca.crt
--sync-result=true 报错信息如下: Error: get cert hash failed, get cert hash failed, send QUERY_CONTRACT failed, grpc connections unavailable, check sdk log file for more details Usage: fcc client chainconfig trustroot add [flags] sdk_config.yml的文件内容: chain_client: chain_id: jdxk_chain org_id: org1 user_key_file_path: ./crypto-config/org1/user/user1/user1.tls.key user_crt_file_path: ./crypto-config/org1/user/user1/user1.tls.crt user_sign_key_file_path: ./crypto-config/org1/user/user1/user1.sign.key user_sign_crt_file_path: ./crypto-config/org1/user/user1/user1.sign.crt retry_limit: 10 retry_interval: 500 nodes:

  • node_addr: 10.1.3.50:12301 conn_cnt: 10 enable_tls: true trust_root_paths:
    • ./crypto-config/org1/ca tls_host_name: FinChain.cn archive: type: mysql dest: root:123456:localhost:3306 secret_key: xxx rpc_client: max_receive_message_size: 100 max_send_message_size: 100 pkcs11: enabled: false type: "" library: /usr/local/lib64/pkcs11/libupkcs11.so label: HSM password: "11111111" session_cache_size: 10 hash: SHA256 这个是sdk_config.yml文件的内容,有四个节点IP分别是10.1.3.50、10.1.3.51、10.1.3.52、10.1.3.53,请帮忙指导,谢谢。

【相关日志文件】(如果有报错日志请贴图,或者上传附件)

chainmaker-go 的 log/system.log & bin/panic.log file *

SDK 的 sdk.log file

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#1503

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。