Ooni-backend can't receive reports from probe
Hi Ooni team I'm trying to get my ooni-probe send reports to the Ooni backend.
I'm having this error message on the backend when it gets the report (all of them are hosted on Amazon EC2 instances for the moment).
let me know if I can be of any additional help.
All the best
Parsed this data {u'software_name': u'ooniprobe', u'software_version': u'0.0.12', u'content': u"---\noptions: [-f, example_inputs/tcpconnect_host_file.txt]\nprobe_asn: AS16509\nprobe_cc: US\nprobe_ip: 127.0.0.1\nsoftware_name: ooniprobe\nsoftware_version: 0.0.12\nstart_time: 1371058302.889644\ntest_name: tcp_connect\ntest_version: '0.1'\n...\n", u'test_version': u'0.1', u'test_name': u'tcp_connect', u'probe_asn': u'AS16509'}
Uncaught exception
[Failure instance: Traceback: <type 'exceptions.AssertionError'>: None is not greater than or equal to 0 seconds
/home/ubuntu/.virtualenvs/oonib/local/lib/python2.7/site-packages/cyclone/web.py:1067:_execute
/home/ubuntu/.virtualenvs/oonib/local/lib/python2.7/site-packages/twisted/internet/defer.py:293:addCallbacks
/home/ubuntu/.virtualenvs/oonib/local/lib/python2.7/site-packages/twisted/internet/defer.py:575:_runCallbacks
/home/ubuntu/.virtualenvs/oonib/local/lib/python2.7/site-packages/cyclone/web.py:1102:_execute_handler
--- <exception caught here> ---
/home/ubuntu/.virtualenvs/oonib/local/lib/python2.7/site-packages/cyclone/web.py:1073:_deferred_handler
/home/ubuntu/oonib/oonib/report/file_collector.py:168:post
/home/ubuntu/.virtualenvs/oonib/local/lib/python2.7/site-packages/twisted/internet/base.py:707:callLater
]
HTTPRequest(protocol='http', host='dmtmoqwgwgiyhhwh.onion:80', method='POST', uri='/report', version='HTTP/1.1', remote_ip='127.0.0.1', body='{"software_name": "ooniprobe", "software_version": "0.0.12", "content": "---\\noptions: [-f, example_inputs/tcpconnect_host_file.txt]\\nprobe_asn: AS16509\\nprobe_cc: US\\nprobe_ip: 127.0.0.1\\nsoftware_name: ooniprobe\\nsoftware_version: 0.0.12\\nstart_time: 1371058302.889644\\ntest_name: tcp_connect\\ntest_version: \'0.1\'\\n...\\n", "test_version": "0.1", "test_name": "tcp_connect", "probe_asn": "AS16509"}', headers={'Connection': 'close', 'Content-Length': '399', 'Host': 'dmtmoqwgwgiyhhwh.onion:80'})
[http] 500 POST /report (127.0.0.1) 10.37ms
}}}
Trac:
Username: thoomyorke