fabric网络交互中出现 chaincode install failed with status: 500 错误

执行peer lifecycle chaincode package fabcar.tar.gz --path …/chaincode/fabcar/go/ --lang golang --label fabcar_1
出现这种错误
Error: chaincode install failed with status: 500 - failed to invoke backing implementation of ‘InstallChaincode’: could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "go: github.com/hyperledger/[email protected]: Get “https://proxy.golang.org/github.com/hyperledger/fabric-contract-api-go/@v/v1.1.0.mod”: dial tcp: lookup proxy.golang.org on 192.168.252.2:53: read udp 172.17.0.2:38172->192.168.252.2:53: i/o timeout
go: downloading github.com/hyperledger/fabric-contract-api-go v1.1.0
go: github.com/hyperledger/[email protected]: Get “https://proxy.golang.org/github.com/hyperledger/fabric-contract-api-go/@v/v1.1.0.mod”: dial tcp: lookup proxy.golang.org on 192.168.252.2:53: read udp 172.17.0.2:38172->192.168.252.2:53: i/o timeo

猜你喜欢

转载自blog.csdn.net/weixin_42375493/article/details/125208814