who is "stats.coronalabs.com" and why is it crashing my app on resume? (Android)

In the logcat following a resume:

the first is my message from a system event listener printing event.type

the rest are system-level messages

I/Corona (27730): #EGHZ# SYS.EVNT applicationResume (@ 14310 ^ 111) E/Corona (27730): ERROR: Unable to resolve host "stats.coronalabs.com": No addr ess associated with hostname W/System.err(27730): java.net.UnknownHostException: Unable to resolve host "stat s.coronalabs.com": No address associated with hostname W/System.err(27730): at java.net.InetAddress.lookupHostByName(InetAddress.jav a:424) W/System.err(27730): at java.net.InetAddress.getAllByNameImpl(InetAddress.jav a:236) W/System.err(27730): at java.net.InetAddress.getAllByName(InetAddress.java:21 4) W/System.err(27730): at com.android.okhttp.internal.Dns$1.getAllByName(Dns.ja va:28) W/System.err(27730): at com.android.okhttp.internal.http.RouteSelector.resetN extInetSocketAddress(RouteSelector.java:216) W/System.err(27730): at com.android.okhttp.internal.http.RouteSelector.next(R outeSelector.java:122) W/System.err(27730): at com.android.okhttp.internal.http.HttpEngine.connect(H ttpEngine.java:292) W/System.err(27730): at com.android.okhttp.internal.http.HttpEngine.sendSocke tRequest(HttpEngine.java:255) W/System.err(27730): at com.android.okhttp.internal.http.HttpEngine.sendReque st(HttpEngine.java:206) W/System.err(27730): at com.android.okhttp.internal.http.HttpURLConnectionImp l.execute(HttpURLConnectionImpl.java:345) W/System.err(27730): at com.android.okhttp.internal.http.HttpURLConnectionImp l.connect(HttpURLConnectionImpl.java:89) W/System.err(27730): at com.android.okhttp.internal.http.HttpURLConnectionImp l.getOutputStream(HttpURLConnectionImpl.java:197) W/System.err(27730): at network.NetworkRequest$AsyncNetworkRequestRunnable.ru n(NetworkRequest.java:1332) W/System.err(27730): at java.lang.Thread.run(Thread.java:841) W/System.err(27730): Caused by: libcore.io.GaiException: getaddrinfo failed: EAI \_NODATA (No address associated with hostname) W/System.err(27730): at libcore.io.Posix.getaddrinfo(Native Method) W/System.err(27730): at libcore.io.ForwardingOs.getaddrinfo(ForwardingOs.java :61) W/System.err(27730): at java.net.InetAddress.lookupHostByName(InetAddress.jav a:405) W/System.err(27730): ... 13 more

At this point app is completely hung on black screen.  Only thing I could think of was analytics, but I’m not using it at all (not even licensed to build with it).

hi dave!

I have the same problem, has you  resolved it yet?? 

Thanks in advance

May be it is the Corona LaunchPad? Try disabling it.

http://docs.coronalabs.com/guide/basics/configSettings/index.html#analytics

What build are you using?

I looked into this and while that stacktrace is output when there’s a problem resolving a server name (the internet isn’t a reliable arena, some number of valid requests will fail for a variety of transient reasons at different times), it doesn’t affect the running application.

My experiment was to build an app with an incorrect name for the analytics server (so the lookup will always fail) and put a 1 second counter on the screen.  When the stacktrace was triggered, the counter kept on counting.  Suspending and resuming the app was one scenario I tried and it worked perfectly.

So I guess something else must be stopping your app from coming back from the suspended state reliably.  If you can figure it out and send up a test case we can look into it.

hi dave!

I have the same problem, has you  resolved it yet?? 

Thanks in advance

May be it is the Corona LaunchPad? Try disabling it.

http://docs.coronalabs.com/guide/basics/configSettings/index.html#analytics

What build are you using?

I looked into this and while that stacktrace is output when there’s a problem resolving a server name (the internet isn’t a reliable arena, some number of valid requests will fail for a variety of transient reasons at different times), it doesn’t affect the running application.

My experiment was to build an app with an incorrect name for the analytics server (so the lookup will always fail) and put a 1 second counter on the screen.  When the stacktrace was triggered, the counter kept on counting.  Suspending and resuming the app was one scenario I tried and it worked perfectly.

So I guess something else must be stopping your app from coming back from the suspended state reliably.  If you can figure it out and send up a test case we can look into it.