Amab / SWADroid

Android client for e-learning platform SWAD (http://openswad.org/).
https://play.google.com/store/apps/details?id=es.ugr.swad.swadroid
GNU General Public License v3.0
21 stars 18 forks source link

java.net.UnknownHostException: Unable to resolve host "swad.ugr.es": No address associated with hostname #44

Closed Amab closed 11 years ago

Amab commented 11 years ago
java.net.UnknownHostException: Unable to resolve host "swad.ugr.es": No address associated with hostname
at java.net.InetAddress.lookupHostByName(InetAddress.java:394)
at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
at java.net.InetAddress.getAllByName(InetAddress.java:214)
at libcore.net.http.HttpConnection.<init>(HttpConnection.java:70)
at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)
at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)
at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:316)
at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:461)
at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.connect(HttpsURLConnectionImpl.java:442)
at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)
at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)
at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:81)
at libcore.net.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:197)
at libcore.net.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:281)
at org.ksoap2.transport.HttpsServiceConnectionSE.openOutputStream(HttpsServiceConnectionSE.java:123)
at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:179)
at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:116)
at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:111)
at es.ugr.swad.swadroid.modules.notifications.NotificationsSyncAdapterService.sendRequest(NotificationsSyncAdapterService.java:283)
at es.ugr.swad.swadroid.modules.notifications.NotificationsSyncAdapterService.performSync(NotificationsSyncAdapterService.java:334)
at es.ugr.swad.swadroid.modules.notifications.NotificationsSyncAdapterService.access$5(NotificationsSyncAdapterService.java:305)
at es.ugr.swad.swadroid.modules.notifications.NotificationsSyncAdapterService$SyncAdapterImpl.onPerformSync(NotificationsSyncAdapterService.java:106)
at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:254)
java.net.UnknownHostException: Unable to resolve host "swad.ugr.es": No address associated with hostname
at java.net.InetAddress.lookupHostByName(InetAddress.java:394)
at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
at java.net.InetAddress.getAllByName(InetAddress.java:214)
at libcore.net.http.HttpConnection.<init>(HttpConnection.java:70)
at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)
at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)
at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:316)
at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:461)
at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.connect(HttpsURLConnectionImpl.java:442)
at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)
at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)
at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:81)
at libcore.net.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:197)
at libcore.net.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:281)
at org.ksoap2.transport.HttpsServiceConnectionSE.openOutputStream(HttpsServiceConnectionSE.java:123)
at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:179)
at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:116)
at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:111)
at es.ugr.swad.swadroid.modules.notifications.NotificationsSyncAdapterService.sendRequest(NotificationsSyncAdapterService.java:283)
at es.ugr.swad.swadroid.modules.notifications.NotificationsSyncAdapterService.performSync(NotificationsSyncAdapterService.java:334)
at es.ugr.swad.swadroid.modules.notifications.NotificationsSyncAdapterService.access$5(NotificationsSyncAdapterService.java:305)
at es.ugr.swad.swadroid.modules.notifications.NotificationsSyncAdapterService$SyncAdapterImpl.onPerformSync(NotificationsSyncAdapterService.java:106)
at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:254)
983045775 commented 7 years ago

No connection to network or WiFi

Amab commented 7 years ago

@983045775 I just checked the connection between SWADroid and swad.ugr.es and it works correctly. It can be a punctual incident in the network.