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. …
Tag: google-app-engineexception
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 – deploying simple golang app to appengine has stopped working-ThrowExceptions
Exception or error: I have created a small test app in golang and am trying to deploy it to Google AppEngine and although the “gcloud app deploy” command seems to work and reports no errors, when I visit the endpoint -> https://XXX.appspot.com/cards it just sits there and eventually gives me a 500 response, and displays …
go – Deploying to Google App engine flexible for go1.12 fails-ThrowExceptions
Exception or error: I have a service that looks somewhat like this – service | |__cmd | |_main.go | |_ app.yaml |_ cloudbuild.yaml |_ service.go |_ someHelper.go I have a few private packages that I include in go.mod and after a lengthy build process I have an image that can be deployed to GAE. However, …
How to allow App Engine to authenticate and download private Go modules-ThrowExceptions
Exception or error: My project uses Go modules hosted in private GitHub repositories. Those are listed in my go.mod file, among the public ones. On my local computer, I have no issue authenticating to the private repositories, by using the proper SSH key or API token in the project’s local git configuration file. The project …
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 …
google app engine – Telegram bot stops serving after small peroid of time-ThrowExceptions
Exception or error: I uploaded a simple telegram bot to google-aplication-engine. And after uploading it works as expected some time. Then it stoped respond to request from telegram. The bot is very simple func main() { bot, err := tba.NewBotAPI(“apitockenhere”) … for { select { case update := <-uchan: … } } If I open …
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, …