Open hellais opened 5 years ago
For reference by doing the following we are able to get valid whatsapp results: https://github.com/ooni/probe-legacy/pull/61.
I will make sure this lands.
As discussed with @hellais, we're not fixing this issue but leaving it open for documentation purposes. As such, I am going to remove myself as an assignee.
The WhatsApp test in probe-legacy does not pass the correct user-agent headers when performing a the HTTP requests to web.telegram.com, as a result the requests get redirected to
https://www.whatsapp.com/unsupportedbrowser
.This has started happening fairly recently and can be seen in these measurements: https://explorer.ooni.org/measurement/20191012T050117Z_AS27738_cPgVPawG2ov0PE3tY6oBBOoDAvLEttflXtPGaA2md8NfcxrjeP.
The issue is not present in later versions of OONI Probe that use measurement-kit or probe-engine.
Consumers of the whatsapp measurement results should consider a redirect as part of the TLS request to
https://web.whatsapp.com/
tohttps://www.whatsapp.com/unsupportedbrowser
as a valid response and not trigger the blocked heuristics.