Comments (3)
On which platform do you run it? Documentation by granax states that they only download the Tor Browser bundle on Mac and Windows, but on Linux one has to specify the path to the binary.
When Granax is installed on Mac OSX or Windows platforms, it will automatically download a copy of the Tor Browser Bundle locally and use it - no configuration required! On GNU+Linux systems, Granax expects the tor package to be installed.
(Compare https://deadcanaries.gitlab.io/granax/tutorial-getting-started.html)
from tor-router.
Situations like the one you've encountered are exactly why I recommend using Docker lol. As specified in the documentation using Docker you can run docker run --rm -it -p 127.0.0.1:1637:9050 znetstar/tor-router -j 3 -s
and it should work without issue, since the Docker image bundles the correct version of Tor.
That being said, I'm assuming you're on Linux because of the reference to /home/shibu
. Download tor through your package manager, apt install tor
on Debian/Ubuntu or yum install tor
on Fedora/RedHat/Suse. You can then run tor-router -t /usr/bin/tor -j 3 -s 127.0.0.1:16379
from tor-router.
This is according to global installation
go to this path
C:\Users\<user>\AppData\Roaming\npm\node_modules\tor-router\node_modules\@deadcanaries\granax\index.js
and replace the line
switch (platform) {
case 'win32':
-> torpath = path.join(BIN_PATH, 'Browser', 'TorBrowser', 'Tor', 'tor.exe');
break;
with this:
switch (platform) {
case 'win32':
torpath = path.join(BIN_PATH, /*'Browser', 'TorBrowser', A FIX HERE */'Tor', 'tor.exe');
break;
then there should be no error.
from tor-router.
Related Issues (11)
- Browser Support HOT 2
- npm start failing HOT 2
- Race Condition when getting Ports for instances in TorPool HOT 1
- socket hang up HOT 1
- pm2 support HOT 1
- @deadcanaries/granax module used to download Tor is AGPL but tor-router is Apache 2.0
- Feature: query list of existing instances from control server HOT 2
- Possible EventEmitter memory leak detected HOT 4
- Minimize IP overlap? HOT 3
- Provide example of how to use HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tor-router.