pombreda / google-calendar-connectors

Automatically exported from code.google.com/p/google-calendar-connectors
0 stars 0 forks source link

Google Calendar connector web service: Error occured while retrieving free busy ranges #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

2011-12-20 16:37:40,923 [2588] INFO  
Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] - 
LookupFreeBusyTimes-EWS - Total Execution Time: 1498 ms.
2011-12-20 16:37:40,939 [2588] ERROR GCalExchangeLookup.ExchangeQuerierBase - 
Google.GCalExchangeSync.Library.GCalExchangeException: Error occured while 
retrieving free busy ranges ---> System.IndexOutOfRangeException: Index was 
outside the bounds of the array.
   at Google.GCalExchangeSync.Library.FreeBusyServiceEWS.LookupFreeBusyTimes(ExchangeUserDict users, DateTimeRange window)
   --- End of inner exception stack trace ---
   at Google.GCalExchangeSync.Library.FreeBusyServiceEWS.LookupFreeBusyTimes(ExchangeUserDict users, DateTimeRange window)
   at Google.GCalExchangeSync.Library.ExchangeService.GetCalendarInfoForUsers(ExchangeUserDict users, DateTimeRange window)
   at Google.GCalExchangeSync.Library.ExchangeService.SearchByQuery(String ldapQuery, DateTimeRange utcRange)
   at Google.GCalExchangeSync.Library.ExchangeService.SearchByEmail(DateTimeRange utcRange, String searchTerm)
   at Google.GCalExchangeSync.Library.ExchangeFreeBusyProvider.Google.GCalExchangeSync.Library.IFreeBusyProvider.GetFreeBusyForUsers(DateTimeRange range, IEnumerable`1 users, ICollection`1 free_busy_data)
   at Google.GCalExchangeSync.Library.GCalFreeBusyResponse.GenerateResponse()
   at GCalExchangeLookup.ExchangeQuerier.ProcessRequest()

What version of the product are you using? On what operating system?

1- Google Calendar connector web service 1.3.1
2- Windows Server 2008 R2
3- Exchange Server 2007
4- .Net 2.0
5- IIS 7.0

Please provide any additional information below.

Original issue reported on code.google.com by anoop.si...@deepraj.in on 21 Dec 2011 at 5:02

Attachments:

GoogleCodeExporter commented 9 years ago
Could you please send us the config file ? Also enable the DEBUG logs in config 
file and send us the logs.

Original comment by jaideepg...@google.com on 23 Dec 2011 at 2:41

GoogleCodeExporter commented 9 years ago
Hi Jaideep,

Please check all the log files and config files and help for further implement.

Regards,

Nikhil Agarwal

Original comment by anoop.si...@deepraj.in on 23 Dec 2011 at 5:26

Attachments:

GoogleCodeExporter commented 9 years ago
Please use the admin's principal name(user@domain.com format instead of 
domain\user format) for the "Exchange.GCalQueryAdmin.Login" and 
"ActiveDirectory.DomainUser.Login" parameters.

Original comment by jaideepg...@gmail.com on 26 Dec 2011 at 6:07

GoogleCodeExporter commented 9 years ago
Hi jaideep,

Thanks for your help but now not showing any user free/busy details in 
diagnostic page through IIS or Google Apps.

Please chech the attached log file and config file and help me.

Regards,

Nikhil Agarwal

Original comment by anoop.si...@deepraj.in on 26 Dec 2011 at 8:47

Attachments:

GoogleCodeExporter commented 9 years ago
Hi jaideep,

Thanks for your help but now not showing any user free/busy details in 
diagnostic page through IIS or Google Apps.

Please check the attached log file and config file and help me.

Regards,

Nikhil Agarwal

Original comment by anoop.si...@deepraj.in on 26 Dec 2011 at 8:47

Attachments:

GoogleCodeExporter commented 9 years ago
Can you try using WEBDAV instead of EWS in config file?

Original comment by jaideepg...@gmail.com on 26 Dec 2011 at 9:00

GoogleCodeExporter commented 9 years ago
Hi Jaideep,

Thanks for your reply and Web services is running but how to user multiple LDAP 
server for fetching all users, I used with semicolon ldap://111.111.111.111; 
ldap://222.222.222.222, but showing only from first ldap server users.

