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

Closed
Open
Opened May 11, 2023 by Yuhao Liang@Yoruuuko

使用golang进行智能合约编写编译过程失败

按照官方文档https://docs.chainmaker.org.cn/v2.3.0/html/instructions/%E4%BD%BF%E7%94%A8Golang%E8%BF%9B%E8%A1%8C%E6%99%BA%E8%83%BD%E5%90%88%E7%BA%A6%E5%BC%80%E5%8F%91.html#id12:

编写了build.sh以及main.go,进行编译的时候出现i/o timeout错误;但机子网是正常通的,可访问外网;

$ sudo bash ./build.sh vnc
go: downloading chainmaker.org/chainmaker/contract-sdk-go/v2 v2.3.2
main.go:16:2: chainmaker.org/chainmaker/contract-sdk-go/v2@v2.3.2: Get "https://proxy.golang.org/chainmaker.org/chainmaker/contract-sdk-go/v2/@v/v2.3.2.zip": dial tcp 172.217.160.81:443: i/o timeout
main.go:17:2: chainmaker.org/chainmaker/contract-sdk-go/v2@v2.3.2: Get "https://proxy.golang.org/chainmaker.org/chainmaker/contract-sdk-go/v2/@v/v2.3.2.zip": dial tcp 172.217.160.81:443: i/o timeout
main.go:18:2: chainmaker.org/chainmaker/contract-sdk-go/v2@v2.3.2: Get "https://proxy.golang.org/chainmaker.org/chainmaker/contract-sdk-go/v2/@v/v2.3.2.zip": dial tcp 172.217.160.81:443: i/o timeout
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#682

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