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

Hivefeed crashes periodically #35

Open
BorislavZlatanov opened this issue Jan 11, 2025 · 0 comments
Open

Hivefeed crashes periodically #35

BorislavZlatanov opened this issue Jan 11, 2025 · 0 comments

Comments

@BorislavZlatanov
Copy link

Every once in a while it crashes and stops running. Here are the logs from the last time:

DOCKER LOGS: (press ctrl-c to exit)
[2025-01-09T14:29:40.163Z] Querying Probit (hive/usdt)
[2025-01-09T14:29:40.163Z] Querying GateIO (hive/usdt)
[2025-01-09T14:29:40.163Z] Querying Bittrex (usdt/usd)
[2025-01-09T14:29:40.163Z] Querying Kraken (usdt/usd)
[2025-01-09T14:29:40.164Z] Querying Coinbase (usdt/usd)
[2025-01-09T14:29:40.164Z] Querying Bitfinex (usdt/usd)
Exchange Binance is down! Skipping... true
/opt/hivefeed/lib/adapters/HuobiAdapter.js:23
                console.error('Invalid response code or server error:',error,response.statusCode);
                                                                                      ^

TypeError: Cannot read properties of undefined (reading 'statusCode')
    at Request._callback (/opt/hivefeed/lib/adapters/HuobiAdapter.js:23:87)
    at self.callback (/opt/hivefeed/node_modules/request/request.js:185:22)
    at Request.emit (node:events:513:28)
    at Request.onRequestError (/opt/hivefeed/node_modules/request/request.js:877:8)
    at ClientRequest.emit (node:events:513:28)
    at TLSSocket.socketErrorListener (node:_http_client:494:9)
    at TLSSocket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v18.12.1
npm notice
npm notice New major version of npm available! 8.19.2 -> 11.0.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.0.0
npm notice Run npm install -g npm@11.0.0 to update!
npm notice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant