tor tutorial “speaking to russia” stuck at 45 - 50%

时光总嘲笑我的痴心妄想 提交于 2019-12-03 16:34:18

I found the geoip and geoip6 files in the tor browser folder (D:\Program\Tor Browser\Browser\TorBrowser\Data\Tor) and copied them to C:\Users\gatsu\AppData\Roaming\tor which then made me reach 100%.

[1mStarting Tor: [0m [34mMay 01 23:28:53.000 [notice] Bootstrapped 0%: Starting[0m [34mMay 01 23:28:53.000 [notice] Bootstrapped 80%: Connecting to the Tor network[0m [34mMay 01 23:28:54.000 [notice] Bootstrapped 85%: Finishing handshake with first hop[0m [34mMay 01 23:28:54.000 [notice] Bootstrapped 90%: Establishing a Tor circuit[0m [34mMay 01 23:28:55.000 [notice] Bootstrapped 100%: Done[0m [1m Checking our endpoint: [0m [34mUnable to reach https://www.atagar.com/echo.php[0m

juancb

Related to the answer provided by @Alter. In a MacOs Sierra, a tor_process config that works (solving this issue) is

tor_process = stem.process.launch_tor_with_config(
    tor_cmd = '/Applications/TorBrowser.app/Contents/MacOS/Tor/tor.real',
    config = {
        'SocksPort': str(SOCKS_PORT),
        'ExitNodes': '{ru}',
        'GeoIPFile': r'/Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor/geoip',
        'GeoIPv6File' : r'/Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor/geoip6'
    },
    init_msg_handler = print_bootstrap_lines,
)

Alternatively, you can specify where the geoip and geoipv6 currently are by passing them into your config. See the TOR manual for a complete list of config options.

tor_process = stem.process.launch_tor_with_config(
  config = {
    'SocksPort': str(SOCKS_PORT),
    'ExitNodes': '{ru}',
    'GeoIPFile': r'C:\Program Files (x86)\tor-win32-0.2.8.9\Data\Tor\geoip',
    'GeoIPv6File' : r'C:\Program Files (x86)\tor-win32-0.2.8.9\Data\Tor\geoip6'
  },
  init_msg_handler = print_bootstrap_lines,
)

as a side note, if you had this error. You need to kill the TOR process that was stuck at 45% before you run another (in windows, go into task manager and find/kill 'tor)'

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!