Opened 5 years ago

Closed 16 months ago

#12863 closed defect (wontfix)

The http_requests test sometimes only performs one request

Reported by: hellais Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Normal Keywords: archived-closed-2018-07-04
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

It has been reported by some users of ooniprobe [1] that in some circumstances (it is unclear currently exactly how to reproduce this) the report for a http_requests test will only contain one request instead of two. Moreover when this occurs the headers_match and body_length_match keys will be wrongly set to true.

Here is a sample report entry that exhibits this behavior:

---
agent: agent
body_length_match: true
body_proportion: 1.0
control_failure: null
experiment_failure: null
factor: 0.8
headers_diff: !!set {}
headers_match: true
input: http://www.scratchgames.com/
requests:
- request:
    body: null
    headers:
    - - User-Agent
      - ['Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2) Gecko/20100115 Firefox/3.6']
    method: GET
    tor: {is_tor: false}
    url: http://www.scratchgames.com/
  response:
    body: <h1>Bad Request (Invalid Hostname)</h1>
    code: 400
    headers:
    - - Date
      - ['Mon, 23 Jun 2014 13:03:09 GMT']
    - - Connection
      - [close]
    - - Content-Type
      - [text/html]
    - - Content-Length
      - ['39']
socksproxy: null
...

[1] https://lists.torproject.org/pipermail/ooni-dev/2014-August/000139.html

Child Tickets

Change History (2)

comment:1 Changed 23 months ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:2 Changed 16 months ago by teor

Keywords: archived-closed-2018-07-04 added
Resolution: wontfix
Status: newclosed

Close all tickets in archived components

Note: See TracTickets for help on using tickets.