Bitcoin
bitcoind – Rpc task queue is overflowing.
Attempting to make an rpc call to the rpc interface “listunspent”. So I get this error: ESOCKETTIMEDOUT. When I checked the Bitcoin node debug file, I saw an error message saying “Depth queue work received”. Added this option rpcworkqueue= setting to bitcoin.conf file.
Here is my bitcoin.conf file
prune=550 port=8333 rpcworkqueue=1000 rpcuser=user rpcpassword=userpass zmqpubrawblock=tcp://127.0.0.1:29000 zmqpubrawtx=tcp://127.0.0.1:29000 zmqpubhashtx=tcp://127.0.0.1:29000 zmqpubhashblock=tcp://127.0.0.1:29000
Below is the error response I get while trying to make an rpc call in my node app.
{
"status": 500,
"error":
"name": "RequestError",
"message": "Error: ESOCKETTIMEDOUT",
"cause":
"code": "ESOCKETTIMEDOUT",
"connect": false
,
"error":
"code": "ESOCKETTIMEDOUT",
"connect": false
,
"options":
"auth":
"user": "user",
"pass": "userpass"
,
"uri": "/",
"baseUrl": "http://127.0.0.1:8332",
"timeout": 30,
"json": true,
"body":
"method": "listunspent",
"params": ,
"jsonrpc": 1,
"id": "rpc-bitcoin"
,
"method": "POST",
"simple": true,
"resolveWithFullResponse": false,
"transform2xxOnly": false
}
Could you help me solve this problem?