YeongCheon Kim
YeongCheon Kim

Reputation: 31

GAE background request error

i use golang(1.8) on GAE.

i tried background request and it failed.

error message is loot like this.

API error 2 (system: BACKEND_REQUIRED)

dev_appserver.py execute command is look like this. dev_appserver.py cmd/app.yaml --default_gcs_bucket_name bucketname --enable_watching_go_path=true

what should i do?

Upvotes: 1

Views: 82

Answers (1)

LundinCast
LundinCast

Reputation: 9810

As shown in the documentation for the app.yaml file, automatic scaling is assumed by default unless you specify otherwise. As per the doc you linked, background requests can run on manual or basic scaling instances only. You'll need to set it in your app.yaml file. For basic scaling for example:

basic_scaling:
  max_instances: 2
  idle_timeout: 5m

Upvotes: 2

Related Questions