Investigate issues on oonib
At 2013-09-12 12:04:16 Arturo Filastò wrote: Looking at the logs of the tpo collector we see this:
HTTPRequest(protocol='http', host='nkvphnp3p6agi5qq.onion:80', method='POST', uri='/bouncer', version='HTTP/1.1', remote_ip='127.0.0.1', body='{"test-helpers": []}', headers={'Connection': 'close', 'Content-Length': '20', 'Host': 'nkvphnp3p6agi5qq.onion:80'})
Uncaught exception in write_error: Failure instance has no attribute 'log_message'
[http] 500 POST /bouncer (127.0.0.1) 4.59ms
Uncaught exception
[Failure instance: Traceback: <type 'exceptions.KeyError'>: None
/data/oonib/lib/python2.7/site-packages/cyclone-1.1-py2.7.egg/cyclone/web.py:1067:_execute
/data/oonib/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:294:addCallbacks
/data/oonib/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:576:_runCallbacks
/data/oonib/lib/python2.7/site-packages/cyclone-1.1-py2.7.egg/cyclone/web.py:1102:_execute_handler
--- <exception caught here> ---
/data/oonib/lib/python2.7/site-packages/cyclone-1.1-py2.7.egg/cyclone/web.py:1073:_deferred_handler
/data/oonib/lib/python2.7/site-packages/oonib-1.0.0_rc2-py2.7.egg/oonib/bouncer/handlers.py:146:post
/data/oonib/lib/python2.7/site-packages/oonib-1.0.0_rc2-py2.7.egg/oonib/bouncer/handlers.py:103:filterHelperAddresses
]
HTTPRequest(protocol='http', host='nkvphnp3p6agi5qq.onion:80', method='POST', uri='/bouncer', version='HTTP/1.1', remote_ip='127.0.0.1', body='{"test-helpers": []}', headers={'Connection': 'close', 'Content-Length': '20', 'Host': 'nkvphnp3p6agi5qq.onion:80'})
Uncaught exception in write_error: Failure instance has no attribute 'log_message'
It is updated to the current master.
It has to do with looking up a input that is not present on the backend.
This issue was automatically migrated from github issue https://github.com/TheTorProject/ooni-probe/issues/199