Aws-sdk-android: Upload Fails with error Log tag "AwsChunkedEncodingInputStream" exceeds limit of 23 characters

Created on 1 Aug 2019  路  11Comments  路  Source: aws-amplify/aws-sdk-android

State your question
Getting error while uploading any file from Android 6.0.1

Which AWS Services are you utilizing? - S3

Provide code snippets (if applicable)
08-01 09:39:43.977 8286-9177/? D/UploadTask: Failed to upload: 2 due to Log tag "AwsChunkedEncodingInputStream" exceeds limit of 23 characters
铻㈠箷蹇収 2019-08-01 涓婂崍10 28 02

Environment(please complete the following information):

  • SDK Version: 2.13.1

Device Information (please complete the following information):

  • Device : LENOVO Lenovo PB2-690M
  • Android Version: [e.g. Marshmallow 6.0.1]
  • Specific to simulators: No
Bug S3

All 11 comments

@lionheart1060 Thanks for reporting the problem. Can you please work off of the PR and let us know if it fixes your issue?

@desokroshan Thanks for reply
I'm kinda new to android studio, i should be using sdk version : 2.14.2 on branch roshan/Issue#1103
? But i can't find the newest version though...铻㈠箷蹇収 2019-08-02 涓嬪崍2 37 24

Version 2.14.2 isn't published yet so you will not be able to find it in Android Studio. You can do the following to use the PR code in you app :

  1. In a freshly cloned repo, checkout the branch "roshan/Issue#1103"
  2. Import the "aws-android-sdk-s3" module by File -> New -> Import Module..., provide path to aws-android-sdk-s3 module from the branch above and follow the dialog instructions to add the module. You should now be able to see module called aws-android-sdk-s3 in the project navigator on the left-hand side.
  3. Add dependency on the newly added module as api project(':aws-android-sdk-s3') in the app's build.gradle

You should now be able to use the source code in PR in your app. Let me know if you have issues.

Thanks a lot, it worked!

Thanks a lot, it worked!

Thanks for the confirmation. I will work on getting the PR out in next release.

@desokroshan My apologies. Seems like version 2.15.0 will include the modifications of long log tags, any information for release date? Issue #1105 was merged around 5 days ago though.
Thanks.

@desokroshan Hi. I'm glad that version 2.15.0 is now released, but now i'm still encountering the problem for every log tag that is over 23 characters.
铻㈠箷蹇収 2019-08-20 涓嬪崍6 32 59

Please revisit the issue again.

@lionheart1060 The fix has been released in the latest version 2.15.0. Please let us know if you face any issues. Thanks!

@desokroshan Sorry, I'm having the problem actually using 2.15.0 though... (when I'm constructing AmazonS3Client in this case above)

@datkinnguyen My apologies, seems like i'm using the outdated org.apache.commons.logging.LogFactory which doesn't implement getLog (i suppose?). It works fine now after modifying my source using the latest version.

Thanks a lot for solving the issue, really appreciated!

Thanks for the confirmation. Closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

logo17 picture logo17  路  3Comments

devxpy picture devxpy  路  4Comments

amadeu01 picture amadeu01  路  3Comments

mockturtl picture mockturtl  路  4Comments

chorniyn picture chorniyn  路  3Comments