After restarting Tomcat, the problem went away. So I don't know if it was the combination of network changes + restart or just the restart. In any case, it is all resolved now.
Prashant - thanks for your responses - it was encouraging to have someone out there! RB On Apr 9, 11:05 am, Richard Berger <[email protected]> wrote: > The hosting provider has replied with: > > "We have now checked the issue and was able to connect to the Google > apps IP at 74.125.47.118o on port 443 without any issues. However we > have now whitelisted it on the firewall and restarted it. Please try > connecting now from your end to the server." > > I restarted my web app, but get the same result: > com.google.gdata.util.AuthenticationException: Error connecting with > login URI > at > com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthToken > Factory.java: > 479) > at > com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAut > hTokenFactory.java: > 336) > at > com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java : > 362) > at > com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java : > 317) > at > com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java : > 301) > at > sample.appsforyourdomain.AppsForYourDomainClient.<init>(AppsForYourDomainCl > ient.java: > 110) > at > bfd.struts.GenerateMaillistsAction.<clinit>(GenerateMaillistsAction.java: > 54) > > Caused by: > Caused by: java.net.ConnectException: Connection timed out > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) > > And the code at GenerateMaillistsAction.java:54 is: > client = new AppsForYourDomainClient(adminEmail, adminPassword, > domain); > > Thanks for any pointers! > RB > > On Apr 8, 4:10 pm, Richard Berger <[email protected]> wrote: > > > > > > > > > I don't think my host vendor is a Google Apps customer, but our domain > > is an Education Google Apps customer (bayfarmschoolpta.org) and the > > code used to work all through 2010 (without any changes being made as > > the app is stable). > > > In reviewing the document you referenced, it seems that if I just > > enter:https://apps-apis.google.com/a/feeds/bayfarmschoolpta.org/user/2.0/ > > > into my browser, I will get a 401 error (since I am not > > authenticated), but at least I am getting to the right place. I will > > send them that url so that can test and see if they get a different > > error, which would indicate that they can't even access that url. > > > The goal being to figure out what they changed that is preventing the > > AppsForYourDomainClient from connecting. > > > I will report back the results.... > > > Thanks, > > RB > > > On Apr 8, 7:02 am, Prashant Tiwari <[email protected]> wrote: > > > > Richard, > > > > The Provisioning API is available only to Premier and Edu Google Apps > > > customers. Assuming they are one, you can point them > > > here<http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_...> > > > . > > > > Prashant Tiwari | Google Developer Relations <http://code.google.com> -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" 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-apps-mgmt-apis?hl=en.
