Office 365的API请求超时 [英] Office 365 API request timeout

查看:338
本文介绍了Office 365的API请求超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发第三方应用与Office 365整合和我有一个关于请求超时的问题。超时我设置为25秒,这比从我的角度够多了,但我的要求结束与超时频繁。

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:

我送2 GET请求1个到以下网址:'的https:/ /outlook.office365.com/api/v1.0/me/calendars

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

1)客户端请求ID':'xxxxxxxxxxxxxxxxx
错误:ETIMEDOUT

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

2)客户端请求ID':'xxxxxxxxxxxxxxxxx
完成的请求GET https://outlook.office365.com/api/v1.0/我/日历的在22.393秒。

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

我有双重检查我的蔚蓝的Active Directory域 - 它指向正确的地方,这样的地理距离不应该是一个问题。

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?

推荐答案

这是我们正在努力改善Office 365的API的一个已知的延迟。我们有我们相信这将帮助这里的管线修复,所以希望你会看到在不久的将来得到改善。

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.

这篇关于Office 365的API请求超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