Why do I get “SOCKS connection failed. Connection not allowed by ruleset” for some .onion sites?
I'm experimenting with Node and socks5-https-client . For some reason, certain Tor hidden service ( .onion ) sites return with a connection error. For example, connecting to DuckDuckGo ( 3g2upl4pq6kufc4m.onion ) works and returns HTML. However, connecting to The Pirate Bay ( uj3wazyk5u4hnvtk.onion ) or TORCH ( xmh57jrzrnw6insl.onion ) returns... Error: SOCKS connection failed. Connection not allowed by ruleset. What does this error mean? How can I avoid it? Here's code to reproduce it: var shttps = require('socks5-https-client'); shttps.get({ hostname: '3g2upl4pq6kufc4m.onion', path: '',