stats.coronalabs.com

When I start my app I am getting the screen go black for 10 seconds then in logcat;

ERROR: unable to resolve host “stats.coronalabs.com”: No address associated with hostname

it only happens on a real device.

What does this mean?

I should add that I have not seen this before, but last night I moved to build 2016.2830

Do you guys collect info on apps, by getting the app to talk to your server?

I don’t have a problem with this exactly, but if you could do it after the first scene is loaded, that way there isn’t a black screen for 10 seconds if internet is off… also what if app is designed to work with devices that do not have internet, don’t want black screen everytime it starts.

I’m checking on this. I know in the past that we’ve collected usage information and documented what we collected. I’m verifying the accuracy of that.

I have my device in Airplane mode a lot and I’ve never seen a 10 second delay. Since it was unable to resolve the  host name, I suspect your internet provider may have been having DNS issues. You can test by turning off your network connect or putting your device into Airplane mode and see if the same problem occurs.

Rob

It works when in plane mode. I guess your code doesn’t even attempt a connection in that case… i had the problem when i was connected to a network but without internet…

Admittedly that should hardly ever happen… just never seen it before.

Here is some more information.

Yes, we do collect stats at stats.corornalabs.com. You can read about what we collect here:

https://coronalabs.com/privacy-policy/privacy-policy-for-app-users/

Our stats call is asynchronous. That means it doesn’t block. You should not get a timeout like this from this. However that said, there are some older Android devices with flaky network access where we will see DNS errors in the console, but they shouldn’t block and wouldn’t likely be the cause of this. You wouldn’t notice them unless you were specifically looking for them.

If you can reproduce this, we would love a bug report on it. Do you have any other networking going on in your apps? Trying to show ads, init in app purchases etc?

Rob

Do you guys collect info on apps, by getting the app to talk to your server?

I don’t have a problem with this exactly, but if you could do it after the first scene is loaded, that way there isn’t a black screen for 10 seconds if internet is off… also what if app is designed to work with devices that do not have internet, don’t want black screen everytime it starts.

I’m checking on this. I know in the past that we’ve collected usage information and documented what we collected. I’m verifying the accuracy of that.

I have my device in Airplane mode a lot and I’ve never seen a 10 second delay. Since it was unable to resolve the  host name, I suspect your internet provider may have been having DNS issues. You can test by turning off your network connect or putting your device into Airplane mode and see if the same problem occurs.

Rob

It works when in plane mode. I guess your code doesn’t even attempt a connection in that case… i had the problem when i was connected to a network but without internet…

Admittedly that should hardly ever happen… just never seen it before.

Here is some more information.

Yes, we do collect stats at stats.corornalabs.com. You can read about what we collect here:

https://coronalabs.com/privacy-policy/privacy-policy-for-app-users/

Our stats call is asynchronous. That means it doesn’t block. You should not get a timeout like this from this. However that said, there are some older Android devices with flaky network access where we will see DNS errors in the console, but they shouldn’t block and wouldn’t likely be the cause of this. You wouldn’t notice them unless you were specifically looking for them.

If you can reproduce this, we would love a bug report on it. Do you have any other networking going on in your apps? Trying to show ads, init in app purchases etc?

Rob