[RESOLVED] Network Error from phone

Hey guys,

I’ve just built to a Samsung Galaxy S4, and the network request isn’t reaching the server that it is pointed at. The phone itself is connected via wifi, and the call works via the simulator (and when I was doing early testing, on another phone I no longer have access to). My permissions are:

[lua]android =

    {

        usesPermissions =

        {

            “android.permission.INTERNET”,

            “android.permission.ACCESS_FINE_LOCATION”,

            “android.permission.ACCESS_COURSE_LOCATION”,

        },

        usesFeatures =

        {

            { name = “android.hardware.location”, required = false },

            { name = “android.hardware.location.gps”, required = false },

        }

    },[/lua]

Now I’m pretty sure that the issue has to be that the phone is only connected via wifi, rather than a data connection although I could be wrong. Has anyone got experience with this kind of thing?

Cheers,

Mourdos

Ah, found the issue.

We were using https and the certificate wasn’t trusted for some reason, probably due to this being a prelive enviroment and self signed. Either way, switching to and allowing http traffic to the server removed the certificate issue and fixed it. On live, we have a properly signed https service.

Ah, found the issue.

We were using https and the certificate wasn’t trusted for some reason, probably due to this being a prelive enviroment and self signed. Either way, switching to and allowing http traffic to the server removed the certificate issue and fixed it. On live, we have a properly signed https service.