Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/go/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google app engine GAE/Go://U ah/start返回401_Google App Engine_Go - Fatal编程技术网

Google app engine GAE/Go://U ah/start返回401

Google app engine GAE/Go://U ah/start返回401,google-app-engine,go,Google App Engine,Go,我们的GAE/Go应用程序返回401对/u ah/start的响应,如下所示 app.yaml就是这个 runtime: go api_version: go1 application: (out app) version: 777 threadsafe: true manual_scaling: instances: 1 handlers: - url: /_ah/.* script: _go_app - url: /.* script: _go_app login

我们的GAE/Go应用程序返回401对/u ah/start的响应,如下所示

app.yaml就是这个

runtime: go
api_version: go1
application: (out app)
version: 777
threadsafe: true
manual_scaling:
  instances: 1  

handlers:

- url: /_ah/.*
  script: _go_app

- url: /.*
  script: _go_app
  login: required
  secure: always
为什么我们会有这个错误?我怎样才能解决这个问题?
我们知道删除
manual\u scaling
可以修复此错误,但我们希望限制实例的数量。

您不能自己调用/\u ah/start。应用程序引擎子系统调用它,这就是您收到
401
未经授权错误的原因。@RayfenWindspear我知道GAE call/\u ah/start。我的问题是为什么我的应用程序返回401错误。