Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #9055

Closed
Open
Opened Jun 12, 2013 by Trac@tracbot

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

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#9055