# Ionic run android works BUT apk does not access internet

**URL:** <https://forum.ionicframework.com/t/ionic-run-android-works-but-apk-does-not-access-internet/3867>\
**Category:** ionic-v1\
**Created:** [May 7, 2014, 10:27am UTC](https://forum.ionicframework.com/t/ionic-run-android-works-but-apk-does-not-access-internet/3867 "2014-05-07T10:27:22Z")\
**Posts on this page:** 1\
**Showing post:** 32

<div class="post-metadata">

**Author:** ![tomkuipers](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/tomkuipers/32/12918_2.png) [@tomkuipers](https://forum.ionicframework.com/u/tomkuipers)\
**Post date:** [February 23, 2016, 11:43pm UTC](https://forum.ionicframework.com/t/ionic-run-android-works-but-apk-does-not-access-internet/3867/32 "2016-02-23T23:43:22Z")

</div>

See my comment on how to resolve this:

> [@From http to https -- preparing the app](https://forum.ionicframework.com/t/from-http-to-https-preparing-the-app/26926/5):
>
> Beware that on Android handling of ssl connections is different for debug and release versions of your apk. I learned this the hard way. Self-signed certificates work in debug mode but not in release mode. Test if your setup will work in release mode by setting ‘android:debuggable=“false”’ in your manifest file. Also run an ssl validation check such as [https://www.digicert.com/help/](https://www.digicert.com/help/) to check for certificate chain issues. These will also fail in release mode but work in debug mode. I used the d…

You can test your certificate with online tools and then you have to resolve any found (chain) issues.

---

_[View the full topic](https://forum.ionicframework.com/t/ionic-run-android-works-but-apk-does-not-access-internet/3867)._
