# Mobile App data collection seems disabled

**URL:** <https://community.dynatrace.com/t/mobile-app-data-collection-seems-disabled/22655>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, mobile-monitoring, oneagent\
**Created:** [November 29, 2019, 10:47pm UTC](https://community.dynatrace.com/t/mobile-app-data-collection-seems-disabled/22655 "2019-11-29T22:47:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![a\_chiaravalle](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@a\_chiaravalle](https://community.dynatrace.com/u/a_chiaravalle)\
**Post date:** [November 29, 2019, 10:47pm UTC](https://community.dynatrace.com/t/mobile-app-data-collection-seems-disabled/22655/1 "2019-11-29T22:47:37Z")

</div>

Hello  
We are trying to monitor an Android app with oneagent, and after some testing, Dynatrace is not showing any user action for this app.  
However, even if encrypted, tcpdump shows network traffic exchanged between the mobile phone and the cluster active gate endpoint IP.  
In this situation, the troubleshooting instructions from Dynatrace manuals, recommend to test this url:

https://\<psg-url\>:\<port\>/mbeacon/\<environment id\>?type=m&p=\<app id\>  
https://\<Active gate IP\>:9999/mbeacon/9f06b27f-7116-47d6-8165-15826479ed49?type=m&app=567f5551-c41e-4ffe-96da-79206e6e18b2

that shows this response:

type=m&cp=0

this mean the data collection is disabled for this app (the response contains the string; cp=0).  
How can I enable the data collection ? Please consider that the mobile application in Dynatrace is still enabled (monitoring ON).

Thanks  
Antonello

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [November 30, 2019, 11:07am UTC](https://community.dynatrace.com/t/mobile-app-data-collection-seems-disabled/22655/2 "2019-11-30T11:07:48Z")

</div>

Did you have configured ActiveGate as Entry Point for beacons data in application configuration? You can switch it there to accept beacons on extra endpoint on API (if it is monitored by OneAgent). Maybe someone has changed it?

Sebastian

---

<div class="post-metadata">

**Author:** ![a\_chiaravalle](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@a\_chiaravalle](https://community.dynatrace.com/u/a_chiaravalle)\
**Post date:** [November 30, 2019, 3:13pm UTC](https://community.dynatrace.com/t/mobile-app-data-collection-seems-disabled/22655/3 "2019-11-30T15:13:08Z")

</div>

Hi Sebastian

this is how the mobile application is configured, so it send data to Cluster Active gate:

 ![22739-1575126518100.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/5/1530b44f47ae8fb12017584416ba8cfdf0525915.png)

The cluster Active gate has this endpoint configuration:

 ![22735-1575126333984.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/c/6ce475ba11025a12de36f3fb42d13c4bb3e8c22e.png)

This the result when I browse the beacon url:

 ![22737-1575126397481.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/a/0a82a9d5ef7afd0327f1e730422cb3244ddddd44.png)

and seems the data collection is disabled, the appid and enviroment id in beacon url are from the app definition instruction for monitoring the android app

 ![22738-1575126411401.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/26c91854e7769aacf85ee3d78b8830444f58f633.png)

please let me know if I miss something.

thanks

 ![1575126357880.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/af770d5ea74855c7e5ddc23b8e6a657f319d99a4.png)

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [December 1, 2019, 10:25am UTC](https://community.dynatrace.com/t/mobile-app-data-collection-seems-disabled/22655/4 "2019-12-01T10:25:44Z")

</div>

cp=0 means as well that application id is unknown. Are you sure that you have proper application Id in url?

Sebastian

---

<div class="post-metadata">

**Author:** ![a\_chiaravalle](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@a\_chiaravalle](https://community.dynatrace.com/u/a_chiaravalle)\
**Post date:** [December 2, 2019, 8:51am UTC](https://community.dynatrace.com/t/mobile-app-data-collection-seems-disabled/22655/5 "2019-12-02T08:51:41Z")

</div>

HI Sebastian

I’ve got the appid from the application definition in Dynatrace, this is the screenshot:

 ![22742-1575276657566.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/5/b532128ac6c3ced02f235a688f24fb802afddcff.png)

is this right?

Thanks

Antonello

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [December 2, 2019, 9:45am UTC](https://community.dynatrace.com/t/mobile-app-data-collection-seems-disabled/22655/6 "2019-12-02T09:45:39Z")

</div>

it seems to be ok. Open support ticket then, may be best option to resolve your issue.

Sebastian
