Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
AuthenticationException:com.go ogle.gdata.util.Authentication Exception: Error connecting with login URI
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Robert Metcalf  
View profile  
 More options Oct 31 2012, 12:28 pm
From: Robert Metcalf <rmetca...@googlemail.com>
Date: Wed, 31 Oct 2012 09:28:19 -0700 (PDT)
Local: Wed, Oct 31 2012 12:28 pm
Subject: AuthenticationException:com.google.gdata .util.AuthenticationException: Error connecting with login URI

Hi,
I am writing a Java application which can be run from a Desktop computer.
I want to log in to Picasa, look at photo album information and
download/upload/delete etc.
I have followed the documentation and I get the following error:
   AuthenticationException:com.google.gdata.util.AuthenticationException:
Error connecting with login URI
when trying to run this code:
        PicasawebService service = new
PicasawebService("gdata-PhotosPartialDemo");
        accountManager am = getGlobals().getAccountManager();

service.setUserCredentials(am.getUserName(m_AccountID).toString(),
am.getPassword(m_AccountID).toString(),ClientLoginAccountType.HOSTED_OR_GOO GLE);
I have:
  - Tested acocuntManager to prove that
am.getUserName(m_AccountID).toString() and
am.getPassword(m_AccountID).toString() produce correct values for username
and password
  - Tried every combination of ClientLoginAccountType.HOSTED_OR_GOOGLE
  - Added the cert from https://www.google.com/accounts/AuthSubRequest to
my keystore (
http://prasanta-paul.blogspot.co.uk/2010/11/certificate-exception-in-...
)

I always get the same error. Does anyone know how I can debug this further?
What URI is it getting an error with?
Can I try and call the http connection myself?

Thanks
Robert


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Metcalf  
View profile  
 More options Nov 1 2012, 12:15 pm
From: Robert Metcalf <rmetca...@googlemail.com>
Date: Thu, 1 Nov 2012 09:15:24 -0700 (PDT)
Local: Thurs, Nov 1 2012 12:15 pm
Subject: Re: AuthenticationException:com.google.gdata .util.AuthenticationException: Error connecting with login URI

Hi,
I found the error.
About a year ago I played about with my JDeveloper Keystore and must have
broken it. The same code works on a fresh JDeveloper instalisation
Robert


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Erickson  
View profile  
 More options Nov 1 2012, 12:25 pm
From: Michael Erickson <miketheg...@google.com>
Date: Thu, 1 Nov 2012 09:25:16 -0700
Local: Thurs, Nov 1 2012 12:25 pm
Subject: Re: [PWA API] Re: AuthenticationException:com.google.gdata .util.AuthenticationException: Error connecting with login URI

That's great! Thanks for following up. I tried to reproduce the bug, but I
wasn't able to.

Thanks,
Mike
On Nov 1, 2012 9:23 AM, "Robert Metcalf" <rmetca...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions