Hi, to whom it may regards,
Recently (eg. 2021/12/07 to now), we've found that GetItem and GetFolder ews api encounters curl(7) CURLE_COULDNT_CONNECT every other day.
We use GetItem to download mime content, and use GetFolder to get the distinguished folder.
(eg. <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><soap:Header><t:RequestServerVersion Version="Exchange2013"/><t:ExchangeImpersonation><t:ConnectingSID><t:PrincipalName>joyceb@our_domain.com</t:PrincipalName></t:ConnectingSID></t:ExchangeImpersonation></soap:Header><soap:Body><m:GetItem><m:ItemShape><t:BaseShape>IdOnly</t:BaseShape><t:IncludeMimeContent>true</t:IncludeMimeContent></m:ItemShape><m:ItemIds><t:ItemId Id="......our_mail_id......"/></m:ItemIds></m:GetItem></soap:Body></soap:Envelope>)
When we've met CURLE_COULDNT_CONNECT for an user, we've always retried for 13 times in 30 minutes, however, it all fails.
And we have to wait for hours or even tomorrow for the issue to be solved. (eg. and it happens once to twice in a week)
We've used the same curl instance to send ews api to GetItem or GetFolder from different users (eg.UserPrincipalName), and the same curl instance may meet curl(7) for a user but success for another one (eg. it seems like an ews api issue which affects certain users from time to time).
Is this a known issue, or has anyone encountered the same issues?
Thank you,
Best regards,
Joyce Beck