Exchange Contact Sync

Status
Not open for further replies.

Rhys Haskell

Advanced Certified
Joined
Jul 30, 2018
Messages
314
Reaction score
74
We are having issues syncing contacts from the exchange server:
2019/10/23 12:48:34.645|638|0048|Info|Sync-Job execution started
2019/10/23 12:48:34.645|638|0048|Info|ConvertPlusTo: +
2019/10/23 12:48:34.645|638|0048|Info|Synchronization of GAL started...
2019/10/23 12:48:34.645|638|0048|Info|Synchronization of public folders started...
2019/10/23 12:48:34.645|638|0048|Info|Synchronization of Public Folder Contacts started...
2019/10/23 12:48:34.701|638|0048|Erro|Error while checking contacts from Public Folder Contacts
2019/10/23 12:48:34.702|638|0048|Excpt|System.ComponentModel.Win32Exception (0x80090020): GSSAPI operation failed with error - An invalid status code was supplied (Unknown error).
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebRequest.<>c.<GetResponseAsync>b__68_2(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest()
at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.InternalExecuteAsync()
at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest1.ExecuteAsync() at Microsoft.Exchange.WebServices.Data.ExchangeService.FindFolders(FolderId parentFolderId, FolderView view) at Integration.Exchange.Contacts.PublicFolderExtensions.GetTopLevelFolder(ExchangeService service, String folderName) at Integration.Exchange.Contacts.PublicFolderExtensions.GetPublicFolderByPath(ExchangeService service, String ewsFolderPath) at Integration.Exchange.Contacts.PublicFolderExtensions.GetContactsFromPublicFolder(ExchangeService service, Int32 id, String PublicFolder, String ConvertPlusTo) at Integration.Exchange.SchedulerJob.SynchronizePublicFolderContacts(String FolderName) 2019/10/23 12:48:34.703|638|0048|Info|Synchronization of Public Folder company/contacts started... 2019/10/23 12:48:34.747|638|0048|Erro|Error while checking contacts from Public Folder company/contacts 2019/10/23 12:48:34.748|638|0048|Excpt|System.ComponentModel.Win32Exception (0x80090020): GSSAPI operation failed with error - An invalid status code was supplied (Unknown error). at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.WebRequest.<>c.<GetResponseAsync>b__68_2(IAsyncResult iar) at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse() at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request) at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest() at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.InternalExecuteAsync() at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest1.ExecuteAsync()
at Microsoft.Exchange.WebServices.Data.ExchangeService.FindFolders(FolderId parentFolderId, FolderView view)
at Integration.Exchange.Contacts.PublicFolderExtensions.GetTopLevelFolder(ExchangeService service, String folderName)
at Integration.Exchange.Contacts.PublicFolderExtensions.GetPublicFolderByPath(ExchangeService service, String ewsFolderPath)
at Integration.Exchange.Contacts.PublicFolderExtensions.GetContactsFromPublicFolder(ExchangeService service, Int32 id, String PublicFolder, String ConvertPlusTo)
at Integration.Exchange.SchedulerJob.SynchronizePublicFolderContacts(String FolderName)
2019/10/23 12:48:34.748|638|0048|Info|Synchronization of personal contacts started...
2019/10/23 12:48:34.749|638|0048|Info|No E-Mail-Adresses configured for sync
2019/10/23 12:48:34.749|638|0048|Info|Sync-Job execution finished on: 10/23/19 12:48:34 PM taking 0.1037914 seconds
2019/10/23 12:48:36.811|638|0010|Verb|Enqueue Updated.REGISTRATION.29
2019/10/23 12:48:36.811|638|0011|Verb|Dequeue Updated.REGISTRATION.29
2019/10/23 12:48:37.137|638|0010|Verb|Enqueue Updated.REGISTRATION.21
2019/10/23 12:48:37.137|638|0011|Verb|Dequeue Updated.REGISTRATION.21
2019/10/23 12:48:47.859|638|0010|Verb|Enqueue Updated.REGISTRATION.1
2019/10/23 12:48:47.859|638|0011|Verb|Dequeue Updated.REGISTRATION.1

The above is the log, does anyone have any ideas of what the issue is?
 
Is this a 3CX server running on Linux?

Googling the error you get:
System.ComponentModel.Win32Exception (0x80090020): GSSAPI operation failed with error - An invalid status code was supplied (Unknown error).

I found this which could be useful:
https://github.com/dotnet/corefx/issues/28961

Check the proposed "Workarounds".
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,324
Messages
591,897
Members
165,475
Latest member
lastshadow