Win2k8 AD Simulate Sync fails

Showing 1-3 of 3 messages
Win2k8 AD Simulate Sync fails jj-ak 4/10/12 7:09 PM
Domain Name: jsnell.org
Problem Description: Simulate Sync fails with and w/o clearing cache on LDAP with "Exception While Processing" - Google Service completed w/o errors
Steps to Reproduce: Press Simulate Sync button
 
Log contents:
[2012-04-10 06:23:15,770] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Version 3.0.6
[2012-04-10 06:23:15,770] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Starting simulation
[2012-04-10 06:23:15,785] [SwingWorker-pool-1-thread-4] [INFO] [usersyncapp.sync.PluginGroup] 1 plugin(s) do not support the OPTIONAL feature "SKIP_ORGUNITS"
[2012-04-10 06:23:17,657] [pool-3-thread-2] [ERROR] [plugin.google.LocalPasswordTimestampStore] Password timestamp cache file "passwordTimestampCache.tsv" not found, will be created.
[2012-04-10 06:23:17,829] [pool-3-thread-1] [FATAL] [page.general.AbstractSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.IllegalArgumentException: LDAP attribute must be specified for the key attribute ("Sync key") for shared contacts.
 at com.google.usersyncapp.plugin.ldap.PersonResultProcessor.<init>(PersonResultProcessor.java:107)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillPersons(LDAPPlugin.java:922)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillSharedContacts(LDAPPlugin.java:854)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFill(LDAPPlugin.java:399)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
[2012-04-10 06:23:18,780] [pool-3-thread-2] [INFO] [plugin.google.GooglePlugin] Skipping retrieval and processing of organizations.
[2012-04-10 06:23:18,999] [pool-3-thread-2] [ERROR] [plugin.google.GDataRetryPolicy] Retry attempts exhausted for Retrieving Users from https://apps-apis.google.com/a/feeds/user/2.0/jsnell.org/, with attempt # 0
[2012-04-10 06:23:18,999] [pool-3-thread-2] [ERROR] [plugin.google.GDataRetryPolicy] Last encountered exception: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
[2012-04-10 06:23:18,999] [pool-3-thread-2] [FATAL] [page.general.AbstractSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.RuntimeException: java.lang.RuntimeException: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:299)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:333)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:291)
 ... 7 more
Caused by: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:597)
 at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563)
 at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:552)
 at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530)
 at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535)
 at com.google.gdata.client.Service.getFeed(Service.java:1135)
 at com.google.gdata.client.Service.getFeed(Service.java:998)
 at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631)
 at com.google.gdata.client.Service.getFeed(Service.java:1017)
 at com.google.gdata.client.appsforyourdomain.AppsForYourDomainService.getFeed(AppsForYourDomainService.java:137)
 at com.google.usersyncapp.plugin.google.GDataBaseFeedRetrievePage.call(GDataBaseFeedRetrievePage.java:47)
 at com.google.usersyncapp.plugin.google.GDataBaseFeedRetrievePage.call(GDataBaseFeedRetrievePage.java:23)
 at com.google.usersyncapp.util.RetryImpl.execute(RetryImpl.java:91)
 at com.google.usersyncapp.plugin.google.ServiceProxy.retrieveNextPageOfUsers(ServiceProxy.java:1568)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFillUsers(GooglePlugin.java:570)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:322)
 ... 8 more
[2012-04-10 06:23:29,279] [AWT-EventQueue-0] [INFO] [ui.util.OpenUrl] Opening URL :file:/C:/Program%20Files%20(x86)/Google%20Apps%20Directory%20Sync/sync.log
[2012-04-10 06:23:40,059] [SwingWorker-pool-1-thread-4] [ERROR] [usersyncapp.sync.FullSyncAgent] Unable to send notification email - Could not connect to SMTP host: 192.168.1.111, port: 25
[2012-04-10 06:23:40,106] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog$SyncWorker] Simulation completed successfully
[2012-04-10 06:24:13,240] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Version 3.0.6
[2012-04-10 06:24:13,240] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Starting simulation
[2012-04-10 06:24:13,256] [SwingWorker-pool-1-thread-6] [INFO] [usersyncapp.sync.PluginGroup] 1 plugin(s) do not support the OPTIONAL feature "SKIP_ORGUNITS"
[2012-04-10 06:24:13,802] [pool-3-thread-1] [ERROR] [plugin.google.LocalPasswordTimestampStore] Password timestamp cache file "passwordTimestampCache.tsv" not found, will be created.
[2012-04-10 06:24:13,817] [pool-3-thread-2] [FATAL] [page.general.AbstractSimulateSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.IllegalArgumentException: LDAP attribute must be specified for the key attribute ("Sync key") for shared contacts.
 at com.google.usersyncapp.plugin.ldap.PersonResultProcessor.<init>(PersonResultProcessor.java:107)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillPersons(LDAPPlugin.java:922)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillSharedContacts(LDAPPlugin.java:854)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFill(LDAPPlugin.java:399)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
[2012-04-10 06:24:14,317] [pool-3-thread-1] [INFO] [plugin.google.GooglePlugin] Skipping retrieval and processing of organizations.
[2012-04-10 06:24:14,535] [pool-3-thread-1] [ERROR] [plugin.google.GDataRetryPolicy] Retry attempts exhausted for Retrieving Users from https://apps-apis.google.com/a/feeds/user/2.0/jsnell.org/, with attempt # 0
[2012-04-10 06:24:14,535] [pool-3-thread-1] [ERROR] [plugin.google.GDataRetryPolicy] Last encountered exception: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
[2012-04-10 06:24:14,535] [pool-3-thread-1] [FATAL] [page.general.AbstractSimulateSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.RuntimeException: java.lang.RuntimeException: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:299)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:333)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:291)
 ... 7 more
