gpake / qiniu-wxapp-sdk

qiniu SDK based on wxapp
GNU General Public License v3.0
703 stars 278 forks source link

uploadImage #3

Closed GrapeFruitJun closed 7 years ago

GrapeFruitJun commented 7 years ago

uploadFile:fail exceed max upload connection count 1

gpake commented 7 years ago

Hi @GrapeFruitJun, It seems because that you are trying to upload too more images one time and killed by wxapp api, try to call upload after one finished. And I'm trying to add a upload queue.

GrapeFruitJun commented 7 years ago

but i just upload one pic, so i don't know why

gpake commented 7 years ago

I've tested the demo, it works well. try to disable other network request before upload. and log the upload task in case there is a bug

GrapeFruitJun commented 7 years ago

Thank you for your help, looking forward to your new version with upload queue , it will help a lot of people

gpake commented 7 years ago

@GrapeFruitJun so is there a bug that caused upload called more than once?

GrapeFruitJun commented 7 years ago

nope

gpake commented 7 years ago

你在 sdk 里面打 log,看看 upload 到底被调用了几次。或者打断点也行,顺便看看调用栈。还有问题继续留言。