4

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

  • I had opened multiple google accounts. So, I did close all and deployed it again. It did deploy. It was my mistake. – Sasi Marian Mar 10 '16 at 04:04
  • Hi I am getting this exact error today and it is a little frustrating! Did you have to clear any cache or logout? – osbt Apr 13 '16 at 18:00
  • logout? yes and then login to only one google account that has your gae account. – Sasi Marian Apr 18 '16 at 03:11
  • Fyi, for me it had nothing to do with being logged in to multiple Google accounts at once. Problem was that I was using AppEngine Java SDK 1.9.2 (which uses deprecated ClientLogin). **I updated to 1.9.38 and deployment worked again.** – Holger Jun 14 '16 at 06:41

3 Answers3

4

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

ttimmons
  • 91
  • 2
  • 8
0

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

0
  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.
Chunhui Zhang
  • 133
  • 2
  • 7