k4m4/onioff

Error in IP check

ivarfr opened this issue · 1 comments

It seems like the URL used for checking connectivity to TOR (https://locate.now.sh/ipinfo) is unavailable at the moment, and as a result, onioff will exit with the error message [-] Unsuccessfull Tor connection. It's possible to substitute this address with https://ipinfo.io/ip, and the script will work again.

A quick workaround to change this permanently if you have onioff installed in /opt/onioff (as it is in Tsurugi Linux):
sudo sed -i 's/locate\.now\.sh\/ip/ipinfo\.io\/ip/' /opt/onioff/onioff.py