Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload Fails with error Log tag "AwsChunkedEncodingInputStream" exceeds limit of 23 characters #1103

Closed
lionheart1060 opened this issue Aug 1, 2019 · 11 comments
Assignees
Labels
bug Something isn't working s3 Issues with the AWS Android SDK for Simple Storage Service (S3).

Comments

@lionheart1060
Copy link

lionheart1060 commented Aug 1, 2019

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
@desokroshan desokroshan self-assigned this Aug 1, 2019
@desokroshan desokroshan added s3 Issues with the AWS Android SDK for Simple Storage Service (S3). bug Something isn't working labels Aug 1, 2019
@desokroshan
Copy link
Contributor

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

@desokroshan desokroshan added the pending-community-response Issue is pending response from the issue requestor label Aug 1, 2019
@lionheart1060
Copy link
Author

@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

@desokroshan
Copy link
Contributor

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.

@lionheart1060
Copy link
Author

Thanks a lot, it worked!

@desokroshan
Copy link
Contributor

Thanks a lot, it worked!

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

@desokroshan desokroshan added pending-release Code has been merged but pending release and removed pending-community-response Issue is pending response from the issue requestor labels Aug 9, 2019
@lionheart1060
Copy link
Author

@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.

@lionheart1060
Copy link
Author

lionheart1060 commented Aug 20, 2019

@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.

@desokroshan
Copy link
Contributor

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

@desokroshan desokroshan added closing soon Issue will auto-close if there is no additional activity within 7 days. and removed pending-release Code has been merged but pending release labels Aug 20, 2019
@stale stale bot removed the closing soon Issue will auto-close if there is no additional activity within 7 days. label Aug 20, 2019
@lionheart1060
Copy link
Author

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

@lionheart1060
Copy link
Author

lionheart1060 commented Aug 21, 2019

@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!

@desokroshan
Copy link
Contributor

Thanks for the confirmation. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working s3 Issues with the AWS Android SDK for Simple Storage Service (S3).
Projects
None yet
Development

No branches or pull requests

2 participants