Closed felmoreno1726 closed 5 years ago
@felmoreno1726 Sorry for the inconvenience caused. This issue mainly occurs when the encryption key used to store data is deleted and the new encryption key generated is not able to delete the encrypted data.
I am actively working on a fix as part of #937. I will post an update when there is a PR for testing and when the release will be out.
This issue is only present in of the latest sdk updates? I don't see the bug showing up anymore after downgrading to aws_version 2.12.1
@felmoreno1726 Yes. This issue is present only from 2.12.3
version of the SDK where the credentials stored on the device will be encrypted before storing. The summary of the changes are present here: https://github.com/aws-amplify/aws-sdk-android/blob/master/CHANGELOG.md#release-2123
Downgrading the SDK to 2.12.1
is a potential workaround, however I am working on to fix the bugs related to the crash with improvements to the encrpytion key management mechanism.
We released a fix for this on 2.15.1. Please let us know if you have any questions or continue to see crashes related to retrieving encrypted data.
I'm on 2.15.2 and I get the same error.
@christina-immanuel Thanks for the feedback. We will investigate and get back to you.
Same issue here. Any news?
@RWOverdijk What version of the SDK are you using? We released a fix for this on 2.15.1. Please let us know if you have any questions or continue to see crashes related to retrieving encrypted data after upgrading to the latest.
Disabling backups worked so I didn't check again.
Closing the issue as 2.15.1 contains the fix.
I beg for this issue to be opened up back. It happened has happened twice. And I am using the latest version of the sdk. It happened on Sunday and disappeared Monday, and now it has happened again. This behavior happens when you uninstall your app and try to reinstall it.
@Crisp3333 What version of the SDK are you using? Can you please upgrade to the latest: 2.16.3? We fixed this issue in 2.15.1.
Also if you notice any issues after upgrading to 2.16.3, please post the complete the stacktrace and a code snippet and contents of your build.gradle, the Android API level, device specific details where the issue occurs.
@kvasukib sorry for the late reply, my app is using 2.15.1. I have fixed the issue today. What I did was go to my app settings in android App Info -> Storage -> Clear data. I think after deleting the app, various data for the app are still on the device, and when you download it again it is using/refering that same stale data/credentials which I believe cause Missing required parameter REFRESH_TOKEN
.
@Crisp3333 Thank you for confirming. I am aware of the Missing required parameter REFRESH_TOKEN.
issue and 2.15.1
contains the fix for it as well. I recommend clearing the app data, however the SDK has exception handling implemented for errors coming from the persistent store and you shouldn't be seeing this error starting 2.15.1
.
I recommend uninstalling and re-installing the app in the worst case if this persists.
Thank you, I will definitely do that should this problem pops up again.
Describe the bug Amazon crash on initialization of CognitioCachingCredentialsProvider.
To Reproduce A code sample or steps:
Which AWS service(s) are affected? I am trying to user the Amazon polly service
Expected behavior A clear and concise description of what you expected to happen. The code shown should initialize a TTS client.
Screenshots This is the application log:
Environment Information (please complete the following information):
Additional context Weirdly enough I have been able to start and use the service when I create the TTS client from within another Handler class, but not when it is main Activity that creates the UtteranceHandler instance.
Thanks