O365 Public folder sync fails

Status
Not open for further replies.

CptLuxx

Joined
Mar 9, 2018
Messages
7
Reaction score
0
Hi,

we are using the O365 Public Folder Contact sync and without reason the sync stopp. I have already checked if the Passwords are expired or if the URL/Folderpath has changed.


im getting the following error in the 3cxSystemService.log

Code:
018/08/23 13:16:52.060|5624|0022|Erro|Error while checking contacts from Public Folder Why/Doesthisnolongerwork
2018/08/23 13:16:52.086|5624|0026|Verb|WM: Received '{"result":true,"error":""}'
2018/08/23 13:16:52.087|5624|0026|Info|WM: extensionstate for command 2 completed successfully
2018/08/23 13:16:52.087|5624|0019|Info|WM: Requesting savemeeting for command 3
2018/08/23 13:16:52.103|5624|0022|Excpt|Microsoft.Exchange.WebServices.Data.ServiceRequestException: The request failed. The remote server returned an error: (404) Not Found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.WebRequest.<>c.<GetResponseAsync>b__68_2(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

any idea why this is happening?
 
Hello @CptLuxx,

The error 404 not found means that the URL that 3CX is trying to access doesn't exist anymore. Probably you made a change in your server and moved the page somewhere else...

Kind regards.
 
Hi,
true that is what the error means, but we are at o365 and the URL never changes and i can also open it absolutely fine

https://outlook.office.com/owa
 
It would be good to have the full log, to check if the URL in question is mentioned. What you provide is the main URL, but then the API needs to perform different requests to different endpoints, and some of them is not available...
 
Hi,

i just checked the log again and all other logs for anything related to this and there is nothing, uploading the log would require me to remove some private informations first.



Code:
2018/08/23 15:46:18.311|8516|0026|Excpt|Microsoft.Exchange.WebServices.Data.ServiceRequestException: The request failed. The remote server returned an error: (404) Not Found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.WebRequest.<>c.<GetResponseAsync>b__68_2(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.<Microsoft-Exchange-WebServices-Data-IEwsHttpWebRequest-GetResponse>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.<GetEwsHttpWebResponse>d__45.MoveNext()
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.<GetEwsHttpWebResponse>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.<ValidateAndEmitRequest>d__43.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.<InternalExecuteAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.<ExecuteAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Exchange.WebServices.Data.ExchangeService.<FindFolders>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at CompanyDirectoryService.Clients.PublicFolderExtensions.<GetTopLevelFolder>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at CompanyDirectoryService.Clients.PublicFolderExtensions.<GetPublicFolderByPath>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at CompanyDirectoryService.Clients.PublicFolderExtensions.<GetContactsFromPublicFolder>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at CompanyDirectoryService.SchedulerJob.<SynchronizePublicFolderContacts>d__15.MoveNext()
 
Last edited:
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,323
Messages
591,896
Members
165,474
Latest member
costionofrei