OfficeDev / ews-managed-api

Other
583 stars 317 forks source link

Issue with office 365 pull subscription drops directly. Anyone else? #259

Open frombalinium opened 3 years ago

frombalinium commented 3 years ago

So EWS, initiate pull subscription (impersonated) poll the subscription right after, it's gone. error message "The SMTP address has no mailbox associated with it. "

reinitiate the subscription: no problem no error poll it : gone

No code change on my end since years here. Anyone else the same issue?

frombalinium commented 3 years ago

Here is a trace. Turns out we get internal server error back.

12/16/2020 10:10:53 AM : EwsRequestHttpHeaders --- POST /EWS/Exchange.asmx HTTP/1.1 Content-Type: text/xml; charset=utf-8 Accept: text/xml User-Agent: ExchangeServicesClient/15.00.0913.015 Accept-Encoding: gzip,deflate X-PublicFolderMailbox: X-PreferServerAffinity: True

12/16/2020 10:10:53 AM : EwsRequest --- <?xml version="1.0" encoding="utf-8"?>

Vi....com CreatedEvent CopiedEvent DeletedEvent ModifiedEvent MovedEvent 30 12/16/2020 10:10:53 AM : EwsResponseHttpHeaders --- HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Encoding: gzip Vary: Accept-Encoding request-id: b7f184b8-fde6-4941-a4c1-83930aff47ac X-CalculatedBETarget: BY5PR11MB4227.namprd11.prod.outlook.com X-BackEndHttpStatus: 200 X-RUM-Validated: 1 X-MS-Credentials-Expire: 9 X-MS-Credential-Service-Federated: false x-EwsHandler: Subscribe X-BeSku: WCS5 X-DiagInfo: BY5PR11MB4227 X-BEServer: BY5PR11MB4227 X-Proxy-RoutingCorrectness: 1 X-Proxy-BackendServerStatus: 200 X-FEServer: BYAPR06CA0071 Cache-Control: private Content-Type: text/xml; charset=utf-8 Date: Wed, 16 Dec 2020 18:10:53 GMT Set-Cookie: exchangecookie=6daeb614a525467e90b3fe926e4506e8; path=/; secure Server: Microsoft-IIS/10.0 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET 12/16/2020 10:10:53 AM : EwsResponse --- NoError JwBieWFwcjExbWIzNDMwLm5hbXByZDExLnByb2Qub3V0bG9vay5jb20QAAAAbYJ7TXzLXkqOeaW77tSoy0zQqe3todgIEAAAAHZjZQ0bfjZPnZ1if5wm+B0= AQAAAJoV/6CTZQtFiGtjR4sal16xtzOrAAAAAAA= 12/16/2020 10:10:54 AM : EwsRequestHttpHeaders --- POST /EWS/Exchange.asmx HTTP/1.1 Content-Type: text/xml; charset=utf-8 Accept: text/xml User-Agent: ExchangeServicesClient/15.00.0913.015 Accept-Encoding: gzip,deflate X-PublicFolderMailbox: X-PreferServerAffinity: True 12/16/2020 10:10:54 AM : EwsRequest --- V......com JwBieWFwcjExbWIzNDMwLm5hbXByZDExLnByb2Qub3V0bG9vay5jb20QAAAAbYJ7TXzLXkqOeaW77tSoy0zQqe3todgIEAAAAHZjZQ0bfjZPnZ1if5wm+B0= AQAAAJoV/6CTZQtFiGtjR4sal16xtzOrAAAAAAA= 12/16/2020 10:10:54 AM : EwsResponseHttpHeaders --- HTTP/1.1 500 Internal Server Error Transfer-Encoding: chunked request-id: 3d567ba1-efc6-4a7c-a611-66002d6132d1 X-CalculatedBETarget: BY5PR11MB4227.namprd11.prod.outlook.com X-BackEndHttpStatus: 500 X-RUM-Validated: 1 X-MS-Credentials-Expire: 9 X-MS-Credential-Service-Federated: false x-EwsHandler: GetEvents X-BeSku: WCS5 X-DiagInfo: BY5PR11MB4227 X-BEServer: BY5PR11MB4227 X-Proxy-RoutingCorrectness: 1 X-Proxy-BackendServerStatus: 500 X-FEServer: BYAPR06CA0071 Cache-Control: private Content-Type: text/xml; charset=utf-8 Date: Wed, 16 Dec 2020 18:10:54 GMT Set-Cookie: exchangecookie=6daeb614a525467e90b3fe926e4506e8; path=/; secure Server: Microsoft-IIS/10.0 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET 12/16/2020 10:10:54 AM : EwsResponse --- a:ErrorNonExistentMailbox The SMTP address has no mailbox associated with it. ErrorNonExistentMailbox The SMTP address has no mailbox associated with it. V.....com