telemetry-ios icon indicating copy to clipboard operation
telemetry-ios copied to clipboard

Focus sends duplicate core ping requests

Open st3fan opened this issue 7 years ago • 1 comments

When backgrounding Focus 3.8, I see two requests going out:

>> POST https://incoming.telemetry.mozilla.org/submit/telemetry/3FE6BAE1-AD90-4A2B-9EB4-35BE61185956/core/Focus/3.8/release/unknown?v=4
        ← 200 text/plain 2b 243ms
   POST https://incoming.telemetry.mozilla.org/submit/telemetry/3FE6BAE1-AD90-4A2B-9EB4-35BE61185956/core/Focus/3.8/release/unknown?v=4
        ← 200 text/plain 2b 135ms

Looking at the contents of these messages, both appear to be the same:

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:   255

{
    "arch": "arm64",
    "clientId": "46D8DE2B-9E41-406E-954D-F3C75B64E519",
    "created": "2017-10-04",
    "defaultSearch": "Google",
    "device": "iPhone",
    "durations": 104,
    "locale": "en-CA",
    "os": "iOS",
    "osversion": "10.3.3",
    "profileDate": 17379,
    "seq": 13,
    "sessions": 1,
    "tz": -240,
    "v": 7
}

Trying this a few times, I also see Focus send one ping, sometimes three pings.

st3fan avatar Oct 04 '17 14:10 st3fan

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?

Sdaswani avatar Oct 04 '17 17:10 Sdaswani