Please check the config file and help me for how to user multiple ldap to 
showing all users in our domain.

Regards,

Nikhil Agarwal

Original comment by anoop.si...@deepraj.in on 26 Dec 2011 at 11:48

Attachments:

GoogleCodeExporter commented 9 years ago
This looks fine. Can you send us the log file ?

Original comment by jaideepg...@google.com on 26 Dec 2011 at 12:03

GoogleCodeExporter commented 9 years ago
Hi Jaideep,

Any update from your side for multiple ldap.
Please provide me your full email address.

Regards,

Nikhil Agarwal

Original comment by anoop.si...@deepraj.in on 27 Dec 2011 at 4:48

GoogleCodeExporter commented 9 years ago
I asked for the log file. Could you please send us that ?

Original comment by jaideepg...@google.com on 27 Dec 2011 at 6:33

GoogleCodeExporter commented 9 years ago
Hi Jaideep,

Please check the log file as required by you.

Regards,

Nikhil Agarwal

Original comment by anoop.si...@deepraj.in on 27 Dec 2011 at 6:36

Attachments:

GoogleCodeExporter commented 9 years ago
Semicolon separated ldap server names should work. I do not see any error in 
the logs, though most of the users do not have the attribute values correctly 
set. Web service queries all the ldap servers for a user. The user you are 
trying to lookup, does that appear in the logs with any error ?

Original comment by jaideepg...@google.com on 27 Dec 2011 at 7:02

GoogleCodeExporter commented 9 years ago
Hi Jaideep,

Happy New Year!

I configured the GCC web service and it was running but today not showing 
free/busy schedule in google apps with exchange users.
Please check the config file and log file and help me.

I installed the GCC sync service and configured as same web service file, but 
not working. I am also sending the config file and log file.
Please check and help me.

How to check the free/busy service Microsoft outlook client with 2007 or 2010.
OR
Users are using Google Apps Sync for Microsoft outlook, how to check the f/b 
service for exchange user.

Please confirm me for any additional settings required in IIS 7

Regards,

Nikhil Agarwal

Original comment by anoop.si...@deepraj.in on 3 Jan 2012 at 9:51

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Jaideep,

Can u please update me asap.

Regards,

Nikhil Agarwal

Original comment by anoop.si...@deepraj.in on 3 Jan 2012 at 12:54

GoogleCodeExporter commented 9 years ago
Hi,

Could you please confirm that all the options on web service diagnostics 
working ?
From logs it seems that role account mentioned in the config file does not have 
proper permissions.
For sync service the role account should have write permissions on the Public 
folder. For that run Add-PublicFolderClientPermission command as mentioned in 
the sync service guide.

If users are using the GASMO then to lookup the free busy of an Exchange user, 
the GASMO user has to set a registry key. Please check 
https://support.google.com/a/bin/answer.py?hl=en&answer=148484#fb
As far as I remember with GASMO, EWS option won't work in config file, use 
WEBDAV instead.

Original comment by jaideepg...@gmail.com on 3 Jan 2012 at 1:38

GoogleCodeExporter commented 9 years ago
Hi Jaideep,

I wanted to add to you on my Gtalk for further support.
My Gtalk id: nikhil.agarwal@deepraj.in

Please provide any reference on same stream in Indian time zone for further 
support or provide your Chat id for further discussion.

Regards,

Nikhil Agarwal

Original comment by anoop.si...@deepraj.in on 4 Jan 2012 at 10:20

GoogleCodeExporter commented 9 years ago
Hi Jaideep,

Thanks for your support.

Check the below command for GCC sync and help me to how much effective for 
exchange domain (innodata.com).

Add-AvailabilityAddressSpace -ForestName domain.com -AccessMethod PublicFolder
 Example: Add-AvailabilityAddressSpace -ForestName pilot.domain.com -AccessMethod PublicFolder

Note: I did,'t not run this command as yet, and how to check this command in 
exchange which is already run or not.

Regards,

Nikhil Agarwal

Original comment by anoop.si...@deepraj.in on 10 Jan 2012 at 4:58

GoogleCodeExporter commented 9 years ago
Hi Jaideep,

Please check the sync error and help me.

