无法使用Eclipse插件部署应用引擎应用

时间:2016-05-24 07:43:43

标签: google-app-engine google-cloud-platform

我的用户有" App Engine Deployer" &安培; " App Engine Admin"允许。当我尝试使用Eclipse部署应用程序时,出现以下错误 -

com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/datastore/index/add?app_id=xxxxxxxxxx&version=9&
403 Forbidden
You do not have permission to modify this app (app_id=u's~xxxxxxxxxx').

虽然当我检查云控制面板时,我看到该应用已部署。为什么会出现这个错误?

以下是完整的部署控制台详细信息:

Preparing to deploy:
Created staging directory at: 'C:\Users\punit\AppData\Local\Temp\appcfg2201895061249198461.tmp'
Scanning for jsp files.
Compiling jsp files.
Scanning files on local disk.
Initiating update.
Cloning 3 static files.
Cloning 29 application files.

Deploying:
Uploading 0 files.
Initializing precompilation...
Deploying new version.
Closing update: new version is ready to start serving.
Uploading index definitions.
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/datastore/index/add?app_id=xxxxxxxxxx&version=9&

403禁止     您无权修改此应用(app_id = u' s~xxxxxxxxxx')。

这是日志中的stacktrace:

Unable to update:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/datastore/index/add?app_id=xxxxxxxxxx&version=9&

403禁止     您无权修改此应用(app_id = u' s~xxxxxxxxxx')。

at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:336)
at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:287)
at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:266)
at com.google.appengine.tools.admin.NoLoggingClientDeploySender.send(NoLoggingClientDeploySender.java:35)
at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:1168)
at com.google.appengine.tools.admin.AppVersionUpload.updateIndexes(AppVersionUpload.java:534)
at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:205)
at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:572)
at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:58)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433)
at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:158)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

1 个答案:

答案 0 :(得分:0)

我有完全相同的错误,无论我是从Eclipse,从命令行mvn appengine:update还是appcfg.sh update尝试的。情况是无法更新

  • 数据存储索引
  • 任务队列
  • Cron jobs
  

403 Forbidden您无权修改此应用   (APP_ID = U是〜XXXXXXXXXX')。

实现完整部署的唯一方法似乎是授予用户项目所有者权限(可能项目编辑已经足够,我没有测试过)至少是暂时的。

相关问题