Hi, here
I download google-cloud-sdk and setup to access my cloud storage through proxy. According to some experience from internet. it's work fine when I use below command.
http_proxy=[proxyserver] gsuilt ls
And I try the example from office site:
http_proxy=[proxyserver] go run example.go
it still work fine
but, I get some error If I use those code in a app engine developing server that run in my local computer. and My example code as bellow
func init(){
http.HandleFunc("/",hello)
}
func hello(w http.ResponseWriter,r *http.Request){
ctx := appengine.NewContext(r)
client, err:=storage.NewClient(ctx)
bucket := client.Bucket(bucketName)
// do some stuff of read/write storage
}
developing server run as command
http_proxy=[proxyserver] goapp serve myapp
error message as bellow
Actually, those code is work fine when I deploy it on google app engine.
so I guess the reason is developing app engine server doesn't use proxy when running, How can I solve it?
Thanks in Advance
L.X.