i/o timeout when I run ./minifab up
knight-hjh opened this issue · comments
I have install the go
The docker images are:
I also use the following commands to change the proxy:
go env -w GOPROXY=https://goproxy.io,direct
go env -w GO111MODULE=on
Maybe this is a simple question :(
If you are in an area which google sites are blocked, you need to point your system into an alternative site for your go dependency to be satisfied. Use a correct proxy endpoint as you have already indicated to try, you can actually try the proxy without using minifabric to see if your env can compile go programs.
Setup as env won't work for minifabric, you need to specify it in a custom spec.yaml file. Please reference the spec.yaml file and docs.
you mean insert a statement into spec.yaml like: export GOPROXY = goproxy: "https://goproxy.cn,direct" ??
I have checked the go env. it looks like that
but it still doesn't work out
You need to make a copy of the default spec.yaml file and make changes (please look at an example in the comment of that file), then place that file in the directory where you will be running minifab command, that way it will work.
I get it. Before, I run minifab directly, so it used the default spec.yaml file. But there are no settings about proxy and endpoint_address in the file. After I configured the proxy, the endpoint_address was set to my server IP address.it will be able to run successfully. Thank you very much. :)