5分钟后Skydrive API文件上传超时 [英] Skydrive API File Upload Timeout after 5 minutes

查看:108
本文介绍了5分钟后Skydrive API文件上传超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的应用程序将视频文件从iOS上传到许多不同的云存储提供商。  我们为所有这些使用REST API。  使用Skydrive,上传总是在5分钟后超时(无论发送的数据量是多少)。  我已经尝试了PUT
和POST来执行上传,但都在5分钟后超时。  只要上传可以在5分钟内完成,它就能完美运行。


这是一个已知问题,还是我错过了什么?



谢谢。

解决方案

可能会发生一些事情:


(1)整体HTTP请求超时。


(2)特定数据块的超时。 我们在大约130K左右的块中提取文件字节,如果其中任何一个超过30秒,我们就会超时。


您是否已经完成了任何网络流量分析?


Our app uploads video files from iOS to a number of different cloud storage providers.  We use REST APIs for all of them.  With Skydrive, uploads always timeout after 5 minutes (regardless of the amount of data sent).  I've tried both PUT and POST to perform the uploads, but both timeout after 5 minutes.  As long as the upload can complete in under 5 minutes, it works perfectly.

Is this a known issue, or am I missing something?

Thanks.

解决方案

A couple of things could be going on:

(1) an overall HTTP request timeout.

(2) A timeout on a specific chunk of data.  We pull in file bytes in chunks of about 130K or so, and if any of these takes more than 30 seconds we time out.

Have you done any network traffic analysis on your end?


这篇关于5分钟后Skydrive API文件上传超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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