Questions tagged [google-app-engine-go]
59 questions
1
vote
0 answers
Step #0: exec: "gcc": executable file not found in $PATH
I keep running into this error when trying to deploy a very simple website to App Engine (this code without the Dockerfile, as specified in this tutorial).
I am running on macOS Monterey 12.2.1, go 1.18, fresh install of the Google Cloud SDK. I'm…

zsaylor
- 11
- 1
1
vote
2 answers
Why would an AppEngine deploy fail with a build failure?
I started working on an app and suddenly it fails to deploy to appengine, with the following error message:
siim@pebble:~/projects/xyz$ gcloud app deploy
Services to deploy:
descriptor: [/home/siim/projects/xyz/app.yaml]
source: …

siimphh
- 177
- 7
1
vote
2 answers
Is catch-all handler pointing to "auto" a bad idea?
My instance has little to no traffic but I have a min-idle instance set to 1. What I notice is that whenever there is a random url (via some bot) that doesn't exist is accessed, it is considered a dynamic request since my catch all handler is auto.…

Siva
- 1,096
- 7
- 20
1
vote
2 answers
Why the gcloud components update command always show restarting command
When I want to deploy my Go app to App Engine, I found that I have to install the app-engine-go. And it even said the installation is on a new window, no window popped…

謝Richard
- 11
- 2
1
vote
0 answers
App Engine go111 Beta routing/handler wildcard ignores order?
I just tried the GO 1.11 App Engine Beta and the router/handler seems to be different. I use RESTful-VueJS approach and I used the following handler config:
- url: /v1/.*
script: auto
redirect_http_response_code: 301
secure: always
- url:…

Tiega
- 387
- 4
- 16
1
vote
1 answer
Google cloud Appengine standard environment deployment using Admin API: "Cant find import" Error
I am trying to deploy a simple "hello world" application in Appengine standard - Go environment. There is one source file hello.go with one import "google.golang.org/appengine"
I followed the documentation here to use the Admin API for deployment.…

conundrum
- 95
- 2
- 8
1
vote
2 answers
Routing between App Engine Standard Environment and Flexible Environment projects in production
I have two App Engine projects in Go that comprise a single user-facing app. One project is a Standard Environment project and has the bulk of the functionality and also serves the React frontend static bundle. The second project is a Flexible…

jcarlile
- 23
- 3
1
vote
1 answer
app engine go deploy failed
It works well yesterday afternoon, but it does not work now.
I use goapp deploy MY_DIR/app.yaml to deploy, and this is the message of deploy
02:38 PM Host: appengine.google.com
02:38 PM Application: MY_APP; module: MY_MOD; version: MY_VER
02:38 PM…

Xin
- 153
- 2
- 15
1
vote
2 answers
App Engine Go: How to kill a running goroutine
I want to run 2 goroutines parallel in App Engine, so that when the first goroutine finish its job, the handler doesn't need to wait the second goroutine - it stops the secend goroutine and returns the result to the client. Is this possible? I tried…

Xin
- 153
- 2
- 15
1
vote
1 answer
Cannot deploy to Google App Engine due to bad import, not in my code
I am trying to deploy an application to Google AppEngine using the beta deploy command: gcloud beta app deploy app.yaml and I have even tried to add: --verbosity=info to get more information.
Nevertheless I keep getting this error:
Failed parsing…

Lars Nielsen
- 2,005
- 2
- 25
- 48
1
vote
0 answers
dev_appserver.py can not link Go files
I am trying to build my Go project for GAE and every once in a while running dev_appserver.py dev.yaml produces the following error
/Downloads/google-cloud-sdk/platform/google_appengine/goroot-1.8/pkg/tool/darwin_amd64/link:
…

Dberg
- 245
- 1
- 3
- 8
1
vote
1 answer
Why is GOPATH not recognized by google-cloud-sdk go-app-stager?
When I try to update my appengine project, it gives me an error.
$ sudo gcloud app deploy
ERROR: (gcloud.app.deploy) Staging command [/usr/local/google-cloud-sdk/platform/google_appengine/goroot-1.6/bin/go-app-stager /Users/baz/app/app.yaml…

rhi
- 303
- 2
- 9
1
vote
1 answer
Gikngo Tests hang during goapp tests
I'm trying to use Gikngo to write some tests for appengine.
My setup for the tests is as follows:
suite_test.go:
BeforeSuite() {
inst, err = aetest.NewInstance(options)
if err != nil {
Fail(fmt.Sprintf("%s", err))
}
}
var(
req…

Shaunak Godbole
- 121
- 1
- 4
1
vote
0 answers
Does Google App Engine allow importing external Github repository when using Go?
For example, if I created a web application with Go, am I able to import the following Git repository that is listed in my Go code below:
package main
import (
"fmt"
"github.com/tealeg/xlsx"
)
func main() {
…

Ayu
- 11
- 2
1
vote
1 answer
404 when Migrating Go AppEngine app from Ubuntu to macOS
I have an app using go-endpoints to set up a backend. When running locally in Ubuntu I can send requests to the backend and see the API explorer at localhost:8080/_ah/api/explorer. I tried moving the code to a new Macbook Pro running macOS Sierra…

Warren Essey
- 11
- 1