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 21
    • Issues 21
    • 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
  • #1359

Closed
Open
Opened May 11, 2025 by suifeng@13994361530

使用go-sdk的authentication handshake failed问题

【问题分类】

  • [×] SDK相关

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

直接使用sdk-go-demo-v2.3.2,在管理台中“区块链管理/区块链概览”下载链配置,替代sdk-go-demo-v2.3.2中的配置文件后,发现报错:send QUERY_CONTRACT failed, grpc connections unavailable, see sdk log file for more details.日志如下(在管理台中可以正常使用该链,包括部署合约等等)。请问这可能是什么原因。

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

v2@v2.3.2/sdk_client.go:260 [SDK] call [0-×.×.×.×:×-chainmaker.org] meet network error, try to connect another node if has, rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: read tcp ×.×.×.×:×->×.×.×.×:×: wsarecv: An existing connection was forcibly closed by the remote host."

SDK 的 sdk.log file

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

sdk-go-demo-v2.3.2

Edited May 11, 2025 by suifeng
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#1359

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