2012-01-09 14:18:54,431 [1368] DEBUG 
Google.GCalExchangeSync.Library.WebDav.XmlRequestImpl - Issuing WebDAV Request: 
PROPPATCH to 
https://owanda.innodata.com/public/NON_IPM_SUBTREE/SCHEDULE%2B%20FREE%20BUSY/EX:
_xF8FF_o=INNODATA_xF8FF_ou=Exchange%20Administrative%20Group%20(FYDIBOHF23SPDLT)
/USER-_xF8FF_cn=Recipients_xF8FF_cn=Test%20GCC.EML - Group Exchange
2012-01-09 14:18:54,447 [1368] ERROR 
Google.GCalExchangeSync.Library.FreeBusyServiceWebDAV - Creating free/busy 
message for: 
https://owanda.innodata.com/public/NON_IPM_SUBTREE/SCHEDULE%2B%20FREE%20BUSY/EX:
_xF8FF_o=INNODATA_xF8FF_ou=Exchange%20Administrative%20Group%20(FYDIBOHF23SPDLT)
/USER-_xF8FF_cn=Recipients_xF8FF_cn=Test%20GCC.EML failed
System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at Google.GCalExchangeSync.Library.WebDav.XmlRequestImpl.IssueRequest(String url, Method method, String body, HttpHeader[] headers)
   at Google.GCalExchangeSync.Library.WebDav.WebDavQuery.IssueRequestIgnoreResponse(String url, Method method, String body, HttpHeader[] headers)
   at Google.GCalExchangeSync.Library.FreeBusyServiceWebDAV.CreateFreeBusyMessage(String targetUrl, String targetUsername, List`1 busyMonths, List`1 busyDailyData, List`1 tentativeMonths, List`1 tentativeDailyData, String startDate, String endDate)
2012-01-09 14:18:54,447 [1368] INFO  
Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] - WriteFreeBusy - 
Total Execution Time: 16 ms.
2012-01-09 14:18:54,447 [1368] ERROR 
Google.GCalExchangeSync.Library.GCalSyncProcess - Error occured while executing 
sync process for user 'testgcc@innodata.com'. [running error count=1]
System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at Google.GCalExchangeSync.Library.WebDav.XmlRequestImpl.IssueRequest(String url, Method method, String body, HttpHeader[] headers)
   at Google.GCalExchangeSync.Library.WebDav.WebDavQuery.IssueRequestIgnoreResponse(String url, Method method, String body, HttpHeader[] headers)
   at Google.GCalExchangeSync.Library.FreeBusyServiceWebDAV.CreateFreeBusyMessage(String targetUrl, String targetUsername, List`1 busyMonths, List`1 busyDailyData, List`1 tentativeMonths, List`1 tentativeDailyData, String startDate, String endDate)
   at Google.GCalExchangeSync.Library.SchedulePlusFreeBusyWriter.SyncUser(ExchangeUser user, EventFeed googleAppsFeed, ExchangeService exchangeGateway, DateTimeRange window)
   at Google.GCalExchangeSync.Library.GCalSyncProcess.SyncUsers()
2012-01-09 14:18:54,447 [1368] INFO  
Google.GCalExchangeSync.Library.GCalSyncProcess - User synchronization 
complete.  1 users processed.
2012-01-09 14:18:54,447 [1368] DEBUG 
Google.GCalExchangeSync.Library.GCalSyncProcess - Memory after sync: 478844
2012-01-09 14:18:54,447 [1368] INFO  
Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] - RunSyncProcess - 
Total Execution Time: 3806 ms.
2012-01-09 14:18:54,447 [1368] INFO  
Google.GCalExchangeSync.Library.Scheduling.BaseWorker - GCalSyncProcess 
finished succesfully
2012-01-09 14:18:54,447 [1368] DEBUG 
Google.GCalExchangeSync.Library.Scheduling.Sentinel - Finish Thread 17 on Line 0
2012-01-09 14:18:54,447 [1368] DEBUG 
Google.GCalExchangeSync.Library.Scheduling.Sentinel - Work complete, starting 
timer
2012-01-09 14:18:54,447 [1368] DEBUG 
Google.GCalExchangeSync.Library.Scheduling.Sentinel - Timer started

Regards,

Nikhil Agarwal

Original comment by anoop.si...@deepraj.in on 10 Jan 2012 at 6:35