Open Manav122000 opened 1 week ago
Sorry if this sounds like a simple question, but does your device have internet connection? UnknownHostException will be seen when the device is completely disconnected from internet.
Another issue could be that the device time is set incorrectly, proxy is blocking url, etc.
If none of these issues are present, please reply with the amplify version being used, and code snippets to how Amplify is being configured and login code being used.
Before opening, please confirm:
Language and Async Model
Kotlin
Amplify Categories
Authentication
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
https://github.com/aws-amplify/amplify-android/issues/2542
Describe the bug
I have been getting
java.net.UnknownHostException: Unable to resolve host "cognito-idp.ap-south-1.amazonaws.com": No address associated with hostname, recoverySuggestion=Sorry, we don’t have a recovery suggestion for this error.
exception while trying to develop a mobile application while executing Step 6(Implement login UI).Reproduction steps (if applicable)
No response
Code Snippet
Log output
amplifyconfiguration.json
GraphQL Schema
Additional information and screenshots
No response