poly-flashloan-bot icon indicating copy to clipboard operation
poly-flashloan-bot copied to clipboard

undefined when found opportunity

Open hatemua opened this issue 2 years ago • 7 comments

Do you know what is the issue here? image_2022-01-10_210654

hatemua avatar Jan 10 '22 20:01 hatemua

Would you please provide traceback or something?

iouae avatar Jan 11 '22 05:01 iouae

poly-flashloan-bot\node_modules@ethersproject\logger\lib\index.js:199 var error = new Error(message); ^

Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.5.1) at Logger.makeError (D:\crypto\poly-flashloan-bot\node_modules@ethersproject\logger\lib\index.js:199:21) at Logger.throwError (D:\crypto\poly-flashloan-bot\node_modules@ethersproject\logger\lib\index.js:208:20) at JsonRpcProvider. (D:\crypto\poly-flashloan-bot\node_modules@ethersproject\providers\lib\json-rpc-provider.js:517:54) at step (D:\crypto\poly-flashloan-bot\node_modules@ethersproject\providers\lib\json-rpc-provider.js:48:23) at Object.throw (D:\crypto\poly-flashloan-bot\node_modules@ethersproject\providers\lib\json-rpc-provider.js:29:53) at rejected (D:\crypto\poly-flashloan-bot\node_modules@ethersproject\providers\lib\json-rpc-provider.js:21:65) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) { reason: 'could not detect network', code: 'NETWORK_ERROR', event: 'noNetwork'

royshahar avatar Jan 12 '22 12:01 royshahar

image

royshahar avatar Jan 12 '22 12:01 royshahar

It happens to me when I have a bad network or 4G... since I use EC2 I definitely don't have anymore this error and these undefined.....

ezera23 avatar Jan 14 '22 11:01 ezera23

Want to report the same issue has happened to me

┌───┬────────┬─────────┬────────┬─────────┬──────┬──────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────┬──────────────────────────┐
│ # │ From   │  Amount │ To     │  Amount │    ± │    % │ Log                                                                                                                                                                                                          │   Time │                Timestamp │     ├───┼────────┼─────────┼────────┼─────────┼──────┼──────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────┼──────────────────────────┤
│ undefined0 │ undefinedDAI    │ undefined1000.00 │ undefinedETH    │ undefined1010.94 │ undefined10.9 │ undefined 1.1 │ undefined                                                                                                                                                                                                             │ undefined  1.2s │ undefined2022-02-07T01:07:59.472Z │1 │ undefined11.5 │ undefined 1.2 │ undefined                                                                                                                                                                               ┌───┬────────┬─────────┬────────┬─────────┬──────┬──────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────┬──────────────────────────┐
│ # │ From   │  Amount │ To     │  Amount │    ± │    % │ Log                                                                                                                                                                                                          │   Time │                Timestamp │     ├───┼────────┼─────────┼────────┼─────────┼──────┼──────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────┼──────────────────────────┤
│ undefined0 │ undefinedDAI    │ undefined1000.00 │ undefinedETH    │ undefined1010.94 │ undefined10.9 │ undefined 1.1 │ undefined                                                                                                                                                                                                             │ undefined  1.2s │ undefined2022-02-07T01:07:59.472Z │1 │ undefined11.5 │ undefined 1.2 │ undefined

when that happens the BOT seems to be doing a low of requests to the Polygon network

image

adedade avatar Feb 07 '22 01:02 adedade

@yuichiroaoki any idea of the above? seems to be a recurring issue 🙇

adedade avatar Feb 07 '22 03:02 adedade

I am getting this issue too. Any idea how to solve or troubleshoot? How would I see where the issue is occurring?

ifeingewgewmlkm avatar May 14 '22 10:05 ifeingewgewmlkm