Dont know if its a glitch with the coinbasepro api
Step 1: Have you search for this issue before posting it? yes
If you have discovered a bug in the bot, please search our issue tracker. If it hasn't been reported, please create a new issue.
Step 2: Describe your environment
-
OS : Ubuntu Linux media-main 5.4.0-105-generic x86_64 x86_64 x86_64 GNU/Linux
-
Python Version: 2.7.18
-
In case you are not using a binary version:
- Branch: https://release.octobot.online/0.4.3/OctoBot_linux_x64
Step 3: Describe the problem:
Describe the bug Runs for a bit, but after while CoinbasePro error will pop up... BUT, i can use the Telegram interface to restart and it will resume. Error is.... 2022-04-23 15:28:42,671 WARNING WebSocketClient - coinbasepro COINBASE.ws.5: received no messages within timeout, restarting connection 2022-04-23 15:31:13,111 WARNING WebSocketClient - coinbasepro COINBASE.ws.5: received no messages within timeout, restarting connection 2022-04-23 15:33:43,562 WARNING WebSocketClient - coinbasepro COINBASE.ws.5: received no messages within timeout, restarting connection
Expected behavior No Errors?
Steps to reproduce:
- Running
- cd /home/drblackross/octobot-sideproject/ && ./OctoBot_linux_x64 Via /usr/bin/screen -dmS DayTrader-screen /home/drblackross/startup; screen -rd DayTrader-screen
Observed Results:
-
What happened? It just hangs... sometimes it'll continue, then most i have to use /restart in telegram
-
Goto Expected behavior and loop
Relevant code exceptions or logs:
Sad thing it doesn't log this!?
i can try pulling from GIT flatout and try again and see if i get the same error, instead of running the binary
Hi @DrBlackross, OctoBot requires python3.8 not python 2.7 to run properly
K, will update to 3.8 and try again
ok, updated to python 3.8.10 (which was 3.6), but does octobot pull python3 or just python by default?
media-main:~$ python -V Python 2.7.18 media-main:~$ python3 -V Python 3.8.10 media-main:~$
(quick fix)
sudo update-alternatives --list python; sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1; sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2; sudo update-alternatives --config python
then just selected python 3
media-main:~$ sudo update-alternatives --config python There are 2 choices for the alternative python (providing /usr/bin/python).
Selection Path Priority Status
- 0 /usr/bin/python3 2 auto mode 1 /usr/bin/python2 1 manual mode 2 /usr/bin/python3 2 manual mode
Press
Ok still same error on python 3.8.10
2022-04-23 17:14:45,172 INFO SellLimitOrder | ffbb1885-2a24-4181-876d-5a471e36152d DOGE/USDT | SELL_LIMIT | Price : 0.1352 | Quantity : 4.1 | State : closed | id : ffbb1885-2a24-4181-876d-5a471e36152d closed on coinbasepro 2022-04-23 17:17:03,009 WARNING WebSocketClient - coinbasepro COINBASE.ws.5: received no messages within timeout, restarting connection 2022-04-23 17:19:33,454 WARNING WebSocketClient - coinbasepro COINBASE.ws.5: received no messages within timeout, restarting connection
Its just DOGE, ran with eth and btc for months before, maybe its just a 'temp' glitch? (i'll give it a few days and see if it pauses all trading)