Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static function resolveIntlURL($tracking, $target, $country)
- {
- $tc = new ControlClient();
- $tc->connect();
- $tc->authenticate('');
- $country = '{' . $country . '}';
- $tc->setConf(['ExitNodes' => $country]); //set Tor config to use exit node from whichever country
- //curl wrapped through Tor SOCK5 proxy
- $curl = new TorCurlWrapper();
- ERROR:
- [ErrorException]
- fsockopen(): unable to connect to 127.0.0.1:9051 (Connection refused)
- Exception trace:
- () at /var/www/vhosts/adscend/public/framework/vendor/dapphp/torutils/src/ControlClient.php:130
- Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() at n/a:n/a
- fsockopen() at /var/www/vhosts/adscend/public/framework/vendor/dapphp/torutils/src/ControlClient.php:130
- Dapphp\TorUtils\ControlClient->connect() at /var/www/vhosts/adscend/public/framework/app/Console/Commands/TorUrls.php:102
- Adscend\Console\Commands\TorUrls::resolveIntlURL() at /var/www/vhosts/adscend/public/framework/app/Console/Commands/TorUrls.php:30
- Adscend\Console\Commands\TorUrls->handle() at n/a:n/a
- call_user_func_array() at /var/www/vhosts/adscend/public/framework/vendor/laravel/framework/src/Illuminate/Container/Container.php:507
- Illuminate\Container\Container->call() at /var/www/vhosts/adscend/public/framework/vendor/laravel/framework/src/Illuminate/Console/Command.php:169
- Illuminate\Console\Command->execute() at /var/www/vhosts/adscend/public/framework/vendor/symfony/console/Command/Command.php:256
- Symfony\Component\Console\Command\Command->run() at /var/www/vhosts/adscend/public/framework/vendor/laravel/framework/src/Illuminate/Console/Command.php:155
- Illuminate\Console\Command->run() at /var/www/vhosts/adscend/public/framework/vendor/symfony/console/Application.php:787
- Symfony\Component\Console\Application->doRunCommand() at /var/www/vhosts/adscend/public/framework/vendor/symfony/console/Application.php:186
- Symfony\Component\Console\Application->doRun() at /var/www/vhosts/adscend/public/framework/vendor/symfony/console/Application.php:117
- Symfony\Component\Console\Application->run() at /var/www/vhosts/adscend/public/framework/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:107
- Illuminate\Foundation\Console\Kernel->handle() at /var/www/vhosts/adscend/public/framework/artisan:36
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement