← Back to team overview

dhis2-devs team mailing list archive

Error when running a db locally

 

I think we should avoid this endless loop in the log:


* ERROR 2014-11-19 14:22:49,723 Error! (AServiceThread.java [KeepAlive
[Clickate
ll]])
java.net.UnknownHostException: api.clickatell.com
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:184)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:1167)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConn
ection.java:1103)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:997)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:931)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLC
onnection.java:1281)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:1256)
        at org.smslib.http.HTTPGateway.HttpPost(HTTPGateway.java:60)
        at
org.smslib.http.ClickatellHTTPGateway.ping(ClickatellHTTPGateway.java
:258)
        at
org.smslib.http.ClickatellHTTPGateway$KeepAlive.process(ClickatellHTT
PGateway.java:434)
        at org.smslib.threading.AServiceThread.run(AServiceThread.java:105)
* ERROR 2014-11-19 14:22:49,726 Error! (AServiceThread.java [KeepAlive
[Clickate
ll]])
java.net.UnknownHostException: api.clickatell.com
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:184)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:1167)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConn
ection.java:1103)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:997)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:931)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLC
onnection.java:1281)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:1256)
        at org.smslib.http.HTTPGateway.HttpPost(HTTPGateway.java:60)
        at
org.smslib.http.ClickatellHTTPGateway.ping(ClickatellHTTPGateway.java
:258)
        at
org.smslib.http.ClickatellHTTPGateway$KeepAlive.process(ClickatellHTT
PGateway.java:434)
        at org.smslib.threading.AServiceThread.run(AServiceThread.java:105)
* ERROR 2014-11-19 14:22:49,728 Error! (AServiceThread.java [KeepAlive
[Clickate
ll]])
java.net.UnknownHostException: api.clickatell.com
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:184)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:1167)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConn
ection.java:1103)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:997)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:931)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLC
onnection.java:1281)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:1256)
        at org.smslib.http.HTTPGateway.HttpPost(HTTPGateway.java:60)
        at
org.smslib.http.ClickatellHTTPGateway.ping(ClickatellHTTPGateway.java
:258)
        at
org.smslib.http.ClickatellHTTPGateway$KeepAlive.process(ClickatellHTT
PGateway.java:434)
        at org.smslib.threading.AServiceThread.run(AServiceThread.java:105)
* ERROR 2014-11-19 14:22:49,732 Error! (AServiceThread.java [KeepAlive
[Clickate
ll]])
java.net.UnknownHostException: api.clickatell.com
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:184)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:1167)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConn
ection.java:1103)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:997)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:931)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLC
onnection.java:1281)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:1256)
        at org.smslib.http.HTTPGateway.HttpPost(HTTPGateway.java:60)
        at
org.smslib.http.ClickatellHTTPGateway.ping(ClickatellHTTPGateway.java
:258)
        at
org.smslib.http.ClickatellHTTPGateway$KeepAlive.process(ClickatellHTT
PGateway.java:434)
        at org.smslib.threading.AServiceThread.run(AServiceThread.java:105)
* ERROR 2014-11-19 14:22:49,735 Error! (AServiceThread.java [KeepAlive
[Clickate
ll]])
java.net.UnknownHostException: api.clickatell.com
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:184)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:1167)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConn
ection.java:1103)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:997)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:931)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLC
onnection.java:1281)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:1256)
        at org.smslib.http.HTTPGateway.HttpPost(HTTPGateway.java:60)
        at
org.smslib.http.ClickatellHTTPGateway.ping(ClickatellHTTPGateway.java
:258)
        at
org.smslib.http.ClickatellHTTPGateway$KeepAlive.process(ClickatellHTT
PGateway.java:434)
        at org.smslib.threading.AServiceThread.run(AServiceThread.java:105)
* ERROR 2014-11-19 14:22:49,737 Error! (AServiceThread.java [KeepAlive
[Clickate
ll]])
java.net.UnknownHostException: api.clickatell.com
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:184)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:1167)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConn
ection.java:1103)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:997)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:931)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLC
onnection.java:1281)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:1256)
        at org.smslib.http.HTTPGateway.HttpPost(HTTPGateway.java:60)
        at
org.smslib.http.ClickatellHTTPGateway.ping(ClickatellHTTPGateway.java
:258)
        at
org.smslib.http.ClickatellHTTPGateway$KeepAlive.process(ClickatellHTT
PGateway.java:434)
        at org.smslib.threading.AServiceThread.run(AServiceThread.java:105)
* ERROR 2014-11-19 14:34:53,517 Error! (AServiceThread.java [KeepAlive
[Clickate
ll]])
java.net.SocketTimeoutException: connect timed out
        at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
        at
java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketI
mpl.java:85)
        at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.ja
va:345)
        at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocket
Impl.java:206)
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:188)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:1167)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConn
ection.java:1103)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:997)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:931)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLC
onnection.java:1281)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:1256)
        at org.smslib.http.HTTPGateway.HttpPost(HTTPGateway.java:60)
        at
org.smslib.http.ClickatellHTTPGateway.ping(ClickatellHTTPGateway.java
:258)
        at
org.smslib.http.ClickatellHTTPGateway$KeepAlive.process(ClickatellHTT
PGateway.java:434)
        at org.smslib.threading.AServiceThread.run(AServiceThread.java:105)
* ERROR 2014-11-19 14:35:13,520 Error! (AServiceThread.java [KeepAlive
[Clickate
ll]])
java.net.SocketTimeoutException: connect timed out
        at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
        at
java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketI
mpl.java:85)
        at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.ja
va:345)
        at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocket
Impl.java:206)
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:188)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:1167)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConn
ection.java:1103)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:997)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:931)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLC
onnection.java:1281)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:1256)
        at org.smslib.http.HTTPGateway.HttpPost(HTTPGateway.java:60)
        at
org.smslib.http.ClickatellHTTPGateway.ping(ClickatellHTTPGateway.java
:258)
        at
org.smslib.http.ClickatellHTTPGateway$KeepAlive.process(ClickatellHTT
PGateway.java:434)
        at org.smslib.threading.AServiceThread.run(AServiceThread.java:105)