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
  • #20

Closed
Open
Opened Mar 21, 2022 by Tao Siwen@tsw1998

【问题反馈】部署chainmaker-tee环境时运行网关程序报错

根据https://docs.chainmaker.org.cn/tech/%E9%9A%90%E7%A7%81%E8%AE%A1%E7%AE%97%E6%96%B9%E6%A1%88.html部署chainmaker-tee环境,在13.3.1.4首次运行网关程序./gateway start时候报错“get cert hash failed, get cert hash failed, send QUERY_CONTRACT failed, all client connections are busy”

整体日志如下: 2022-03-21 15:33:27.945 [DEBUG] [SDK] v2@v2.0.0/sdk_cert_manage.go:22 [SDK] begin to get chain config 2022-03-21 15:33:37.954 [ERROR] [SDK] v2@v2.0.0/sdk_client.go:135 [SDK] call [0-192.168.12.192:22301-consensus1.tls.wx-org1.chainmaker.org] meet network error, try to connect another node if has, rpc error: code = DeadlineExceeded desc = context deadline exceeded chainmaker.org/chainmaker/sdk-go/v2.(*ChainClient).proposalRequestWithTimeout /root/go/pkg/mod/chainmaker.org/chainmaker/sdk-go/v2@v2.0.0/sdk_client.go:135 chainmaker.org/chainmaker/sdk-go/v2.(*ChainClient).proposalRequest /root/go/pkg/mod/chainmaker.org/chainmaker/sdk-go/v2@v2.0.0/sdk_client.go:124 chainmaker.org/chainmaker/sdk-go/v2.(*ChainClient).GetChainConfig /root/go/pkg/mod/chainmaker.org/chainmaker/sdk-go/v2@v2.0.0/sdk_chain_config.go:34 chainmaker.org/chainmaker/sdk-go/v2.(*ChainClient).GetCertHash /root/go/pkg/mod/chainmaker.org/chainmaker/sdk-go/v2@v2.0.0/sdk_cert_manage.go:22 chainmaker.org/chainmaker/sdk-go/v2.(*ChainClient).EnableCertHash /root/go/pkg/mod/chainmaker.org/chainmaker/sdk-go/v2@v2.0.0/sdk_client.go:254 gateway/cmclient.InitCmClient /root/chainmaker-tee/gateway/cmclient/cmclient.go:45 gateway/cmd.PreServer /root/chainmaker-tee/gateway/cmd/server.go:71 main.main /root/chainmaker-tee/gateway/main.go:42 runtime.main /usr/local/go/src/runtime/proc.go:255 2022-03-21 15:33:40.957 [ERROR] [SDK] cmclient/cmclient.go:45 [SDK] get cert hash failed, get cert hash failed, send QUERY_CONTRACT failed, all client connections are busy gateway/cmclient.InitCmClient /root/chainmaker-tee/gateway/cmclient/cmclient.go:45 gateway/cmd.PreServer /root/chainmaker-tee/gateway/cmd/server.go:71 main.main /root/chainmaker-tee/gateway/main.go:42 runtime.main /usr/local/go/src/runtime/proc.go:255 2022-03-21 15:35:04.180 [DEBUG] [SDK] v2@v2.0.0/sdk_cert_manage.go:22 [SDK] begin to get chain config 2022-03-21 15:35:14.190 [ERROR] [SDK] v2@v2.0.0/sdk_client.go:135 [SDK] call [0-192.168.12.192:22301-consensus1.tls.wx-org1.chainmaker.org] meet network error, try to connect another node if has, rpc error: code = DeadlineExceeded desc = context deadline exceeded chainmaker.org/chainmaker/sdk-go/v2.(*ChainClient).proposalRequestWithTimeout /root/go/pkg/mod/chainmaker.org/chainmaker/sdk-go/v2@v2.0.0/sdk_client.go:135 chainmaker.org/chainmaker/sdk-go/v2.(*ChainClient).proposalRequest /root/go/pkg/mod/chainmaker.org/chainmaker/sdk-go/v2@v2.0.0/sdk_client.go:124 chainmaker.org/chainmaker/sdk-go/v2.(*ChainClient).GetChainConfig /root/go/pkg/mod/chainmaker.org/chainmaker/sdk-go/v2@v2.0.0/sdk_chain_config.go:34 chainmaker.org/chainmaker/sdk-go/v2.(*ChainClient).GetCertHash /root/go/pkg/mod/chainmaker.org/chainmaker/sdk-go/v2@v2.0.0/sdk_cert_manage.go:22 chainmaker.org/chainmaker/sdk-go/v2.(*ChainClient).EnableCertHash /root/go/pkg/mod/chainmaker.org/chainmaker/sdk-go/v2@v2.0.0/sdk_client.go:254 gateway/cmclient.InitCmClient /root/chainmaker-tee/gateway/cmclient/cmclient.go:45 gateway/cmd.PreServer /root/chainmaker-tee/gateway/cmd/server.go:71 main.main /root/chainmaker-tee/gateway/main.go:42 runtime.main /usr/local/go/src/runtime/proc.go:255 2022-03-21 15:35:17.192 [ERROR] [SDK] cmclient/cmclient.go:45 [SDK] get cert hash failed, get cert hash failed, send QUERY_CONTRACT failed, all client connections are busy gateway/cmclient.InitCmClient /root/chainmaker-tee/gateway/cmclient/cmclient.go:45 gateway/cmd.PreServer /root/chainmaker-tee/gateway/cmd/server.go:71 main.main /root/chainmaker-tee/gateway/main.go:42 runtime.main /usr/local/go/src/runtime/proc.go:255

Edited Mar 28, 2022 by Tao Siwen
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#20

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