Opened 5 years ago

Closed 5 years ago

#14206 closed defect (invalid)

Investigate bug with ooni-backend

Reported by: hellais Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Looking at the logs of ooni-backend I found this failure:

[http] 500 PUT /report (127.0.0.1) 79.51ms
Uncaught exception
[Failure instance: Traceback: <type 'exceptions.KeyError'>: u'2014-11-01T230116Z_AS6830_rq83Xf9xrLyRZwOs2FvBsQuNncb2QtZnjfk6h53UBgUN05REDH'
/usr/local/lib/python2.7/dist-packages/cyclone/web.py:1067:_execute
/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py:295:addCallbacks
/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py:577:_runCallbacks
/usr/local/lib/python2.7/dist-packages/cyclone/web.py:1102:_execute_handler
--- <exception caught here> ---
/usr/local/lib/python2.7/dist-packages/cyclone/web.py:1073:_deferred_handler
/usr/local/lib/python2.7/dist-packages/oonib/report/handlers.py:362:put
/usr/local/lib/python2.7/dist-packages/oonib/report/handlers.py:206:updateReport
]
HTTPRequest(protocol='http', host='ihiderha53f36lsd.onion', method='PUT', uri='/report', version='HTTP/1.1', remote_ip='127.0.0.1', body='{"content": "---\\ncontrol_resolver: 213.138.109.232:57004\\ninpu
t: www.familiesaretalking.org\\nqueries:\\n- addrs: [69.56.156.201]\\n  answers:\\n  - [<RR name=www.familiesaretalking.org type=CNAME class=IN ttl=7199s auth=False>,\\n    <CNAME name=siecus.org ttl=719
9>]\\n  - [<RR name=siecus.org type=A class=IN ttl=7199s auth=False>, <A address=69.56.156.201\\n      ttl=7199>]\\n  query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  re
solver: [213.138.109.232, 57004]\\n- query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [212.33.55.5, 53]\\n- failure: deferred_timeout_error\\n  query: \'[Query
(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [212.33.32.160, 53]\\n- query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [194.24.
128.100, 53]\\n- failure: deferred_timeout_error\\n  query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [194.24.128.102, 53]\\n- query: \'[Query(\'\'www.families
aretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [81.3.216.100, 53]\\n- query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [193.171.87.249, 53]\\n- q
uery: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [193.171.87.250, 53]\\n- failure: deferred_timeout_error\\n  query: \'[Query(\'\'www.familiesaretalking.org\'\'
, 1, 1)]\'\\n  query_type: A\\n  resolver: [213.157.144.2, 53]\\n- query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [217.196.76.28, 53]\\n- failure: deferred_t
imeout_error\\n  query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [80.243.162.194, 53]\\n- query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  que
ry_type: A\\n  resolver: [212.24.124.24, 53]\\n- failure: deferred_timeout_error\\n  query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [212.52.192.70, 53]\\n- q
uery: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [195.149.216.2, 53]\\n- addrs: [69.56.156.201]\\n  answers:\\n  - [<RR name=www.familiesaretalking.org type=CNA
ME class=IN ttl=7200s auth=False>,\\n    <CNAME name=siecus.org ttl=7200>]\\n  - [<RR name=siecus.org type=A class=IN ttl=7200s auth=False>, <A address=69.56.156.201\\n      ttl=7200>]\\n  query: \'[Quer
y(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [195.16.241.141, 53]\\n- addrs: [69.56.156.201]\\n  answers:\\n  - [<RR name=www.familiesaretalking.org type=CNAME class=IN
ttl=7200s auth=False>,\\n    <CNAME name=siecus.org ttl=7200>]\\n  - [<RR name=siecus.org type=A class=IN ttl=7200s auth=False>, <A address=69.56.156.201\\n      ttl=7200>]\\n  query: \'[Query(\'\'www.fa
miliesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [195.16.241.140, 53]\\n- query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [213.162.65.1, 53]
\\n- query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [213.162.65.2, 53]\\n- failure: deferred_timeout_error\\n  query: \'[Query(\'\'www.familiesaretalking.org
\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [213.162.64.1, 53]\\n- query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [213.162.64.2, 53]\\n- failure: deferred
_timeout_error\\n  query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [212.183.20.2, 53]\\n- failure: deferred_timeout_error\\n  query: \'[Query(\'\'www.families
aretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [213.33.99.70, 53]\\n- query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [83.64.177.250, 53]\\n- query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  resolver: [194.48.124.200, 53]\\n- query: \'[Query(\'\'www.familiesaretalking.org\'\', 1, 1)]\'\\n  query_type: A\\n  reso

[SNIP]

Child Tickets

Change History (1)

comment:1 Changed 5 years ago by hellais

Resolution: invalid
Status: newclosed

Nevermind it seems this bug was already noticed and fixed in https://github.com/TheTorProject/ooni-backend/commit/c08a825dd1fa47b8af21a524301e6014fa46819f.

Note: See TracTickets for help on using tickets.