1. Hey! Guest! The 35th GMC Jam will take place between November 28th, 12:00 UTC - December 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Android HTTP traffic is not permitted on Gms2 latest update!

Discussion in 'GameMaker Studio 2 Community Tech Support' started by issam, Oct 28, 2019.

  1. issam

    issam Member

    Joined:
    Aug 5, 2016
    Posts:
    60
    Hello,
    I am trying to update my application for the android devices but I have a problem that my app is working fine on test or windows export but its stuck on android export at the point when downloading some data from hostinger website!
    Any help please?
    here few output data:
    Code:
    10-28 23:19:35.474 31027 31066 I yoyo    : Entering main loop.
    10-28 23:19:35.474 31027 31066 I yoyo    : **********************************.
    10-28 23:19:35.474 31027 31066 I yoyo    : MANUFACTURER = samsung
    10-28 23:19:36.468 31027 31066 I yoyo    : vsync timeout...
    10-28 23:19:36.632 31027 31066 I yoyo    : vsync timeout...
    10-28 23:19:36.732 31027 31027 I Ads     : Use AdRequest.Builder.addTestDevice("B9578D814746B30261CEEB23C9772358") to get test ads on this device.
    10-28 23:19:36.767 31027 31066 I yoyo    : vsync timeout...
    10-28 23:19:36.946 31027 31066 I yoyo    : vsync timeout...
    10-28 23:19:37.106 31027 31066 I yoyo    : vsync timeout...
    10-28 23:19:37.407 31027 31066 I yoyo    : GAMEPAD: Enumeration complete
    10-28 23:19:38.679 31027 31296 W Ads     : Not retrying to fetch app settings
    10-28 23:19:38.738 31027 31066 I yoyo    : 20
    10-28 23:19:38.902 31027 31027 I Ads     : Use AdRequest.Builder.addTestDevice("B9578D814746B30261CEEB23C9772358") to get test ads on this device.
    10-28 23:19:38.995 31027 31301 W Ads     : Not retrying to fetch app settings
    10-28 23:19:39.001  4193 29594 E Ads     : Error waiting for future.
    10-28 23:19:39.001  4193 29594 E Ads     : java.util.concurrent.TimeoutException
    10-28 23:19:39.001  4193 29594 E Ads     :     at java.util.concurrent.FutureTask.get(FutureTask.java:206)
    10-28 23:19:39.001  4193 29594 E Ads     :     at com.google.android.gms.ads.internal.util.future.f.a(:com.google.android.gms@19420033@19.4.20 (100300-271418971):4)
    10-28 23:19:39.001  4193 29594 E Ads     :     at com.google.android.gms.ads.cache.m.a(:com.google.android.gms@19420033@19.4.20 (100300-271418971):4)
    10-28 23:19:39.001  4193 29594 E Ads     :     at com.google.android.gms.ads.nonagon.signals.gmscore.p.call(Unknown Source:8)
    10-28 23:19:39.001  4193 29594 E Ads     :     at bqvv.b(Unknown Source:2)
    10-28 23:19:39.001  4193 29594 E Ads     :     at bqur.run(:com.google.android.gms@19420033@19.4.20 (100300-271418971):3)
    10-28 23:19:39.001  4193 29594 E Ads     :     at bqvt.run(:com.google.android.gms@19420033@19.4.20 (100300-271418971):2)
    10-28 23:19:39.001  4193 29594 E Ads     :     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    10-28 23:19:39.001  4193 29594 E Ads     :     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    10-28 23:19:39.001  4193 29594 E Ads     :     at java.lang.Thread.run(Thread.java:764)
    10-28 23:19:39.137  4193 31416 I Ads     : SDK version: afma-sdk-a-v19649999.15000000.1
    10-28 23:19:39.209  4193 31418 I Ads     : SDK version: afma-sdk-a-v19649999.15000000.1
    10-28 23:19:39.585 31027 31027 I yoyo    : Banner Ad onAdFailedToLoad
    10-28 23:19:39.587 31027 31027 I Ads     : Ad failed to load : 3
    10-28 23:19:39.667 31027 31027 I yoyo    : onAdFailedToLoad called
    10-28 23:19:39.668 31027 31027 I Ads     : Ad failed to load : 3
    10-28 23:20:39.591 31027 31027 I Ads     : Use AdRequest.Builder.addTestDevice("B9578D814746B30261CEEB23C9772358") to get test ads on this device.
    10-28 23:20:39.691  4193 31416 W Ads     : App does not have the required permissions to get location
    10-28 23:20:39.808  4193 31785 I Ads     : SDK version: afma-sdk-a-v19649999.15000000.1
    10-28 23:20:39.982 31027 31027 I yoyo    : Banner Ad onAdFailedToLoad
    10-28 23:20:39.982 31027 31027 I Ads     : Ad failed to load : 3
    10-28 23:21:39.985 31027 31027 I Ads     : Use AdRequest.Builder.addTestDevice("B9578D814746B30261CEEB23C9772358") to get test ads on this device.
    10-28 23:21:40.104  4193 31785 W Ads     : App does not have the required permissions to get location
    10-28 23:21:40.249  4193 32140 I Ads     : SDK version: afma-sdk-a-v19649999.15000000.1
    10-28 23:21:40.480 31027 31027 I yoyo    : Banner Ad onAdFailedToLoad
    10-28 23:21:40.480 31027 31027 I Ads     : Ad failed to load : 3
    10-28 23:21:53.224 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 5)
    10-28 23:21:53.292 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 6)
    10-28 23:21:53.358 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 7)
    10-28 23:21:53.425 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 8)
    10-28 23:21:53.492 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 9)
    10-28 23:21:53.560 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 10)
    10-28 23:21:53.626 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 11)
    10-28 23:21:53.693 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 12)
    10-28 23:21:53.760 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 13)
    10-28 23:21:53.826 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 14)
    10-28 23:21:53.893 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 15)
    10-28 23:21:53.960 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 16)
    10-28 23:21:54.026 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 17)
    10-28 23:21:54.085 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 18)
    10-28 23:21:54.144 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 19)
    10-28 23:21:54.211 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 20)
    10-28 23:21:54.277 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 21)
    10-28 23:21:54.344 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 22)
    10-28 23:21:54.411 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 23)
    10-28 23:21:54.478 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 24)
    10-28 23:21:54.544 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 25)
    10-28 23:21:54.611 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 26)
    10-28 23:21:54.678 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 27)
    10-28 23:21:54.745 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 28)
    10-28 23:21:54.811 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 29)
    10-28 23:21:54.878 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 30)
    10-28 23:21:54.945 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 31)
    10-28 23:21:55.012 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 32)
    10-28 23:21:55.070 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 33)
    10-28 23:21:55.121 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 34)
    10-28 23:21:55.171 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 35)
    10-28 23:21:55.196 31027 31066 I yoyo    : HttpGet("http://alkarradatech.hostingerapp.com/update.zip", 36)
    10-28 23:21:55.198 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 37)
    10-28 23:21:55.200 31027 32183 I yoyo    : Exception = java.io.IOException: Cleartext HTTP traffic to alkarradatech.hostingerapp.com not permitted
    10-28 23:21:55.262 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 38)
    10-28 23:21:55.329 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 39)
    10-28 23:21:55.396 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 40)
    10-28 23:21:55.463 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 41)
    10-28 23:21:55.529 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 42)
    10-28 23:21:55.596 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 43)
    10-28 23:21:55.663 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 44)
    10-28 23:21:55.730 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 45)
    10-28 23:21:55.796 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 46)
    10-28 23:21:55.863 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 47)
    10-28 23:21:55.930 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 48)
    10-28 23:21:55.997 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 49)
    10-28 23:21:56.064 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 50)
    10-28 23:21:56.130 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 51)
    10-28 23:21:56.197 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 52)
    10-28 23:21:56.264 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 53)
    10-28 23:21:56.332 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 54)
    10-28 23:21:56.389 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 55)
    10-28 23:21:56.448 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 56)
    10-28 23:21:56.515 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 57)
    10-28 23:21:56.582 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 58)
    10-28 23:21:56.648 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 59)
    10-28 23:21:56.715 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 60)
    10-28 23:21:56.774 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 61)
    10-28 23:21:56.800 31027 31066 I yoyo    : Extraction Failed!
    10-28 23:21:56.832 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 62)
    10-28 23:21:56.890 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 63)
    10-28 23:21:56.950 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 64)
    10-28 23:21:57.015 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 65)
    10-28 23:21:57.083 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 66)
    10-28 23:21:57.149 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 67)
    10-28 23:21:57.208 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 68)
    10-28 23:21:57.266 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 69)
    10-28 23:21:57.333 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 70)
    10-28 23:21:57.400 31027 31066 I yoyo    : HttpPost("http://alkarradatech.hostingerapp.com/db/displayorg.php", "hash=1234", 71)
     
  2. Catan

    Catan Member

    Joined:
    Jun 20, 2016
    Posts:
    751
    This article may be useful for you. Essentially from what I read, starting from API level 28 you can not send HTTP data in clear, but you should use HTTPS instead. You can override this behaviour however as far as I can see, but it's worth considering switching to HTTPS.
     
    issam likes this.
  3. Nocturne

    Nocturne Friendly Tyrant Forum Staff Admin

    Joined:
    Apr 13, 2016
    Posts:
    6,977
  4. issam

    issam Member

    Joined:
    Aug 5, 2016
    Posts:
    60
    Thank you for help,I really appreciate that.
     
  5. issam

    issam Member

    Joined:
    Aug 5, 2016
    Posts:
    60
    Catan can you help more please?
    I think my problem is about http and https so how can I fix that exactly with simple explain, honestly i am poor in coding I try to understand from that link you send but i didnt :(
    should I edit the AndroidManifest.xml for example?
     
  6. Catan

    Catan Member

    Joined:
    Jun 20, 2016
    Posts:
    751
    First of all, the problem you are facing depends on the choice on the part of google to disable regular HTTP connections by default in android apps, suggesting developers to use the more secure HTTPS instead. This is something you should consider, sending plain HTTP data may be a security concern for you, depending on the kind of data you are trying to send.

    You have two options though:

    1. Comply with the requirement and install a SSL certificate on your web server so you can use https://alkarradatech.hostingerapp.com/db/displayorg.php instead of the current url, requiring only to update the address in your app to the new one,
    2. Overwrite the default configuration and allow regular HTTP connections in your app, by setting the appropriate permission as suggested by nocturne. The manual entry shows exactly the permission you need to set as an example
     
    issam likes this.
  7. issam

    issam Member

    Joined:
    Aug 5, 2016
    Posts:
    60
    Depend on your advice Catan, Its working now :)
    Thanks Catan you save my life.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice