go – How can deploy with gclouad app engine there are golang missing package-ThrowExceptions

Exception or error: trying to deploy with gcloud app engine service but got Error type: BuildError.. locally app is building and started without an error. missing package are describe in the code example. my GOPATH is export GOPATH=/Users/xxx/Documents/projects/go-workspace. project folder is /Users/xxx/Documents/projects/go-workspace/my_project Updating service [default]…failed. ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build 28d0b69a-4c0a-426b-bc25-d39649de557e status: FAILURE. …

Context value changed when passed out of main.go on Google App Engine-ThrowExceptions

Exception or error: There’s a problem where I don’t know why a context.Context was changed once I pass it to a different package on Google App Engine. The following code works fine when running on App Engine: package main import ( “net/http” “log” “google.golang.org/appengine” ) func main() { http.HandleFunc(“/”, myHandler) appengine.Main() } func myHandler(w http.ResponseWriter, …

google app engine – GAE Go 1.11 instance startup issues when migrating from flex to standard-ThrowExceptions

Exception or error: I am in the process of migrating a simple app using the Go 1.11 runtime from the AppEngine flex environment to the standard environment because flex got shockingly expensive for my low-traffic site (and standard wasn’t available for this runtime until recently). Every time GAE hits the /_ah/start endpoint for my app …

go – Google App Engine integration with Telegram-ThrowExceptions

Exception or error: I try to use go-telegram-api with GAE but still with no success. When I deploy code to GAE should I use my webapp adress in the following code? I tried but seems somethis goes wrong… bot, err := tgbotapi.NewBotAPI(“awesometokenhere”) bot.Debug = true log.Printf(“Authorized on account %s”, bot.Self.UserName) _, err = bot.SetWebhook(tgbotapi.NewWebhookWithCert(“https://www.google.com:8443/”+bot.Token, “cert.pem”)) …

google app engine – Go1.12 2nd Gen AppEngine Standard cannot make any request to external resource-ThrowExceptions

Exception or error: I’ve encountered a very strange issue regarding AppEngine behavior. We are currently migrating from 1.9 version to 1.12 as 1.9 is going to be obsolete after 1st of October. All went smooth, all APIs migrated, etc., etc. Tested on staging environment (a separate GC Project for several days). After going to production, …