-
Notifications
You must be signed in to change notification settings - Fork 116
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
Getting java.net.UnknownHostException: Unable to resolve host "cognito-idp.ap-south-1.amazonaws.com": No address associated with hostname #2864
Comments
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. |
@Manav122000 Were you able to resolve your issue? A couple clarification questions, is your amplify configuration file named Also, it looks like the configuration is missing two fields. Can you regenerate or download the last amplify_outputs file and make sure it's up to date and has the following fields for auth? |
This issue is now closed. Comments on closed issues are hard for our team to see. |
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
#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
The text was updated successfully, but these errors were encountered: