Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

com.google.appengine.tools.admin.HttpIoException: Error posting to URL , 400 Bad Request

When click the netbeans project to Deploy to Google App Engine these are the messages shown on the Google App Deployment console :

May 28, 2012 4:22:06 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed /home/non-admin/NetBeansProjects/Guestbook/build/web/WEB-INF/appengine-web.xml
May 28, 2012 4:22:06 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed /home/non-admin/NetBeansProjects/Guestbook/build/web/WEB-INF/web.xml
Beginning server interaction for ...
Password for [email protected]: 
com.google.appengine.tools.admin.HttpIoException: Error posting to URL:  https://appengine.google.com/api/appversion/getresourcelimits?app_id=&version=1&
400 Bad Request
app_id GET query string parameter must be supplied.

Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=&version=1&
400 Bad Request
app_id GET query string parameter must be supplied.

Please see the logs [/tmp/appcfg5900452573644976629.log] for further information.

I don't know the reason why do i get this. Link for the /tmp/appcfg5900452573644976629.log

What could be the reason ? I have checked that application has interacted successfully with google. i.e email and passwords match

In case,

appengine-web.xml

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application></application>
<version>1</version>

<system-properties>
    <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
</system-properties>

<threadsafe>true</threadsafe>

</appengine-web-app>
like image 675
Suhail Gupta Avatar asked Aug 05 '26 22:08

Suhail Gupta


1 Answers

The <application></application> tag is empty.

How should AppEngine know where to put your application without that?

You have to insert an application ID in there that you previously registered on http://appengine.google.com.

like image 68
Philipp Reichart Avatar answered Aug 08 '26 10:08

Philipp Reichart



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!