Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

read ECONNRESET at TLSWrap.onStreamRead #1904

Open
nonkreon opened this issue Jul 4, 2019 · 0 comments
Open

read ECONNRESET at TLSWrap.onStreamRead #1904

nonkreon opened this issue Jul 4, 2019 · 0 comments
Labels

Comments

@nonkreon
Copy link

nonkreon commented Jul 4, 2019

System information

  • Have I written custom code (as opposed to using zenbot vanilla): No
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Mint 19.1
  • Zenbot version (commit ref, or version): 2d9f713
  • Zenbot branch: master
  • NodeJS version: 10.16.0
  • Python version (when using a python script): 3.6.8
  • Exact command to reproduce (include everything): /usr/bin/node zenbot.js trade --conf POLONIEXGAS.js
  • Did I make any changes to conf-sample.js?: Created this configuration copy from unmodified conf-sample.js, Added my poloniex key and secret and the trade pair GAS-BTC.

Describe the problem

Connection drops randomly

Source code / Error logs

fetching pre-roll data:
(node:15136) DeprecationWarning: collection.save is deprecated. Use insertOne, insertMany, updateOne, or updateMany instead.

skipping 12 hrs of previously collected data

poloniex.GAS-BTC saved 200 trades 0 days left

download complete!

�[90m DATE�[39m�[90m PRICE�[39m�[90m DIFF�[39m�[90m VOL�[39m�[90m RSI�[39m�[90m ACTIONS�[39m�[90m BAL�[39m�[90m PROFIT�[39m
�[2K�[1G�[90m2019-07-04 06:31:00�[39m �[36m0.�[39m�[33m00026093�[39m�[90m�[39m �[90mGAS-BTC�[39m �[90m 16�[39m
... list of trades goes on and on ...
�[2K�[1G�[90m2019-07-04 16:10:00�[39m �[36m0.�[39m�[33m00026599�[39m�[90m�[39m �[90mGAS-BTC�[39m�[32m +0.39%�[39m�[90m 2�[39m
------------------------------------------ INITIALIZE OUTPUT ------------------------------------------
---------------------------------------- STARTING LIVE TRADING ----------------------------------------
Press �[7m l �[27m to list available commands.
/PATHTOZENBOT/zenbot/commands/trade.js:458
throw err
^

Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
error: Forever detected script exited with code: 1
error: Script restart attempt #1
fetching pre-roll data:
(node:15304) DeprecationWarning: collection.save is deprecated. Use insertOne, insertMany, updateOne, or updateMany instead.

skipping 12 hrs of previously collected data

poloniex.GAS-BTC saved 200 trades 0 days left

download complete!

�[90m DATE�[39m�[90m PRICE�[39m�[90m DIFF�[39m�[90m VOL�[39m�[90m RSI�[39m�[90m

@DeviaVir DeviaVir added the bug label Jul 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants