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 23
    • Issues 23
    • 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
  • #455

Closed
Open
Opened Dec 02, 2022 by camille zhang@CamilleZxt1 of 19 tasks completed1/19 tasks

ask for help:跨链配置chainmaker_sdk.yml中TLS问题

【问题分类】

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

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

chainmaker web管理平台上配置了两条单节点链,然后配置跨链,启动跨链代理时,出现问题: [ERROR] [PROVER] chainmaker-sdk-go/conn_pool.go:132 init grpc connection [nodeAddr:0-192.168.2.85:10001-chainmaker.org] failed, trust certs dir is empty! ...... [ERROR] [PROVER] chainmaker-sdk-go/sdk_client.go:132 [SDK] get cert hash failed, get cert hash failed, send QUERY_SYSTEM_CONTRACT failed, all client connections are busy panic: create spv-prover failed, get cert hash failed, get cert hash failed, send QUERY_SYSTEM_CONTRACT failed, all client connections are busy

具体的现象,操作步骤,前置条件等,尽可能描述清楚,有截图说明更佳

应该是TLS配置错误了,这里的tls_host_name是什么?下图是我根据长安链A这条链进行修改的chainmakerA_sdk.yml中配置情况。 image

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

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

SDK 的 sdk.log file image

【系统信息】(请填写系统信息,方便定位问题)

  • chainmaker-go version * : [v2.1.0]
  • OS & version * :
  • docker镜像 version:
  • 管理台 version:
    • 如果是管理台的相关问题,请附带管理台版本,如果不是可忽略。
  • 区块浏览器 version:
    • 如果是浏览器的相关问题,请附带浏览器版本,如果不是可忽略。
  • 合约IDE version:
    • 如果是合约IDE的相关问题,请附带合约IDE版本,如果不是可忽略。
  • web签名插件 version:
    • 如果是web签名插件的相关问题,请附带web签名插件版本,如果不是可忽略。
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#455

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