SatoshiTop
SatoshiTop copied to clipboard
Error: socket hang up
Hello
the application is very nice but for some reason it only runs for a few seconds then throws these errors (on 2 different debian nodes same behaviour):
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at Socket.socketCloseListener (node:_http_client:474:25)
at Socket.emit (node:events:529:35)
at TCP.<anonymous> (node:net:351:12)
node:internal/errors:720
const ex = new Error(msg);
^
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at Socket.socketCloseListener (node:_http_client:474:25)
at Socket.emit (node:events:529:35)
at TCP.<anonymous> (node:net:351:12) {
code: 'ECONNRESET'
}
any hints?
thanks
Can I suppose this similar to https://github.com/st3b1t/SatoshiTop/issues/23
I have not been able to replicate the problem yet, try monitoring the bitcoin core logs (RPC API) and share that Maybe that way we can resolve any bugs
hello
these are the errors from the debug log
`2025-02-19T16:40:14Z [rpc] ThreadRPCServer method=getmempoolinfo user=cookie 2025-02-19T16:40:14Z [rpc] ThreadRPCServer method=getblockchaininfo user=cookie 2025-02-19T16:40:14Z [rpc] ThreadRPCServer method=getblockchaininfo user=cookie
2025-02-19T16:40:17Z [rpc] ThreadRPCServer method=getnetworkinfo user=cookie 2025-02-19T16:40:17Z [rpc] ThreadRPCServer method=getpeerinfo user=cookie 2025-02-19T16:40:17Z [rpc] ThreadRPCServer method=estimatesmartfee user=cookie 2025-02-19T16:40:17Z [rpc] ThreadRPCServer method=getblockstats user=cookie 2025-02-19T16:40:17Z [rpc] ThreadRPCServer method=getnetworkinfo user=cookie 2025-02-19T16:40:17Z [rpc] ThreadRPCServer method=uptime user=cookie 2025-02-19T16:40:17Z [rpc] ThreadRPCServer method=estimatesmartfee user=cookie 2025-02-19T16:40:17Z [rpc] ThreadRPCServer method=estimatesmartfee user=cookie 2025-02-19T16:40:17Z [rpc] ThreadRPCServer method=getblockstats user=cookie 2025-02-19T16:40:19Z [rpc] ThreadRPCServer method=getmempoolinfo user=cookie 2025-02-19T16:40:19Z [rpc] ThreadRPCServer method=getblockchaininfo user=cookie 2025-02-19T16:40:19Z [rpc] ThreadRPCServer method=getblockchaininfo user=cookie
2025-02-19T16:40:28Z [rpc] ThreadRPCServer method=getblockchaininfo user=cookie 2025-02-19T16:40:28Z [rpc] ThreadRPCServer method=getpeerinfo user=cookie 2025-02-19T16:40:28Z [rpc] ThreadRPCServer method=getnetworkinfo user=cookie
I have 2 nodes and I notice the one synced has no problem, the other one still syncyng 2024 crashes
`rror: socket hang up
at connResetException (node:internal/errors:720:14)
at Socket.socketCloseListener (node:_http_client:474:25)
at Socket.emit (node:events:529:35)
at TCP.
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at Socket.socketCloseListener (node:_http_client:474:25)
at Socket.emit (node:events:529:35)
at TCP.
I managed to override the error using rpcuser/passwd instead of the cookie :-)
@attilhacks if you want on X: https://x.com/BlockChainCaffe/status/1892914112188850477
I managed to override the error using rpcuser/passwd instead of the cookie :-)
strange I use always cookie file... Then you want to say that this issue appear only with user/pass mode?
no, the issue triggers only with cookie, with user/pass works :-)
@attilhacks may be this problem with cookie appear when Bitcoin Core is restarted?