Caused by: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:597)
 at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563)
 at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:552)
 at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530)
 at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535)
 at com.google.gdata.client.Service.getFeed(Service.java:1135)
 at com.google.gdata.client.Service.getFeed(Service.java:998)
 at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631)
 at com.google.gdata.client.Service.getFeed(Service.java:1017)
 at com.google.gdata.client.appsforyourdomain.AppsForYourDomainService.getFeed(AppsForYourDomainService.java:137)
 at com.google.usersyncapp.plugin.google.GDataBaseFeedRetrievePage.call(GDataBaseFeedRetrievePage.java:47)
 at com.google.usersyncapp.plugin.google.GDataBaseFeedRetrievePage.call(GDataBaseFeedRetrievePage.java:23)
 at com.google.usersyncapp.util.RetryImpl.execute(RetryImpl.java:91)
 at com.google.usersyncapp.plugin.google.ServiceProxy.retrieveNextPageOfUsers(ServiceProxy.java:1568)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFillUsers(GooglePlugin.java:570)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:322)
 ... 8 more
[2012-04-10 06:24:14,582] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog$SimulateSyncWorker] Simulation completed successfully
[2012-04-10 06:24:22,475] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Version 3.0.6
[2012-04-10 06:24:22,475] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Starting simulation
[2012-04-10 06:24:22,491] [SwingWorker-pool-1-thread-7] [INFO] [usersyncapp.sync.PluginGroup] 1 plugin(s) do not support the OPTIONAL feature "SKIP_ORGUNITS"
[2012-04-10 06:24:22,990] [pool-3-thread-2] [ERROR] [plugin.google.LocalPasswordTimestampStore] Password timestamp cache file "passwordTimestampCache.tsv" not found, will be created.
[2012-04-10 06:24:23,006] [pool-3-thread-1] [FATAL] [page.general.AbstractSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.IllegalArgumentException: LDAP attribute must be specified for the key attribute ("Sync key") for shared contacts.
 at com.google.usersyncapp.plugin.ldap.PersonResultProcessor.<init>(PersonResultProcessor.java:107)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillPersons(LDAPPlugin.java:922)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillSharedContacts(LDAPPlugin.java:854)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFill(LDAPPlugin.java:399)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
[2012-04-10 06:24:23,521] [pool-3-thread-2] [INFO] [plugin.google.GooglePlugin] Skipping retrieval and processing of organizations.
[2012-04-10 06:24:23,739] [pool-3-thread-2] [ERROR] [plugin.google.GDataRetryPolicy] Retry attempts exhausted for Retrieving Users from https://apps-apis.google.com/a/feeds/user/2.0/jsnell.org/, with attempt # 0
[2012-04-10 06:24:23,739] [pool-3-thread-2] [ERROR] [plugin.google.GDataRetryPolicy] Last encountered exception: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
[2012-04-10 06:24:23,739] [pool-3-thread-2] [FATAL] [page.general.AbstractSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.RuntimeException: java.lang.RuntimeException: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:299)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:333)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:291)
 ... 7 more
