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

amazon.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    AWS Developer Forums: Unable to resolve host ...

    amazon.com | 8 months ago
    java.net.UnknownHostException: Unable to resolve host "dynamodb.us-east-1.amazonaws.com": No address associated with hostname
  2. 0

    OkHttp fails to return cached response after app cold start when offline

    GitHub | 2 years ago | felipecsl
    java.net.UnknownHostException: Unable to resolve host "api.example.com": No address associated with hostname
  3. 0

    java.lang.Exception: java.net.UnknownHostException: Unable to resolve host "sis.rutgers.edu": No address associated with hostname

    GitHub | 2 years ago | tevjef-crash
    java.lang.Exception: java.net.UnknownHostException: Unable to resolve host "sis.rutgers.edu": No address associated with hostname
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Test

    GitHub | 1 year ago | SlideAutoreport
    java.lang.RuntimeException: An error occured while executing doInBackground()
  6. 0

    crashed when adding certificate-protected wifi

    GitHub | 1 year ago | SlideAutoreport
    java.lang.RuntimeException: An error occured while executing doInBackground()
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.system.GaiException

    android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)

    at libcore.io.Posix.android_getaddrinfo()
  2. Android
    ForwardingOs.android_getaddrinfo
    1. libcore.io.Posix.android_getaddrinfo(Native Method)
    2. libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
    2 frames
  3. Java RT
    InetAddress.getAllByName
    1. java.net.InetAddress.lookupHostByName(InetAddress.java:438)
    2. java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
    3. java.net.InetAddress.getAllByName(InetAddress.java:215)
    3 frames
  4. AWS SDK for Android
    AbstractHttpClient.execute
    1. com.amazonaws.org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
    2. com.amazonaws.org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:278)
    3. com.amazonaws.org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162)
    4. com.amazonaws.org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
    5. com.amazonaws.org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:645)
    6. com.amazonaws.org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:480)
    7. com.amazonaws.org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
    8. com.amazonaws.org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
    8 frames
  5. AWS SDK for Java - Core
    AmazonHttpClient.execute
    1. com.amazonaws.http.AmazonHttpClient.executeHelper(Unknown Source)
    2. com.amazonaws.http.AmazonHttpClient.execute(Unknown Source)
    2 frames
  6. AWS Java SDK for Amazon DynamoDB
    AmazonDynamoDBClient.scan
    1. com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient.invoke(Unknown Source)
    2. com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient.scan(Unknown Source)
    2 frames
  7. AWS SDK for Android
    DynamoDBMapper.scan
    1. com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBMapper.scan(Unknown Source)
    2. com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBMapper.scan(Unknown Source)
    2 frames
  8. com.ikdong.weight
    BackupCloudFragment$3$1.doInBackground
    1. com.ikdong.weight.util.AmazonSyncUtil.queryWeight(AmazonSyncUtil.java:74)
    2. com.ikdong.weight.util.AmazonSyncUtil.loadData(AmazonSyncUtil.java:38)
    3. com.ikdong.weight.widget.fragment.BackupCloudFragment$3$1.doInBackground(BackupCloudFragment.java:91)
    4. com.ikdong.weight.widget.fragment.BackupCloudFragment$3$1.doInBackground(BackupCloudFragment.java:1)
    4 frames
  9. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:288)
    1 frame
  10. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  11. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    1 frame
  12. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames