开发者社区> 问答> 正文

android 开发,在 android6.0.1 vivo Y66上上传失败

11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao I/OSS-Android-SDK: [INFO]: =====[device info]===== [INFO]: android_version:6.0.1 [INFO]: mobile_model:vivo Y66 [INFO]: network_state:connected [INFO]: network_type:WIFI 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao D/OSS-Android-SDK: [Debug]: [call] - 11-07 21:01:07.256 7425-7697/com.scm.aipiano.hetao D/OSS-Android-SDK: [Debug]: signed content: PUT

image/jpeg
Sun, 07 Nov 2021 13:01:06 GMT
x-oss-security-token:CAIS3QJ1q6Ft5B2yfSjIr5DCINfzoZpy/KuqaE7kiTgTOOBYn5X5tDz2IHFNe3ZoCegetvwznWFY6PsSlol4EM8bGECZMpEr4J8L+Fn9M9eQt8Hr4bUO2cb9QDfOU0YlOGFvxKKrIunGc9KBNnow/00amMkEHFfPdlihNoLzxvwDR98LXw6+QCNbDdNNXGVLo9MbMn2jUpTINQXx0FLNEG1iuAd3lRlzi8KFz9ab9wDVgXDj1+YRvP6RGJW/aNR2N5oNc7Xy1edtJK3ay3wSuVoY9KpqhasB+i/D+cmHDx5Y+w3BOuvj6txmKgg+b7YzB6de67qe6PRzob7UjJ+liUQPb+FYTy3YAYO4xOm8QbP3ZopoLuijay+dg4vVb6OY6V10PSgpUypRYMckJ3NKDhghdyrXMKfP+iqRM178FPDViPluicYsngW2oIqQRFuSSrSB3CccO5Y6f+LV8/jXWayKGoABszar6PycYKXZ3opH0Voq2GGI+J6qkd+7o4Br61tm35j65+ayI1dOxvBMqMpIsPkkvvHR7jYyZciS+3xbE12HRpHc2LvEDpRuEZtgxJy8JSiWuWAaiMrDKXFZQEvQAvyLdlTRw97H/O074T03hgGbRdVVsw8IdV7G7wqv5yj0BbU=
/hetao-kpl/prd/app/ai_piano/avatar/SampleCropImage077d7e1f-9d82-4c6f-962b-8ee2e6df62ad.jpg   
 ---------   signature: OSS STS.NSwkmGLESKiAjhUm8F4otpPRV:8nvJ4SwXXWdd62QIIxSMoHTORfo=

11-07 21:01:07.256 7425-7697/com.scm.aipiano.hetao D/OSS-Android-SDK: [Debug]: [httpdnsmini] - refresh host: hetao-kpl.oss-cn-beijing.aliyuncs.com 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao D/OSS-Android-SDK: [Debug]: Can't get a federation token 11-07 21:01:07.256 7425-7425/com.scm.aipiano.hetao E/kpl_coach: ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────── 11-07 21:01:07.256 7425-7697/com.scm.aipiano.hetao D/OSS-Android-SDK: [Debug]: request--------------------- request url=http://59.110.190.128/prd/app/ai_piano/avatar/SampleCropImage077d7e1f-9d82-4c6f-962b-8ee2e6df62ad.jpg request params=null requestHeader [Host]: hetao-kpl.oss-cn-beijing.aliyuncs.com requestHeader [Date]: Sun, 07 Nov 2021 13:01:06 GMT requestHeader [User-Agent]: aliyun-sdk-android/2.4.4(Linux/Android 6.0.1/vivo Y66;MMB29M) requestHeader [Content-Type]: image/jpeg requestHeader [x-oss-security-token]: CAIS3QJ1q6Ft5B2yfSjIr5DCINfzoZpy/KuqaE7kiTgTOOBYn5X5tDz2IHFNe3ZoCegetvwznWFY6PsSlol4EM8bGECZMpEr4J8L+Fn9M9eQt8Hr4bUO2cb9QDfOU0YlOGFvxKKrIunGc9KBNnow/00amMkEHFfPdlihNoLzxvwDR98LXw6+QCNbDdNNXGVLo9MbMn2jUpTINQXx0FLNEG1iuAd3lRlzi8KFz9ab9wDVgXDj1+YRvP6RGJW/aNR2N5oNc7Xy1edtJK3ay3wSuVoY9KpqhasB+i/D+cmHDx5Y+w3BOuvj6txmKgg+b7YzB6de67qe6PRzob7UjJ+liUQPb+FYTy3YAYO4xOm8QbP3ZopoLuijay+dg4vVb6OY6V10PSgpUypRYMckJ3NKDhghdyrXMKfP+iqRM178FPDViPluicYsngW2oIqQRFuSSrSB3CccO5Y6f+LV8/jXWayKGoABszar6PycYKXZ3opH0Voq2GGI+J6qkd+7o4Br61tm35j65+ayI1dOxvBMqMpIsPkkvvHR7jYyZciS+3xbE12HRpHc2LvEDpRuEZtgxJy8JSiWuWAaiMrDKXFZQEvQAvyLdlTRw97H/O074T03hgGbRdVVsw8IdV7G7wqv5yj0BbU= requestHeader [Authorization]: OSS STS.NSwkmGLESKiAjhUm8F4otpPRV:8nvJ4SwXXWdd62QIIxSMoHTORfo= 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao D/OSS-Android-SDK: [Debug]: Encounter local execpiton: java.io.IOException: Can't get a federation token 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao W/System.err: java.io.IOException: Can't get a federation token 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao W/System.err: at com.alibaba.sdk.android.oss.common.utils.OSSUtils.signRequest(OSSUtils.java:571) 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao W/System.err: at com.alibaba.sdk.android.oss.network.OSSRequestTask.call(OSSRequestTask.java:78) 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao W/System.err: at com.alibaba.sdk.android.oss.network.OSSRequestTask.call(OSSRequestTask.java:36) 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237) 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao W/System.err: at java.lang.Thread.run(Thread.java:818) 11-07 21:01:07.256 7425-7790/com.scm.aipiano.hetao D/OSS-Android-SDK: [Debug]: shouldRetry - com.alibaba.sdk.android.oss.ClientException: Can't get a federation token [ErrorMessage]: Can't get a federation token

展开
收起
6qbas6lytgwmm 2021-11-07 21:43:06 707 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
58同城Android客户端Walle框架演进与实践之路 立即下载
Android组件化实现 立即下载
蚂蚁聚宝Android秒级编译——Freeline 立即下载