java.net.UnknownHostException

Unable to resolve host "dynamodb.us-east-1.amazonaws.com": No address associated with hostname

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web617

  • via amazon.com by Unknown author, 11 months ago
    Unable to resolve host "dynamodb.us-east-1.amazonaws.com": No address associated with hostname
  • Unable to resolve host "cognito-identity.us-east-1.amazonaws.com": No address associated with hostname
  • Unable to resolve host "cognito-identity.us-east-1.amazonaws.com": No address associated with hostname
  • Stack trace

    • java.net.UnknownHostException: Unable to resolve host "dynamodb.us-east-1.amazonaws.com": No address associated with hostname at java.net.InetAddress.lookupHostByName(InetAddress.java:457) at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252) at java.net.InetAddress.getAllByName(InetAddress.java:215) at com.amazonaws.org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) at com.amazonaws.org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:278) at com.amazonaws.org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162) at com.amazonaws.org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at com.amazonaws.org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:645) at com.amazonaws.org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:480) at com.amazonaws.org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at com.amazonaws.org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at com.amazonaws.http.AmazonHttpClient.executeHelper(Unknown Source) at com.amazonaws.http.AmazonHttpClient.execute(Unknown Source) at com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient.invoke(Unknown Source) at com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient.scan(Unknown Source) at com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBMapper.scan(Unknown Source) at com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBMapper.scan(Unknown Source) at com.ikdong.weight.util.AmazonSyncUtil.queryWeight(AmazonSyncUtil.java:74) at com.ikdong.weight.util.AmazonSyncUtil.loadData(AmazonSyncUtil.java:38) at com.ikdong.weight.widget.fragment.BackupCloudFragment$3$1.doInBackground(BackupCloudFragment.java:91) at com.ikdong.weight.widget.fragment.BackupCloudFragment$3$1.doInBackground(BackupCloudFragment.java:1) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname) at libcore.io.Posix.android_getaddrinfo(Native Method) at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55) at java.net.InetAddress.lookupHostByName(InetAddress.java:438) ... 26 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    17 times, 3 weeks ago
    3 times, 3 weeks ago
    2 times, 1 month ago
    4 times, 1 month ago
    2 times, 5 months ago
    38 more bugmates