Office 365 API request timeout

前提是你 提交于 2019-12-24 17:29:44

问题


I am developing a 3rd party application to integrate with Office 365 and I have a question about request timeout. Timeout I set is 25 seconds which is more than enough from my perspective, however my requests end up with timeout frequently.

Here is log of what I am doing:

I sent 2 GET requests 1 by one to following url: 'https://outlook.office365.com/api/v1.0/me/calendars'

1) 'client-request-id': 'xxxxxxxxxxxxxxxxx' Error: ETIMEDOUT

2) 'client-request-id': 'xxxxxxxxxxxxxxxxx' Completed request GET https://outlook.office365.com/api/v1.0/me/calendars in 22.393 seconds.

I have double checked region of my azure active directory - it points to right place, so geographical distance should not be a problem.

How can I make sure that request will be processed in shorter amount of time?


回答1:


This is a known delay in the Office 365 APIs that we're working to improve. We have fixes in the pipeline that we believe will help here, so hopefully you'll see an improvement in the near future.



来源:https://stackoverflow.com/questions/27905931/office-365-api-request-timeout

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!