Closed alexanderkent closed 7 years ago
Hi!
Most probably you get this error message because the requests
package is outdated.
This hint (Q&A at the end of the file; link might not work as expected) perhaps can help you to solve the issue.
Greetings, Ralph
And ... there seems to be a bug in the 3.2.1 code: onionoo.py, line 612:
proxies = {}
if proxy is not None:
proxies = {
'http': 'socks5://' + proxy,
'https': 'socks5://' + proxy
}
should be
proxies = {}
if proxy is not None:
proxies = {
'http': 'socks5h://' + proxy,
'https': 'socks5h://' + proxy
}
This will be fixed with the next release (4.0). Ralph
Thanks that partially helped. The error went away but the metrics still don't load for me.
BOX | Onionoo: Failed querying 'http://onionoorcazzotwa.onion/weights' -> Not supported proxy scheme socks5
Yet, curl -v --socks5 52.175.226.63:9050 https://check.torproject.org | grep -i "Your IP" works!
Any ideas? Tried python2.7 and python3.