ahmia / ahmia-crawler

Collection of crawlers used by the ahmia search engine
BSD 3-Clause "New" or "Revised" License
155 stars 45 forks source link

socks.SOCKS5Error: 0x06: TTL expired #10

Closed chamalis closed 6 years ago

chamalis commented 6 years ago

After fixing #9 this came up, seems like a PySocks bug: #todo report it.


Exception happened during processing of request from ('127.0.0.1', 48068)
Traceback (most recent call last):
  File "<path2venv>/ahmia-crawler/lib/python3.6/site-packages/socks.py", line 851, in connect
    negotiate(self, dest_addr, dest_port)
  File "<path2venv>/ahmia-crawler/lib/python3.6/site-packages/socks.py", line 497, in _negotiate_SOCKS5
    self, CONNECT, dest_addr)
  File "<path2venv>/ahmia-crawler/lib/python3.6/site-packages/socks.py", line 578, in _SOCKS5_request
    raise SOCKS5Error("{0:#04x}: {1}".format(status, error))
socks.SOCKS5Error: 0x06: TTL expired

Currently polipo remains the stable proxy solution for the crawler.

chamalis commented 6 years ago

Deprecated by torfleet, new native python tor proxy