[TIMOB-17844] Dashboard: Windows Hybrid average session length is not shown for device
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-12-18T15:04:46.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Eric Merriman |
Created | 2014-10-10T21:33:56.000+0000 |
Updated | 2017-12-18T15:04:46.000+0000 |
Description
Description
The average session length is not shown for Windows Hybrid devices in both pre-prod and production, in pre-prod it is shown that there are six active sessions despite the session being closed as shown in the attached screenshot.
This is only seen if the app is built to a device, if built to emulator then the average session can be seen.
Steps to reproduce
1. Build an app to a Windows Phone device
2. Open and close the app a few times
Actual Results
Average session length is not shown and it is shown as having a number of sessions open
Expected Results
The average sessions length should be shown and there should be no active sessions.
*Notes*
The ti.end is being sent by the device as verified by checking the payload using staging.
It is only the average session length that is not being shown, the installs and sessions are correct.
Comments
JSON Source
Here is one of the apps that had incomplete sessions:
[~rramaswamy] Can you investigate if you received the session end events as the ticket indicates? If so it could be a processing issue on the PEM side
[~nle] [~eharris] sure, I'll look after .Next. The fact that it's platform specific usually means it's not PEM though :) For the future; I put in an endpoint for grabbing the raw events in PEM for an aguid via the API: http://pem-next-pre-production.appc-enterprise-aws.com:8080/dashboard/docs/#!/event/getEventsByField_get_1 field would be "aguid" and value would obviously be the app guid.
[~eharris] do you have the payloads from staging? Perhaps the session has a new sid every time, which would cause this behaviour.
Never mind, I found it in the other ticket. Sids are changing in end events. This is correct behaviour for PEM, because the client is not expiring the same session. [~nle] I believe this should become a TIMOB ticket. No sid in those events has another event associated with it, so in reality sessions do not exist.
Moving to TIMOB as the client side is not maintaining a session id correctly. A session id should be the same between both enroll/start and end.
Windows Hybrid support went with Mobileweb, so closing