You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/09/23 03:51:12 UTC

[GitHub] [apisix-dashboard] nic-chen commented on issue #500: Failed to compile dashboard

nic-chen commented on issue #500:
URL: https://github.com/apache/apisix-dashboard/issues/500#issuecomment-697117973


   > Hi I disabled the GoProxy. but got the same error. so it is for something else. I am behind a company proxy and I do have http_proxy and https_proxy set up in the system since I was able to do: "go get github.com/something" to download with no issue. no sure why this "dial tcp..." failed... Thank you.
   > 
   > ```
   > 
   > go: github.com/api7/apitest@v1.4.9: Get https://proxy.golang.org/github.com/api7/apitest/@v/v1.4.9.mod: dial tcp 172.217.4.49:443: connect: network is unreachable
   > ERROR: Service 'manager' failed to build: The command '/bin/sh -c mkdir /go/manager-api     && go build -o /go/manager-api/manager-api     && mv /go/src/github.com/apisix/manager-api/build.sh /go/manager-api/     && mv /go/src/github.com/apisix/manager-api/conf/conf_preview.json /go/manager-api/conf.json     && rm -rf /go/src/github.com/apisix/manager-api     && rm -rf /etc/localtime     && ln -s  /usr/share/zoneinfo/Hongkong /etc/localtime     && dpkg-reconfigure -f noninteractive tzdata' returned a non-zero code: 1
   > ```
   
   It works fine on my machine. I think it's a network issue. you could set `https://goproxy.cn` as `GOPROXY` (in https://github.com/apache/apisix-dashboard/blob/master/api/Dockerfile#L23-L24) and try again.
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org