jonsaw / amazon-cognito-identity-dart

Unofficial Amazon Cognito Identity Provider Dart SDK, to easily add user sign-up and sign-in to your mobile and web apps with AWS.
MIT License
205 stars 93 forks source link

Failed host lookup with Sample Code #50

Closed thomasuebi closed 5 years ago

thomasuebi commented 5 years ago

Hi there,

trying to implement your aws package to my app. Using the sample code with my aws credentials throws error "'An unknown client error occured';"

"'An unknown client error occured';" is thrown due to following error: 'cognito-idp.us-east-1.amazonaws.com';

https://cognito-idp.us-east-1.amazonaws.com is the official aws endpoint for cognito in my region.

Anyone facing the same problem or has a clue how to fix it?

Thank you so much!

EDIT: I don't know why but after reopening Android Studio it worked. Magic ...