joeldg / bowhead

PHP trading bot framework
Apache License 2.0
799 stars 289 forks source link

OneBroker API Error #16

Open jeremiahtenbrink opened 7 years ago

jeremiahtenbrink commented 7 years ago

ok, so how do I get around this one. I have installed bowhead on my headless ubuntu server. I'm trying to set up the sample config and I keep getting this error.

OneBroker API returned an error - 201: Invalid token. You are not logged in.

I am logged in from another computer. I'm not sure how to go about logging in from the headless server. Any assistance would be helpfully and much appreciated.

jeremiahtenbrink commented 7 years ago

nevermind. fixed the issue.

danielbjornadal commented 7 years ago

How did you fix this error?

I cannot find anything about logging in.

gxyzod commented 7 years ago

Same here. Any ideas?

Exception trace: () at /var/www/bowhead/app/Util/OneBroker.php:158 Bowhead\Util\OneBroker->getApiData() at /var/www/bowhead/app/Util/OneBroker.php:186 Bowhead\Util\OneBroker->getCategories() at /var/www/bowhead/app/Util/OneBroker.php:52 Bowhead\Util\OneBroker->__construct() at /var/www/bowhead/app/Console/Commands/ExampleUsageCommand.php:68 Bowhead\Console\Commands\ExampleUsageCommand->handle() at n/a:n/a call_user_func_array() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 Illuminate\Container\BoundMethod::Illuminate\Container{closure}() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 Illuminate\Container\BoundMethod::callBoundMethod() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 Illuminate\Container\BoundMethod::call() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Container/Container.php:539 Illuminate\Container\Container->call() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Console/Command.php:182 Illuminate\Console\Command->execute() at /var/www/bowhead/vendor/symfony/console/Command/Command.php:264 Symfony\Component\Console\Command\Command->run() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Console/Command.php:167 Illuminate\Console\Command->run() at /var/www/bowhead/vendor/symfony/console/Application.php:888 Symfony\Component\Console\Application->doRunCommand() at /var/www/bowhead/vendor/symfony/console/Application.php:224 Symfony\Component\Console\Application->doRun() at /var/www/bowhead/vendor/symfony/console/Application.php:125 Symfony\Component\Console\Application->run() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:122 Illuminate\Foundation\Console\Kernel->handle() at /var/www/bowhead/artisan:35

root@7f609b29cacf:/var/www/bowhead#

mirupal commented 6 years ago

If this is an issue for anybody, keep in mind to always deploy the changes to the docker container (e.g. using the script ./copy_to_docker in the root application dir). This concerns also the configuration .env file.

MooreSys commented 6 years ago

I have the exact same error, and I am not using the docker. Anyone figure this out?