Caused by: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:597)
 at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563)
 at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:552)
 at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530)
 at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535)
 at com.google.gdata.client.Service.getFeed(Service.java:1135)
 at com.google.gdata.client.Service.getFeed(Service.java:998)
 at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631)
 at com.google.gdata.client.Service.getFeed(Service.java:1017)
 at com.google.gdata.client.appsforyourdomain.AppsForYourDomainService.getFeed(AppsForYourDomainService.java:137)
 at com.google.usersyncapp.plugin.google.GDataBaseFeedRetrievePage.call(GDataBaseFeedRetrievePage.java:47)
 at com.google.usersyncapp.plugin.google.GDataBaseFeedRetrievePage.call(GDataBaseFeedRetrievePage.java:23)
 at com.google.usersyncapp.util.RetryImpl.execute(RetryImpl.java:91)
 at com.google.usersyncapp.plugin.google.ServiceProxy.retrieveNextPageOfUsers(ServiceProxy.java:1568)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFillUsers(GooglePlugin.java:570)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:322)
 ... 8 more
[2012-04-10 06:24:42,958] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Version 3.0.6
[2012-04-10 06:24:42,958] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Starting simulation
[2012-04-10 06:24:42,958] [SwingWorker-pool-1-thread-8] [INFO] [usersyncapp.sync.PluginGroup] 1 plugin(s) do not support the OPTIONAL feature "SKIP_ORGUNITS"
[2012-04-10 06:24:43,473] [pool-3-thread-1] [ERROR] [plugin.google.LocalPasswordTimestampStore] Password timestamp cache file "passwordTimestampCache.tsv" not found, will be created.
[2012-04-10 06:24:43,489] [pool-3-thread-2] [FATAL] [page.general.AbstractSimulateSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.IllegalArgumentException: LDAP attribute must be specified for the key attribute ("Sync key") for shared contacts.
 at com.google.usersyncapp.plugin.ldap.PersonResultProcessor.<init>(PersonResultProcessor.java:107)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillPersons(LDAPPlugin.java:922)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillSharedContacts(LDAPPlugin.java:854)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFill(LDAPPlugin.java:399)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
[2012-04-10 06:24:44,097] [pool-3-thread-1] [INFO] [plugin.google.GooglePlugin] Skipping retrieval and processing of organizations.
[2012-04-10 06:24:44,300] [pool-3-thread-1] [ERROR] [plugin.google.GDataRetryPolicy] Retry attempts exhausted for Retrieving Users from https://apps-apis.google.com/a/feeds/user/2.0/jsnell.org/, with attempt # 0
[2012-04-10 06:24:44,300] [pool-3-thread-1] [ERROR] [plugin.google.GDataRetryPolicy] Last encountered exception: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
[2012-04-10 06:24:44,300] [pool-3-thread-1] [FATAL] [page.general.AbstractSimulateSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.RuntimeException: java.lang.RuntimeException: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:299)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:333)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:291)
 ... 7 more
Caused by: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:597)
 at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563)
 at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:552)
 at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530)
 at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535)
 at com.google.gdata.client.Service.getFeed(Service.java:1135)
 at com.google.gdata.client.Service.getFeed(Service.java:998)
 at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631)
 at com.google.gdata.client.Service.getFeed(Service.java:1017)
 at com.google.gdata.client.appsforyourdomain.AppsForYourDomainService.getFeed(AppsForYourDomainService.java:137)
 at com.google.usersyncapp.plugin.google.GDataBaseFeedRetrievePage.call(GDataBaseFeedRetrievePage.java:47)
 at com.google.usersyncapp.plugin.google.GDataBaseFeedRetrievePage.call(GDataBaseFeedRetrievePage.java:23)
 at com.google.usersyncapp.util.RetryImpl.execute(RetryImpl.java:91)
 at com.google.usersyncapp.plugin.google.ServiceProxy.retrieveNextPageOfUsers(ServiceProxy.java:1568)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFillUsers(GooglePlugin.java:570)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:322)
 ... 8 more
