title: What is Apache-HttpClient/UNAVAILABLE error (Android, Google App Engine)?
body: <p>I am confronting myself with a problem that I do not know how to interpret. I am doing a project using Android and Google App Engine. When I am trying to save information in Google App Engine's Big Table, directly from the servlet (hardcoded) - the save is performed with no problem. But when I am trying to save data from my Android device, the save is not performed and the log indicates Apache-HttpClient/UNAVAILABLE error. To be more specific:</p>
  
  <pre><code>405 55ms 0kb Apache-HttpClient/UNAVAILABLE (java 1.4)
  82.155.246.249 - - [10/Jun/2013:05:20:59 -0700] "POST /servletnamehere HTTP/1.1"           405 306 - "Apache-HttpClient/UNAVAILABLE (java 1.4)" "appnamehere.appspot.com" ms=56 cpu_ms=21 cpm_usd=0.000034 app_engine_release=1.8.0 instance=00c61b117cede3f754aa1ece730dc88287a20199
  </code></pre>
  
  <p>I have seen that 405 HTTP error appears in the context of a POST method ( "405 errors often arise with the POST method. You may be trying to introduce some kind of input form on the Web site, but not all ISPs allow the POST method necessary to process the form." ) => indeed, I am trying to perform add (the object is a JPA Entity) in the database using a POST method. The data I am receiving from my Android device is serialized, through an input stream (in my case, working with JSON is not an option, these are the specifications).</p>
  
  <p>Also, 306 HTTP error reffers to switch proxy. While the porevious error might be a bit intuitive, this one is beyond my student knowledge. </p>
  
  <p>I have followed the instructions of this tutorial (<a href="http://trumpy.cs.elon.edu/joel/sigcse2011/" rel="nofollow">http://trumpy.cs.elon.edu/joel/sigcse2011/</a>), which is indeed what I need, but I really cannot figure out what I did wrong. I took again the procedure, stept by step, but I don't see the flaw.</p>
  
  <p>Any help will be indeed appreciated. If I should post some code, I'll gladly do it.</p>
  
  <p>Best wishes,
  Cropcircles</p>
  
  <p>LATER EDIT:</p>
  
  <p>Now I get 417 HTTP error expectation failed. I have seen that I am supposed to set a certain parameter on false, but this workaround was available only for .NET. Is there anyone who knows what's the correspondent of the following, in Java? I am really really confused.</p>
  
  <pre><code>     &lt;system.net&gt;
        &lt;settings&gt;
         &lt;servicePointManager expect100Continue="false" /&gt;
        &lt;/settings&gt;
       &lt;/system.net&gt;
  </code></pre>