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\Disable - CurlException causes var/emergency_shutdown #252

Open
dfelton opened this issue Feb 7, 2023 · 0 comments
Open
Labels
Priority - Low tech debt Functionally working but not designed well or could be improved upon in some way.

Comments

@dfelton
Copy link
Owner

dfelton commented Feb 7, 2023

Probably not necessary to shut down the entire suite of trading operations on this error.

Shutdown Enabled at: 2023-02-07 19:42:10
Exception: Kobens\Core\Exception\Http\CurlException
Code: 6
Message: Could not resolve host: api.gemini.com
Strace:
#0 src/Api/Rest/PrivateEndpoints/Request.php(100): Kobens\Core\Http\Curl->request()
#1 src/Api/Rest/PrivateEndpoints/OrderPlacement/CancelOrder.php(36): Kobens\Gemini\Api\Rest\PrivateEndpoints\Request->getResponse()
#2 src/Command/Command/TradeRepeater/Disable.php(114): Kobens\Gemini\Api\Rest\PrivateEndpoints\OrderPlacement\CancelOrder->cancel()
#3 src/Command/Command/TradeRepeater/Disable.php(95): Kobens\Gemini\Command\Command\TradeRepeater\Disable->disable()
#4 vendor/symfony/console/Command/Command.php(255): Kobens\Gemini\Command\Command\TradeRepeater\Disable->execute()
#5 vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#6 vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#7 vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#8 bin/gemini(450): Symfony\Component\Console\Application->run()
#9 {main}

Previous Exception:
Exception: Exception
Code: 0
Message: {"url":"https:\/\/api.gemini.com\/v1\/order\/cancel","curlinfo_connect_time":0,"curlinfo_total_time":0.051995,"curl_errno":6,"curl_error":"Could not resolve host: api.gemini.com"}
Strace:
#0 src/Api/Rest/PrivateEndpoints/Request.php(100): Kobens\Core\Http\Curl->request()
#1 src/Api/Rest/PrivateEndpoints/OrderPlacement/CancelOrder.php(36): Kobens\Gemini\Api\Rest\PrivateEndpoints\Request->getResponse()
#2 src/Command/Command/TradeRepeater/Disable.php(114): Kobens\Gemini\Api\Rest\PrivateEndpoints\OrderPlacement\CancelOrder->cancel()
#3 src/Command/Command/TradeRepeater/Disable.php(95): Kobens\Gemini\Command\Command\TradeRepeater\Disable->disable()
#4 vendor/symfony/console/Command/Command.php(255): Kobens\Gemini\Command\Command\TradeRepeater\Disable->execute()
#5 vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#6 vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#7 vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#8 bin/gemini(450): Symfony\Component\Console\Application->run()
#9 {main}
@dfelton dfelton added bug Something isn't working tech debt Functionally working but not designed well or could be improved upon in some way. Priority - Low and removed bug Something isn't working labels Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority - Low tech debt Functionally working but not designed well or could be improved upon in some way.
Projects
None yet
Development

No branches or pull requests

1 participant