GAE: Unable to update app: Bad authentication response: 404 Not Found [closed]

为君一笑 提交于 2019-12-19 03:32:32

问题


Unable to deploy to GAE (java) today. I was able to deploy until yesterday evening. Anyone else has the same problem? how did you solve?

09-Mar-2016 11:15:04
java.lang.RuntimeException: Bad authentication response: 404 Not Found

09-Mar-2016 11:15:04
Unable to update app: Bad authentication response: 404 Not Found

thanks


回答1:


I was having this same issue. As it turns out the authentication method (ClientLogin) I was using to deploy to appengine was deprecated (I was deploying using mvn gae:deploy). Google now wants us to use their new OAuth 2.0 authentication for deploying to appengine: https://cloud.google.com/appengine/docs/deprecations/clientlogin

To fix this issue I had to update my appengine maven plugin to use the latest version so I could deploy.

I added this to my pom.xml:

<plugin>
   <groupId>com.google.appengine</groupId>
   <artifactId>appengine-maven-plugin</artifactId>
   <version>1.9.34</version>
</plugin>

Then I used this command to deploy (instead of mvn gae:deploy):

mvn appengine:update

For more info you can check out this info on how to deploy to appengine: https://cloud.google.com/appengine/docs/java/gettingstarted/uploading




回答2:


I had opened multiple google accounts. So, I did close all and deployed it again. It did deploy. It was my mistake.




回答3:


  1. Install Google Plugin for Eclipse.
  2. Open your project in eclipse. Once you install the plugin successed, you will see a new button of "G" on eclipse buttons bar.
  3. Click the "G" button and then click "Deploy to App Engine".
  4. Done.


来源:https://stackoverflow.com/questions/35897186/gae-unable-to-update-app-bad-authentication-response-404-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!