java.net.UnknownHostException: api.twitter.com   > at java.net.AbstractPlainSocketImpl.connect(Unknown Source)   > ~[na:1.7.0_17] > at java.net.PlainSocketImpl.connect(Unknown Source) ~[na:1.7.0_17]   > at java.net.SocksSocketImpl.connect(Unknown Source) ~[na:1.7.0_17]   > at java.net.Socket.connect(Unknown Source) ~[na:1.7.0_17]   > at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)   > ~[na:1.7.0_17] > at sun.net.NetworkClient.doConnect(Unknown Source) ~[na:1.7.0_17]   > at sun.net.www.http.HttpClient.openServer(Unknown Source)   > ~[na:1.7.0_17] > at sun.net.www.http.HttpClient.openServer(Unknown Source)   > ~[na:1.7.0_17] > at sun.net.www.protocol.https.HttpsClient.(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.HttpsClient.New(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown   > Source) ~[na:1.7.0_17] > at java.net.HttpURLConnection.getResponseCode(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown   > Source) ~[na:1.7.0_17] > at twitter4j.internal.http.HttpResponseImpl.(HttpResponseImpl.java:34)

nabble.com | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Camel - Users - Unknown Host Exception when using Twitter Endpoint

    nabble.com | 6 months ago
    java.net.UnknownHostException: api.twitter.com   > at java.net.AbstractPlainSocketImpl.connect(Unknown Source)   > ~[na:1.7.0_17] > at java.net.PlainSocketImpl.connect(Unknown Source) ~[na:1.7.0_17]   > at java.net.SocksSocketImpl.connect(Unknown Source) ~[na:1.7.0_17]   > at java.net.Socket.connect(Unknown Source) ~[na:1.7.0_17]   > at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)   > ~[na:1.7.0_17] > at sun.net.NetworkClient.doConnect(Unknown Source) ~[na:1.7.0_17]   > at sun.net.www.http.HttpClient.openServer(Unknown Source)   > ~[na:1.7.0_17] > at sun.net.www.http.HttpClient.openServer(Unknown Source)   > ~[na:1.7.0_17] > at sun.net.www.protocol.https.HttpsClient.(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.HttpsClient.New(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown   > Source) ~[na:1.7.0_17] > at java.net.HttpURLConnection.getResponseCode(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown   > Source) ~[na:1.7.0_17] > at twitter4j.internal.http.HttpResponseImpl.(HttpResponseImpl.java:34)

    Root Cause Analysis

    1. java.net.UnknownHostException

      api.twitter.com   > at java.net.AbstractPlainSocketImpl.connect(Unknown Source)   > ~[na:1.7.0_17] > at java.net.PlainSocketImpl.connect(Unknown Source) ~[na:1.7.0_17]   > at java.net.SocksSocketImpl.connect(Unknown Source) ~[na:1.7.0_17]   > at java.net.Socket.connect(Unknown Source) ~[na:1.7.0_17]   > at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)   > ~[na:1.7.0_17] > at sun.net.NetworkClient.doConnect(Unknown Source) ~[na:1.7.0_17]   > at sun.net.www.http.HttpClient.openServer(Unknown Source)   > ~[na:1.7.0_17] > at sun.net.www.http.HttpClient.openServer(Unknown Source)   > ~[na:1.7.0_17] > at sun.net.www.protocol.https.HttpsClient.(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.HttpsClient.New(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown   > Source) ~[na:1.7.0_17] > at java.net.HttpURLConnection.getResponseCode(Unknown   > Source) ~[na:1.7.0_17] > at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown   > Source) ~[na:1.7.0_17] > at twitter4j.internal.http.HttpResponseImpl.(HttpResponseImpl.java:34)

      at twitter4j.internal.http.HttpClientImpl.request()
    2. twitter4j.internal.http
      HttpClientImpl.request
      1. twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:141)
      1 frame