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

Closed
Open
Opened Dec 05, 2022 by hans wu@hans

区块链服务运行一段时间后,上链报:合约调用错误

使用的版本: chainmaker-go:v2.2.1 chainmaker-cryptogen:v2.2.0 管理端:v2.2.0 浏览器:v2.1.0 算法:国密 服务器 OS & version:Ubuntu 20.04 LTS

问题现象: image

使用的合约: 长安链提供的存证合约 rust-fact-2.0.0.wasm,使用save方法进行的上链操作,save方法传入的参数值{file_hash:"51034128bfdeff7377f1874d1c109252", file_name:"test1670208213988.json", time:1670208213988}

管理端服务日志: {"log":"2022-12-05 02:44:33.808\u0009[ERROR]\u0009[WEB]\u0009contract_invoke/invoke.go:97\u0009Http request[/chainmaker?cmb=InvokeContract]'s error = [ErrorInvokeContract - 合约调用错误]\n","stream":"stdout","time":"2022-12-05T02:44:33.809522115Z"}

区块链服务节点日志 一共有5个服务节点,node1-node4在同一台机器上,node5在另外一台机器上

上链是请求的node1节点,日志如下 system.log.2022120510 brief.log.2022120510

node5节点日志如下,日志文件 system.log.2022120510-node5 node5节点日志中有截图红色框标出来的错误 企业微信截图_91912319-5562-4e6f-8d6a-4d49347f1a2c

注意:我的测试时间是在2022-12-05 10:44:33前后,有的日志文件标记的时间使用的utc,需要加8小时

Edited Dec 05, 2022 by hans wu
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#461

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