[2012-04-10 06:24:44,347] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog$SimulateSyncWorker] Simulation completed successfully
[2012-04-10 06:24:44,799] [SwingWorker-pool-1-thread-7] [ERROR] [usersyncapp.sync.FullSyncAgent] Unable to send notification email - Could not connect to SMTP host: 192.168.1.111, port: 25
[2012-04-10 06:24:44,846] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog$SyncWorker] Simulation completed successfully
[2012-04-10 06:24:45,610] [AWT-EventQueue-0] [INFO] [ui.util.OpenUrl] Opening URL :file:/C:/Program%20Files%20(x86)/Google%20Apps%20Directory%20Sync/sync.log
[2012-04-10 06:25:50,600] [AWT-EventQueue-0] [ERROR] [page.general.NotificationSettingsPane$5$1] ExecutionExcetion cause: java.net.ConnectException: Connection timed out: connect, message: Could not connect to SMTP host: 192.168.1.111, port: 25
[2012-04-10 17:22:41,651] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Version 3.0.6
[2012-04-10 17:22:41,682] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Starting simulation
[2012-04-10 17:22:41,682] [SwingWorker-pool-1-thread-10] [INFO] [usersyncapp.sync.PluginGroup] 1 plugin(s) do not support the OPTIONAL feature "SKIP_ORGUNITS"
[2012-04-10 17:22:43,664] [pool-3-thread-4] [ERROR] [plugin.google.LocalPasswordTimestampStore] Password timestamp cache file "passwordTimestampCache.tsv" not found, will be created.
[2012-04-10 17:22:43,835] [pool-3-thread-3] [FATAL] [page.general.AbstractSimulateSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.IllegalArgumentException: LDAP attribute must be specified for the key attribute ("Sync key") for shared contacts.
 at com.google.usersyncapp.plugin.ldap.PersonResultProcessor.<init>(PersonResultProcessor.java:107)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillPersons(LDAPPlugin.java:922)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillSharedContacts(LDAPPlugin.java:854)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFill(LDAPPlugin.java:399)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
[2012-04-10 17:22:44,787] [pool-3-thread-4] [INFO] [plugin.google.GooglePlugin] Skipping retrieval and processing of organizations.
[2012-04-10 17:22:45,021] [pool-3-thread-4] [ERROR] [plugin.google.GDataRetryPolicy] Retry attempts exhausted for Retrieving Users from https://apps-apis.google.com/a/feeds/user/2.0/jsnell.org/, with attempt # 0
[2012-04-10 17:22:45,021] [pool-3-thread-4] [ERROR] [plugin.google.GDataRetryPolicy] Last encountered exception: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
[2012-04-10 17:22:45,021] [pool-3-thread-4] [FATAL] [page.general.AbstractSimulateSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.RuntimeException: java.lang.RuntimeException: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:299)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:333)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:291)
 ... 7 more
Caused by: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API
<HTML>
<HEAD>
<TITLE>Domain cannot use API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Domain cannot use API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
 at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:597)
 at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563)
 at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:552)
 at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530)
 at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535)
 at com.google.gdata.client.Service.getFeed(Service.java:1135)
 at com.google.gdata.client.Service.getFeed(Service.java:998)
 at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631)
 at com.google.gdata.client.Service.getFeed(Service.java:1017)
 at com.google.gdata.client.appsforyourdomain.AppsForYourDomainService.getFeed(AppsForYourDomainService.java:137)
 at com.google.usersyncapp.plugin.google.GDataBaseFeedRetrievePage.call(GDataBaseFeedRetrievePage.java:47)
 at com.google.usersyncapp.plugin.google.GDataBaseFeedRetrievePage.call(GDataBaseFeedRetrievePage.java:23)
 at com.google.usersyncapp.util.RetryImpl.execute(RetryImpl.java:91)
 at com.google.usersyncapp.plugin.google.ServiceProxy.retrieveNextPageOfUsers(ServiceProxy.java:1568)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFillUsers(GooglePlugin.java:570)
 at com.google.usersyncapp.plugin.google.GooglePlugin.doFullFill(GooglePlugin.java:322)
 ... 8 more
