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

i have error running the bot #47

Open
kayden111 opened this issue Oct 10, 2021 · 5 comments
Open

i have error running the bot #47

kayden111 opened this issue Oct 10, 2021 · 5 comments

Comments

@kayden111
Copy link

[email protected] start /home/dydx/app
node build/index.js

Starting in env undefined
2021-10-10 13:04:51 [info]: {
"at": "web3#loadAccounts",
"message": "Loaded liquidator account",
"address": "*****************************"
}
(node:25) UnhandledPromiseRejectionWarning: Error: Invalid JSON RPC response: ""
at Object.InvalidResponse (/home/dydx/app/node_modules/web3-core-helpers/src/errors.js:42:16)
at XMLHttpRequest.request.onreadystatechange (/home/dydx/app/node_modules/web3-providers-http/src/index.js:92:32)
at XMLHttpRequestEventTarget.dispatchEvent (/home/dydx/app/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (/home/dydx/app/node_modules/xhr2-cookies/dist/xml-http-request.js:208:14)
at XMLHttpRequest._onHttpRequestError (/home/dydx/app/node_modules/xhr2-cookies/dist/xml-http-request.js:349:14)
at ClientRequest. (/home/dydx/app/node_modules/xhr2-cookies/dist/xml-http-request.js:252:61)
at ClientRequest.emit (events.js:198:13)
at Socket.socketErrorListener (_http_client.js:392:9)
at Socket.emit (events.js:198:13)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
(node:25) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:25) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@michaeldim
Copy link
Contributor

I wouldn't waste your time trying to resolve this issue as the bot is pretty much obsolete - https://dydx.exchange/blog/layer-1-wind-down

@kayden111
Copy link
Author

Any bot work for layer 2?

@kayden111
Copy link
Author

What do you recommend? Go to other platform and build a bot ?

@michaeldim
Copy link
Contributor

Any bot work for layer 2?
I think dydx run Liquidations internally on l2

@kayden111
Copy link
Author

Manually sending contract is not an option because people are using bot that are faster

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants