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" <[email protected]> wrote:

> 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
>
>
> On Wednesday, 31 October 2012 16:28:19 UTC, Robert Metcalf wrote:
>
>> 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_GOOGLE);
>> 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<https://www.google.com/accounts/AuthSubRequest>to
>>  my keystore (
>> http://prasanta-paul.**blogspot.co.uk/2010/11/**certificate-exception-in-
>> **google-data_04.html<http://prasanta-paul.blogspot.co.uk/2010/11/certificate-exception-in-google-data_04.html>
>> )
>>
>> 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 received this message because you are subscribed to the Google Groups
> "Google Picasa Web Albums API" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-picasa-data-api/-/u7r_zP0Y4RIJ.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-picasa-data-api?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to