Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TradeRepeater\Seller - InvalidQueryException #206

Open
dfelton opened this issue May 17, 2021 · 0 comments
Open

TradeRepeater\Seller - InvalidQueryException #206

dfelton opened this issue May 17, 2021 · 0 comments
Labels
bug Something isn't working Priority - Low

Comments

@dfelton
Copy link
Owner

dfelton commented May 17, 2021

Shutdown Enabled at: 2021-05-17 14:44:27
Exception: Zend\Db\Adapter\Exception\InvalidQueryException
Code: 0
Message: Statement could not be executed (70100 - 1927 - Connection was killed)
Strace:
#0 vendor/zendframework/zend-db/src/Adapter/Adapter.php(200): Zend\Db\Adapter\Driver\Pdo\Statement->execute()
#1 src/TradeRepeater/Model/Resource/Trade.php(79): Zend\Db\Adapter\Adapter->query('SELECT id FROM ...', Array)
#2 src/TradeRepeater/Model/Resource/Trade.php(55): Kobens\Gemini\TradeRepeater\Model\Resource\Trade->getActiveByStatusIds('BUY_FILLED')
#3 src/TradeRepeater/Model/Resource/Trade/Action/AbstractAction.php(40): Kobens\Gemini\TradeRepeater\Model\Resource\Trade->getActiveByStatus('BUY_FILLED')
#4 src/Command/Command/TradeRepeater/Seller.php(107): Kobens\Gemini\TradeRepeater\Model\Resource\Trade\Action\AbstractAction->getHealthyRecords()
#5 src/Command/Command/TradeRepeater/Seller.php(90): Kobens\Gemini\Command\Command\TradeRepeater\Seller->mainLoop(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 vendor/symfony/console/Command/Command.php(255): Kobens\Gemini\Command\Command\TradeRepeater\Seller->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Kobens\Gemini\Command\Command\TradeRepeater\Seller), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 bin/gemini(443): Symfony\Component\Console\Application->run()
#11 {main}

Previous Exception:
Exception: PDOException
Code: 70100
Message: SQLSTATE[70100]: <<Unknown error>>: 1927 Connection was killed
Strace:
#0 vendor/zendframework/zend-db/src/Adapter/Driver/Pdo/Statement.php(239): PDOStatement->execute()
#1 vendor/zendframework/zend-db/src/Adapter/Adapter.php(200): Zend\Db\Adapter\Driver\Pdo\Statement->execute()
#2 src/TradeRepeater/Model/Resource/Trade.php(79): Zend\Db\Adapter\Adapter->query('SELECT id FROM ...', Array)
#3 src/TradeRepeater/Model/Resource/Trade.php(55): Kobens\Gemini\TradeRepeater\Model\Resource\Trade->getActiveByStatusIds('BUY_FILLED')
#4 src/TradeRepeater/Model/Resource/Trade/Action/AbstractAction.php(40): Kobens\Gemini\TradeRepeater\Model\Resource\Trade->getActiveByStatus('BUY_FILLED')
#5 src/Command/Command/TradeRepeater/Seller.php(107): Kobens\Gemini\TradeRepeater\Model\Resource\Trade\Action\AbstractAction->getHealthyRecords()
#6 src/Command/Command/TradeRepeater/Seller.php(90): Kobens\Gemini\Command\Command\TradeRepeater\Seller->mainLoop(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 vendor/symfony/console/Command/Command.php(255): Kobens\Gemini\Command\Command\TradeRepeater\Seller->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Kobens\Gemini\Command\Command\TradeRepeater\Seller), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 bin/gemini(443): Symfony\Component\Console\Application->run()
#12 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority - Low
Projects
None yet
Development

No branches or pull requests

1 participant