我用 oss_ios_demo 上传一张图片 为什么一直不能上传成功 参数都有设置 求帮助
Wed, 11 Nov 2015 02:11:30 GMT
/yunlutong/889.png[;
2015-11-11 10:11:30.900 oss_ios_demo[58951:6226522] [fg0,255,0;start to build request[;
2015-11-11 10:11:30.900 oss_ios_demo[58951:6226522] [fg0,255,0;resolved host (null) and get ip: (null)[;
2015-11-11 10:11:30.900 oss_ios_demo[58951:6226522] [fg0,255,0;built full url: (null)://(null)/889.png[;
2015-11-11 10:11:30.901 oss_ios_demo[58951:6226522] [fg0,0,255;buidlInternalHttpRequest -
method: PUT
url: (null)://(null)/889.png
header: {
Authorization = "OSS 1iDx2qvdsMLEA42dolH7TLj0ldtCDa:6HoclE9i4DnIThacAdYQTE1HIag=";
"Content-Disposition" = "";
"Content-Encoding" = "";
"Content-MD5" = "";
"Content-Type" = "";
Date = "Wed, 11 Nov 2015 02:11:30 GMT";
"User-Agent" = "MBAAS_OSS_IOS_2.0.2_iPhone-OS_8.4_zh-Hans_US";
}[;
2015-11-11 10:11:30.902 oss_ios_demo[58951:6226453] [fg0,255,0;networking request completed with error: Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo=0x7fa6106ceab0 {NSUnderlyingError=0x7fa61051dec0 "The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -1002.)", NSErrorFailingURLStringKey=(null)://(null)/889.png, NSErrorFailingURLKey=(null)://(null)/889.png, NSLocalizedDescription=unsupported URL}[;
2015-11-11 10:11:30.903 oss_ios_demo[58951:6226453] [fg0,0,255;current retry count: 1, retry type: 2[;
2015-11-11 10:11:30.903 oss_ios_demo[58951:6226453] objectKey: 889.png
2015-11-11 10:11:30.904 oss_ios_demo[58951:6226453] upload object failed, error: Error Domain=com.aliyun.oss.clientError Code=6 "unsupported URL" UserInfo=0x7fa610425670 {OriginErrorCode=-1002, NSErrorFailingURLStringKey=(null)://(null)/889.png, NSErrorFailingURLKey=(null)://(null)/889.png, NSUnderlyingError=0x7fa61051dec0 "The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -1002.)", NSLocalizedDescription=unsupported URL}
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。