我们小程序经常有用户反馈上传照片失败,也收到了大量失败日志,归类了一下有这十几类:
1. errMsg:uploadFile:fail socket timeout error
2. errMsg:uploadFile:fail interrupted
3. errMsg:uploadFile:fail Read error: ssl=0x7cca99f688: I/O error during system call, Software caused connection abort
4. errMsg:uploadFile:fail length=8192; index=8192
5. errMsg:uploadFile:fail file path invalid
6. errMsg:uploadFile:fail ssl hand shake error
7. errMsg:uploadFile:fail fail:file doesn't exist
8. errMsg:uploadFile:fail parameter error: parameter.filePath should be String instead of Undefined;
9. errMsg:uploadFile:fail unexpected end of stream on com.android.okhttp.Address@a4e78a99
10. errMsg:uploadFile:fail Failed to connect to www.xxx.cn/xxx.77.88.xxx: 443
11. errMsg:uploadFile:fail Write error: ssl=0x7c7a079388: I/O error during system call, Broken pipe
12. errMsg:uploadFile:fail Unable to resolve host www.xxx.cn: No address associated with hostname
这已经是微信底层的错误了吧,我们开发者能做什么呢,请问如何解决呢?