ooni / backend

Everything related to OONI backend infrastructure: ooni/api, ooni/pipeline, ooni/sysadmin, collector, bouncers and test-helpers
BSD 3-Clause "New" or "Revised" License
51 stars 29 forks source link

API does not permit test_name=stunreachability #590

Closed Em4E closed 2 years ago

Em4E commented 2 years ago

OONI Explorer exposes an option Test Name: STUN Reachability. But it doesn't work. The API server replies with status 400, saying that "stunreachability" is not a permitted value.

https://api.ooni.io/api/v1/measurements?limit=50&test_name=stunreachability&since=2022-04-02&until=2022-05-03

400 Error

Bad Request

'stun_reachability' is not one of ['bridge_reachability', 'dash', 'dns_consistency', 'dnscheck', 'facebook_messenger', 'http_header_field_manipulation', 'http_host', 'http_invalid_request_line', 'http_requests', 'meek_fronted_requests_test', 'multi_protocol_traceroute', 'ndt', 'psiphon', 'riseupvpn', 'signal', 'tcp_connect', 'telegram', 'tor', 'torsf', 'urlgetter', 'vanilla_tor', 'web_connectivity', 'whatsapp']

My goal in wanting to see stunreachability measurements is to get better granularity on torsf failures.

hellais commented 2 years ago

Thanks for reporting this, we have this tracked as part of the following issue: https://github.com/ooni/backend/issues/573.