Fabric网络部署问题以及解决
- 问题1:go: github.com/google/uuid@v1.1.1: Get https://proxy.golang.org/github.com/google/uuid/@v/v1.1.1.mod: dial tcp 142.251.42.241:443: i/o timeout
- 问题2:Error: got unexpected status: BAD_REQUEST -- error applying config update to existing channel 'test': error authorizing update: error validating ReadSet: proposed update requires that key [Group] /Channel/Application be at version 0, but it is currently at version 1
问题1:go: github.com/google/uuid@v1.1.1: Get https://proxy.golang.org/github.com/google/uuid/@v/v1.1.1.mod: dial tcp 142.251.42.241:443: i/o timeout
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
问题2:Error: got unexpected status: BAD_REQUEST – error applying config update to existing channel ‘test’: error authorizing update: error validating ReadSet: proposed update requires that key [Group] /Channel/Application be at version 0, but it is currently at version 1
#STOP AND DELETE THE DOCKER CONTAINERS
docker ps -aq | argues -n 1 docker stop
docker ps -aq | xargs -n 1 docker rm -v
#DELETE THE OLD DOCKER VOLUMES
docker volume prune
#DELETE OLD DOCKER NETWORKS (OPTIONAL: seems to restart fine without)
docker network prune
#DELETE SCRIPT-CREATED FILES
rm -rf channel-artifacts/.block channel-artifacts/.tx crypto-config
rm -f docker-compose-e2e.yaml
#VERIFY RESULTS
docker ps -a
docker volume ls
ls -l