search

Home  >  Q&A  >  body text

android - 七牛单次上传单张图片,11次6次上传失败

最近用7牛上传图片经常失败每次上传一张图片进行测试,11次有6次失败,失败原因要么超时,要么severerror,我用的volley框架。

第一步获取token很快就获取了了 QIUNIU_SPACE = jyhomework

第二步上传文件经常失败com.android.volley.TimeoutError 或者com.android.volley.SeverError
QINIU_UPLOAD = http://upload.qiniu.com

PHP中文网PHP中文网2772 days ago498

reply all(3)I'll reply

  • 黄舟

    黄舟2017-04-17 17:36:56

    Don’t qiniu have SDK?

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 17:36:56

    I am using AsyncHttp and the problem you mentioned does not occur. It is recommended to try another network. If it doesn't work, try another network framework.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 17:36:56

    I don’t recommend using these things. Anyone who doesn’t provide an FTP interface is a rogue. The private protocol is just to tie you up.

    reply
    0
  • Cancelreply