上传文件大于30m提示错误: ResponseTimeoutError

我依次尝试用断点续传, 文件直传,流文件直传都不成功:错误提示:

断点续传错误:

{"name":"ResponseTimeoutError","requestId":1,"path":"/mkblk/4194304","status":-1,"headers":{},"res":{"status":-1,"statusCode":-1,"headers":{},"size":0,"aborted":false,"rt":120039,"keepAliveSocket":false,"requestUrls":["http://upload-z1.qiniup.com/mkblk/4194304"],"timing":null,"remoteAddress":"222.222.95.11","remotePort":80}}

文件直传错误:

{"name":"ResponseTimeoutError","requestId":3,"path":"/","status":-1,"headers":{},"res":{"status":-1,"statusCode":-1,"headers":{},"size":0,"aborted":false,"rt":120032,"keepAliveSocket":false,"requestUrls":["http://upload-z1.qiniup.com"],"timing":null,"remoteAddress":"222.222.95.11","remotePort":80}}

流文件直传错误:

{"name":"ResponseTimeoutError","requestId":3,"path":"/","status":-1,"headers":{},"res":{"status":-1,"statusCode":-1,"headers":{},"size":0,"aborted":false,"rt":120032,"keepAliveSocket":false,"requestUrls":["http://upload-z1.qiniup.com"],"timing":null,"remoteAddress":"222.222.95.11","remotePort":80}}

希望有遇到过的朋友提供一些好的建议.

阅读 2.5k
1 个回答

服务器带宽是不是太小了?用的sdk上传么,可以调下sdk配置文件中的超时时间。

logo
七牛云问答
子站问答
访问
宣传栏