Skip to content
This repository has been archived by the owner on May 29, 2021. It is now read-only.

Focus sends duplicate event pings #19

Open
st3fan opened this issue Oct 4, 2017 · 2 comments
Open

Focus sends duplicate event pings #19

st3fan opened this issue Oct 4, 2017 · 2 comments
Labels

Comments

@st3fan
Copy link
Contributor

st3fan commented Oct 4, 2017

On backgrounding Focus 3.8, I see the following requests being made:

   POST https://incoming.telemetry.mozilla.org/submit/telemetry/E2EC17B2-0D3B-42A8-BB3F-37C38E97D65C/core/Focus/3.8/release/unknown?v=4
        ← 200 text/plain 2b 215ms
>> POST https://incoming.telemetry.mozilla.org/submit/telemetry/C3FC0E9B-4374-4BE6-900B-FDDC485A849D/focus-event/Focus/3.8/release/unknown?v=4
        ← 200 text/plain 2b 132ms
   POST https://incoming.telemetry.mozilla.org/submit/telemetry/C3FC0E9B-4374-4BE6-900B-FDDC485A849D/focus-event/Focus/3.8/release/unknown?v=4
        ← 200 text/plain 2b 170ms

The last two requests have the same content:

Host:             incoming.telemetry.mozilla.org
Content-Type:     application/json; charset=utf-8
Connection:       keep-alive
Accept:           */*
User-Agent:       Telemetry/1.0 (iOS)
Accept-Language:  en-ca
Accept-Encoding:  gzip, deflate
Content-Length:   664

{
    "clientId": "46D8DE2B-9E41-406E-954D-F3C75B64E519",
    "created": 1507126885961,
    "events": [
        [
            645081,
            "action",
            "foreground",
            "app"
        ],
        [
            650959,
            "action",
            "type_query",
            "search_bar"
        ],
        [
            657472,
            "action",
            "click",
            "erase_button"
        ],
        [
            666259,
            "action",
            "type_query",
            "search_bar"
        ],
        [
            677043,
            "action",
            "click",
            "erase_button"
        ],
        [
            680328,
            "action",
            "type_query",
            "search_bar"
        ],
        [
            683635,
            "action",
            "click",
            "erase_button"
        ],
        [
            688146,
            "action",
            "background",
            "app",
            null,
            {
                "orientation": "Portrait"
            }
        ]
    ],
    "locale": "en-CA",
    "os": "iOS",
    "osversion": "10.3.3",
    "seq": 11,
    "settings": {
        "BlockAds": "true",
        "BlockAnalytics": "true",
        "BlockFonts": "false",
        "BlockOther": "false",
        "BlockSocial": "true",
        "prefKeyEngine": "Google"
    },
    "tz": -240,
    "v": 1
}
@Sdaswani
Copy link

Sdaswani commented Oct 4, 2017

So should this be a Focus iOS issue or is it a Telemetry issue? Hopefully the latter and Focus gets a free fix. Also who will work on this?

@garvankeeley
Copy link
Contributor

My guess is telemetry lib. I don't see this on the dev branch.
My hope was that we would show the latest dev version working well in today's beta, but someone hooked it up wrong (me). Tomorrow's beta should demonstrate this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants