artiya4u / google-http-java-client

Automatically exported from code.google.com/p/google-http-java-client
0 stars 0 forks source link

Wrong exception message #247

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-http-java-client (e.g. 1.15.0-rc)?
1.17.0-rc

Java environment (e.g. Java 6, Android 2.3, App Engine)?
Android 4.0.3

Describe the problem.
I have exception message:
com.google.api.client.http.HttpResponseException: 503 Service Unavailable
        <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
        <html><head>
        <meta http-equiv="Content-Type" CONTENT="text/html; charset=utf-8">
        <title>ERROR: The requested URL could not be retrieved</title>
        <style type="text/css"><!--
        /*
        Stylesheet for Squid Error pages
....
<!-- ERR_CONNECT_FAIL -->
        </div>
        </body></html>
        at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1054)
...

How would you expect it to be fixed?
Exception message
com.google.api.client.http.HttpResponseException: 503 Service Unavailable
Without html page

Thanks.

Original issue reported on code.google.com by omi...@gmail.com on 19 Sep 2013 at 12:05