Internet Access on pre-Android 4.1 causes Corona Error (Hostname was not verified)

Can anyone please help me with this? Corona is generating an error on my Motorola Droid X2 running Android 2.2.2 in that my code seeking a text file online is resulting in a Corona Error.

Code:

params = { }

network.download(("http://mydomain.com/mytextfile.txt"),“GET”,V.networkListener,params,“mytextfile.txt”,system.DocumentsDirectory)

This code work perfectly fine on Android 4.1+

Corona Error:

E Corona : ERROR: Hostname <www.myurl.com> was not verified

Two other points:

  • all http requests are returned from a redirected https page.

  • mydomain has a dedicated IP address and valid SSL certificate.

try a search on min android version with corona i think a 2… is too low.

T.

If you look at the build window for Corona SDK, it says that version 2.3.3 is the minimum Android SDK version.

Your device might have an old enough root certificate bundle that your newer certificate looks invalid because the trust chain fails.

try a search on min android version with corona i think a 2… is too low.

T.

If you look at the build window for Corona SDK, it says that version 2.3.3 is the minimum Android SDK version.

Your device might have an old enough root certificate bundle that your newer certificate looks invalid because the trust chain fails.