[2012-04-10 17:22:45,068] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog$SimulateSyncWorker] Simulation completed successfully
[2012-04-10 17:22:47,673] [AWT-EventQueue-0] [INFO] [ui.util.OpenUrl] Opening URL :file:/C:/Program%20Files%20(x86)/Google%20Apps%20Directory%20Sync/sync.log
[2012-04-10 17:40:18,912] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Version 3.0.6
[2012-04-10 17:40:18,912] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Starting simulation
[2012-04-10 17:40:18,927] [SwingWorker-pool-1-thread-1] [INFO] [usersyncapp.sync.PluginGroup] 1 plugin(s) do not support the OPTIONAL feature "SKIP_ORGUNITS"
[2012-04-10 17:40:19,411] [pool-3-thread-6] [ERROR] [plugin.google.LocalPasswordTimestampStore] Password timestamp cache file "passwordTimestampCache.tsv" not found, will be created.
[2012-04-10 17:40:19,536] [pool-3-thread-5] [FATAL] [page.general.AbstractSimulateSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.IllegalArgumentException: LDAP attribute must be specified for the key attribute ("Sync key") for shared contacts.
 at com.google.usersyncapp.plugin.ldap.PersonResultProcessor.<init>(PersonResultProcessor.java:107)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillPersons(LDAPPlugin.java:922)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillSharedContacts(LDAPPlugin.java:854)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFill(LDAPPlugin.java:399)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
[2012-04-10 17:40:20,051] [pool-3-thread-6] [INFO] [plugin.google.GooglePlugin] Skipping retrieval and processing of organizations.
[2012-04-10 17:40:22,203] [pool-3-thread-6] [INFO] [plugin.google.GooglePlugin] Skipping retrieval and processing of calendar resources.
[2012-04-10 17:40:22,313] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog$SimulateSyncWorker] Simulation completed successfully
[2012-04-10 17:40:24,372] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Version 3.0.6
[2012-04-10 17:40:24,372] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Starting simulation
[2012-04-10 17:40:24,387] [SwingWorker-pool-1-thread-2] [INFO] [usersyncapp.sync.PluginGroup] 1 plugin(s) do not support the OPTIONAL feature "SKIP_ORGUNITS"
[2012-04-10 17:40:24,918] [pool-3-thread-5] [ERROR] [plugin.google.LocalPasswordTimestampStore] Password timestamp cache file "passwordTimestampCache.tsv" not found, will be created.
[2012-04-10 17:40:24,933] [pool-3-thread-6] [FATAL] [page.general.AbstractSimulateSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.IllegalArgumentException: LDAP attribute must be specified for the key attribute ("Sync key") for shared contacts.
 at com.google.usersyncapp.plugin.ldap.PersonResultProcessor.<init>(PersonResultProcessor.java:107)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillPersons(LDAPPlugin.java:922)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillSharedContacts(LDAPPlugin.java:854)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFill(LDAPPlugin.java:399)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
[2012-04-10 17:40:25,355] [pool-3-thread-5] [INFO] [plugin.google.GooglePlugin] Skipping retrieval and processing of organizations.
[2012-04-10 17:40:26,291] [pool-3-thread-5] [INFO] [plugin.google.GooglePlugin] Skipping retrieval and processing of calendar resources.
[2012-04-10 17:40:26,337] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog$SimulateSyncWorker] Simulation completed successfully
[2012-04-10 17:40:31,626] [AWT-EventQueue-0] [INFO] [ui.util.OpenUrl] Opening URL :file:/C:/Program%20Files%20(x86)/Google%20Apps%20Directory%20Sync/sync.log
[2012-04-10 17:43:24,817] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Version 3.0.6
[2012-04-10 17:43:24,833] [AWT-EventQueue-0] [INFO] [page.general.SyncDialog] Starting simulation
[2012-04-10 17:43:24,833] [SwingWorker-pool-1-thread-3] [INFO] [usersyncapp.sync.PluginGroup] 1 plugin(s) do not support the OPTIONAL feature "SKIP_ORGUNITS"
[2012-04-10 17:43:25,316] [pool-3-thread-8] [ERROR] [plugin.google.LocalPasswordTimestampStore] Password timestamp cache file "passwordTimestampCache.tsv" not found, will be created.
[2012-04-10 17:43:25,426] [pool-3-thread-7] [FATAL] [page.general.AbstractSimulateSyncWorker$WorkerStatusLogger] Exception while attempting to retrieve results
java.lang.IllegalArgumentException: LDAP attribute must be specified for the key attribute ("Sync key") for shared contacts.
 at com.google.usersyncapp.plugin.ldap.PersonResultProcessor.<init>(PersonResultProcessor.java:107)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillPersons(LDAPPlugin.java:922)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFillSharedContacts(LDAPPlugin.java:854)
 at com.google.usersyncapp.plugin.ldap.LDAPPlugin.doFullFill(LDAPPlugin.java:399)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:63)
 at com.google.usersyncapp.sync.FullFillWorker.call(FullFillWorker.java:28)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
...
Re: Win2k8 AD Simulate Sync fails jlee 4/12/12 5:34 AM
Hi jj-ak,

  I see two issues here:

  • LDAP attribute must be specified for the key attribute ("Sync key") for shared contacts. So you need to go back under shared contacts and set the sync key attribute (if you're hitting AD it'd probably be something like DistinguishedName. You may also want to disable Shared Contacts sync entirely (under General) until you can get the core stuff like user and group sync working.

  • ServiceForbiddenException: Domain cannot use API: Did you enable the Provisioning API in the Google Apps Control Panel? If you did, what edition of Google Apps are you on? Directory Sync will not work with Google Apps Free/Standard Edition.
Jay
Re: Win2k8 AD Simulate Sync fails jj-ak 6/13/12 11:27 PM
Thanks Jay - shared contacts is disabled and I found some other errors too. I disabled API, but I still get errors and this entry in the log: java.lang.RuntimeException: java.lang.RuntimeException: com.google.gdata.util.ServiceForbiddenException: Domain cannot use API...
 
Do I need to wait for the change to take effect?