My application contains the code:
client = new AppsForYourDomainClient(adminEmail, adminPassword,
domain);
I have deployed it to a Tomcat server on hostjava.net, where it has
worked for many months. But sometime between Dec 23rd and Jan 12th,
it stopped working.
When I run the same code (part of a web application) on my local
Tomcat server, everything works fine. But, on the hostjava.net
server, I get (partial stack traces):
com.google.gdata.util.AuthenticationException: Error connecting with
login URI
at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:
479)
at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.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>(AppsForYourDomainClient.java:
110)
at
bfd.struts.GenerateMaillistsAction.<clinit>(GenerateMaillistsAction.java:
54)
Due to...
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333
I was thinking that if it was related to my google account (name,
password, etc.) it would fail when running on my local Tomcat server.
Since the code works fine, my best guess is that the hostjava.net
folks are blocking the necessary communication with the Google API.
Does anyone know what ports need to be open on the firewall for the
AppsForYourDomainClient call to succeed. Some searching indicates
port 443 and I have asked them to check on that port.
Thanks much in advance for any help on this mystery!
RB
--
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.