Open osamaalawnah opened 1 year ago
I have this same issue
` operator-cli status
AxiosError: connect ECONNREFUSED 45.33.44.51:4000
at AxiosError.from (/home/node/app/cli/node_modules/axios/dist/node/axios.cjs:789:14)
at RedirectableRequest.handleRequestError (/home/node/app/cli/node_modules/axios/dist/node/axios.cjs:2744:25)
at RedirectableRequest.emit (node:events:525:35)
at eventHandlers.
},
_events: [Object: null prototype] {
response: [Function: handleResponse],
error: [Function: handleRequestError],
socket: [Array]
},
_eventsCount: 3,
_maxListeners: undefined,
_options: {
maxRedirects: 21,
maxBodyLength: Infinity,
protocol: 'http:',
path: '/nodelist',
method: 'GET',
headers: [Object: null prototype],
agents: [Object],
auth: undefined,
beforeRedirect: [Function: dispatchBeforeRedirect],
beforeRedirects: [Object],
hostname: '45.33.44.51',
port: '4000',
agent: undefined,
nativeProtocols: [Object],
pathname: '/nodelist'
},
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: [Socket],
_header: 'GET /nodelist HTTP/1.1\r\n' +
'Accept: application/json, text/plain, */*\r\n' +
'User-Agent: axios/1.2.2\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: 45.33.44.51:4000\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/nodelist',
_ended: false,
res: null,
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: '45.33.44.51',
protocol: 'http:',
_redirectable: [Circular *1],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kUniqueHeaders)]: null
},
_currentUrl: 'http://45.33.44.51:4000/nodelist',
_timeout: null,
[Symbol(kCapture)]: false
}, cause: Error: connect ECONNREFUSED 45.33.44.51:4000 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '45.33.44.51', port: 4000 } } /home/node/app/cli/build/src/utils/fetch-network-data.js:132 throw new Error('Unable to fetch list of nodes in the network'); ^
Error: Unable to fetch list of nodes in the network at getNewActiveNode (/home/node/app/cli/build/src/utils/fetch-network-data.js:132:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async fetchDataFromNetwork (/home/node/app/cli/build/src/utils/fetch-network-data.js:67:9) at async fetchStakeParameters (/home/node/app/cli/build/src/utils/fetch-network-data.js:302:25) at async Promise.all (index 0) at async /home/node/app/cli/build/src/node-commands.js:178:153
Node.js v18.16.1 `
I have same issue. Does anyone fix?
Same issue here did anyone manage to fix ?
same issue
Same issue here
node@06a7fce88dc8:~/app$ operator-cli status
/home/node/app/cli/build/src/utils/fetch-network-data.js:109
throw new Error(Unable to fetch data from network (out of retries: ${reason}).
);
^
Error: Unable to fetch data from network (out of retries: status 500). at fetchDataFromNetwork (/home/node/app/cli/build/src/utils/fetch-network-data.js:109:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async fetchStakeParameters (/home/node/app/cli/build/src/utils/fetch-network-data.js:296:25) at async Promise.all (index 0) at async /home/node/app/cli/build/src/node-commands.js:221:153
Node.js v18.16.1
on GUI, all tabs return the same error: "Sorry, something went wrong. Please report this issue to our support team so we can investigate and resolve the problem."
and then try to pull node status "operator-cli status": /home/node/app/cli/build/src/utils/fetch-network-data.js 109 throw new error (unable to fetch data from network (out of retries: #${reason})