4 messages in com.googlegroups.bloggerdevRe: [bloggerDev] AuthenticationExcept...| From | Sent On | Attachments |
|---|---|---|
| Manish Pandit | 13 Sep 2006 02:07 | |
| Pete Hopkins ☠ | 13 Sep 2006 10:07 | |
| Manish Pandit | 13 Sep 2006 13:15 | |
| Pete Hopkins ☠ | 13 Sep 2006 16:45 |
| Subject: | Re: [bloggerDev] AuthenticationException : Error Connecting with Login URI![]() |
|---|---|
| From: | Pete Hopkins ☠ (phop...@google.com) |
| Date: | 09/13/2006 10:07:48 AM |
| List: | com.googlegroups.bloggerdev |
The authentication URL is:
https://www.google.com/accounts/ClientLogin
More info here: http://code.google.com/apis/accounts/AuthForInstalledApps.html
See if any of that helps you diagnose.
-- Pete
On 9/13/06, Manish Pandit <pand...@gmail.com> wrote:
My little test program was working fine, connecting to www.blogger.com/feeds/default/blogs as the metafeed. However, today it started to fail all of a sudden on setUserCredentials -
18:GoogleService myService = new GoogleService("blogger","My Test Application"); 19:myService.setUserCredentials("someUser", "somePass");
Here is the exception trace:
com.google.gdata.util.AuthenticationException: Error connecting with login URI at com.google.gdata.client.GoogleService.getAuthToken(Unknown Source) at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source) at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source) at my.test.blogger.BloggerInterface.getBlogsForUser(BloggerInterface.java:19)
Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source) at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
I tried to access both the above metafeed URL as well as the www.blogger.com/atom from my browser, both worked fine. Accessing the auth via the SDK fails. From the trace its clear that the auth server is down - but this doesnt explain why it works from the browser. Is the SDK using some other auth server? Maybe I am getting way too confused!
-cheers, Manish




