Error while reading proxy response during shutdown

Wait 5 sec.

While stopping bitcoind, recently I've observed that there an error. Tor is working fine for syncing blocks with peers. Can't figure out what's causing this2025-09-17T16:45:35Z Included configuration file policy.conf2025-09-17T16:45:35Z Included configuration file tor.conf2025-09-17T16:45:35Z Bitcoin Core version v29.1.0 (release build)2025-09-17T16:45:35Z parameter interaction: -proxy set -> setting -natpmp=02025-09-17T16:45:35Z Using the 'x86_shani(1way,2way)' SHA256 implementation2025-09-17T16:45:35Z Using RdSeed as an additional entropy source2025-09-17T16:45:35Z Using RdRand as an additional entropy source2025-09-17T16:45:35Z Default data directory /home/satoshi/.bitcoin2025-09-17T16:45:35Z Using data directory /mnt/bitcoin-data/bitcoin2025-09-17T16:45:35Z Config file: /mnt/bitcoin-data/bitcoin/bitcoin.conf2025-09-17T16:45:35Z Config file arg: bind="127.0.0.1:8333=onion"2025-09-17T16:45:35Z Config file arg: datacarrier="1"2025-09-17T16:45:35Z Config file arg: datacarriersize="83"2025-09-17T16:45:35Z Config file arg: dbcache="8192"2025-09-17T16:45:35Z Config file arg: discover="0"2025-09-17T16:45:35Z Config file arg: dnsseed="0"2025-09-17T16:45:35Z Config file arg: externalip="****************.onion"2025-09-17T16:45:35Z Config file arg: includeconf="policy.conf"2025-09-17T16:45:35Z Config file arg: includeconf="tor.conf"2025-09-17T16:45:35Z Config file arg: listen="1"2025-09-17T16:45:35Z Config file arg: listenonion="0"2025-09-17T16:45:35Z Config file arg: minrelaytxfee="0.00001"2025-09-17T16:45:35Z Config file arg: onlynet="onion"2025-09-17T16:45:35Z Config file arg: proxy="127.0.0.1:9050"2025-09-17T16:45:35Z Config file arg: proxyrandomize="1"2025-09-17T16:45:35Z Config file arg: rest="1"2025-09-17T16:45:35Z Config file arg: rpcallowip="127.0.0.1"2025-09-17T16:45:35Z Config file arg: rpcbind="127.0.0.1:8332"2025-09-17T16:45:35Z Config file arg: server="1"2025-09-17T16:45:35Z Config file arg: txindex="1"2025-09-17T16:45:35Z Command-line arg: conf="/mnt/bitcoin-data/bitcoin/bitcoin.conf"2025-09-17T16:45:35Z Command-line arg: datadir="/mnt/bitcoin-data/bitcoin"2025-09-17T16:45:35Z Using at most 125 automatic connections (65535 file descriptors available)2025-09-17T16:45:35Z scheduler thread start2025-09-17T16:45:35Z Binding RPC on address 127.0.0.1 port 83322025-09-17T16:45:35Z Generated RPC authentication cookie /mnt/bitcoin-data/bitcoin/.cookie2025-09-17T16:45:35Z Permissions used for cookie: rw-------2025-09-17T16:45:35Z Using random cookie authentication.2025-09-17T16:45:35Z Starting HTTP server with 16 worker threads2025-09-17T16:45:35Z Using wallet directory /mnt/bitcoin-data/bitcoin2025-09-17T16:45:35Z init message: Verifying wallet(s)…2025-09-17T16:45:35Z Using /16 prefix for IP bucketing2025-09-17T16:45:35Z init message: Loading P2P addresses…2025-09-17T16:45:35Z Loaded 67942 addresses from peers.dat 234ms2025-09-17T16:45:35Z init message: Loading banlist…2025-09-17T16:45:35Z SetNetworkActive: true2025-09-17T16:45:35Z AddLocal(****************.onion:8333,4)2025-09-17T16:45:35Z Cache configuration:2025-09-17T16:45:35Z * Using 2.0 MiB for block index database2025-09-17T16:45:35Z * Using 1024.0 MiB for transaction index database2025-09-17T16:45:35Z * Using 8.0 MiB for chain state database2025-09-17T16:45:35Z * Using 7158.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)2025-09-17T16:45:35Z Script verification uses 7 additional threads2025-09-17T16:45:35Z Using obfuscation key for blocksdir *.dat files (/mnt/bitcoin-data/bitcoin/blocks): '3a12ece4fb2b8ab2'2025-09-17T16:45:35Z Opening LevelDB in /mnt/bitcoin-data/bitcoin/blocks/index2025-09-17T16:45:35Z Opened LevelDB successfully2025-09-17T16:45:35Z Using obfuscation key for /mnt/bitcoin-data/bitcoin/blocks/index: 00000000000000002025-09-17T16:45:35Z Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements2025-09-17T16:45:35Z Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements2025-09-17T16:45:35Z init message: Loading block index…2025-09-17T16:45:35Z Assuming ancestors of block 00000000000000000001b658dd1120e82e66d2790811f89ede9742ada3ed6d77 have valid signatures.2025-09-17T16:45:35Z Setting nMinimumChainWork=0000000000000000000000000000000000000000b1f3b93b65b16d035a82be842025-09-17T16:45:39Z LoadBlockIndexDB: last block file = 51452025-09-17T16:45:39Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=23, size=37843894, heights=915025...915069, time=2025-09-16...2025-09-17)2025-09-17T16:45:39Z Checking all blk files are present...2025-09-17T16:45:40Z Initializing chainstate Chainstate [ibd] @ height -1 (null)2025-09-17T16:45:40Z Opening LevelDB in /mnt/bitcoin-data/bitcoin/chainstate2025-09-17T16:45:41Z Opened LevelDB successfully2025-09-17T16:45:41Z Using obfuscation key for /mnt/bitcoin-data/bitcoin/chainstate: bba5a2180bb4ad662025-09-17T16:45:41Z Loaded best chain: hashBestChain=000000000000000000005646862e45d7bc5b4c4a3d16e7119254b51a14f51fdb height=915069 date=2025-09-17T05:58:23Z progress=0.9998562025-09-17T16:45:41Z init message: Verifying blocks…2025-09-17T16:45:41Z Verifying last 6 blocks at level 32025-09-17T16:45:41Z Verification progress: 0%2025-09-17T16:45:41Z Verification progress: 16%2025-09-17T16:45:42Z Verification progress: 33%2025-09-17T16:45:42Z Verification progress: 50%2025-09-17T16:45:42Z Verification progress: 66%2025-09-17T16:45:42Z Verification progress: 83%2025-09-17T16:45:42Z Verification progress: 99%2025-09-17T16:45:42Z Verification: No coin database inconsistencies in last 6 blocks (23211 transactions)2025-09-17T16:45:42Z Block index and chainstate loaded2025-09-17T16:45:42Z Opening LevelDB in /mnt/bitcoin-data/bitcoin/indexes/txindex2025-09-17T16:45:42Z Opened LevelDB successfully2025-09-17T16:45:42Z Using obfuscation key for /mnt/bitcoin-data/bitcoin/indexes/txindex: 00000000000000002025-09-17T16:45:42Z Setting NODE_NETWORK on non-prune mode2025-09-17T16:45:42Z block tree size = 9150732025-09-17T16:45:42Z nBestHeight = 9150692025-09-17T16:45:42Z initload thread start2025-09-17T16:45:42Z txindex thread start2025-09-17T16:45:42Z txindex is enabled at height 9150692025-09-17T16:45:42Z txindex thread exit2025-09-17T16:45:42Z Loading 3536 mempool transactions from file...2025-09-17T16:45:42Z Bound to 127.0.0.1:83332025-09-17T16:45:42Z Loaded 2 addresses from "anchors.dat"2025-09-17T16:45:42Z 2 block-relay-only anchors will be tried for connections.2025-09-17T16:45:42Z init message: Starting network threads…2025-09-17T16:45:42Z DNS seeding disabled2025-09-17T16:45:42Z net thread start2025-09-17T16:45:42Z addcon thread start2025-09-17T16:45:42Z init message: Done loading2025-09-17T16:45:42Z opencon thread start2025-09-17T16:45:42Z msghand thread start2025-09-17T16:45:42Z Leaving InitialBlockDownload (latching to false)2025-09-17T16:45:42Z Progress loading mempool transactions from file: 10% (tried 354, 3182 remaining)2025-09-17T16:45:43Z Progress loading mempool transactions from file: 20% (tried 708, 2828 remaining)2025-09-17T16:45:43Z Progress loading mempool transactions from file: 30% (tried 1061, 2475 remaining)2025-09-17T16:45:43Z Progress loading mempool transactions from file: 40% (tried 1415, 2121 remaining)2025-09-17T16:45:44Z Progress loading mempool transactions from file: 50% (tried 1768, 1768 remaining)2025-09-17T16:45:45Z Progress loading mempool transactions from file: 60% (tried 2122, 1414 remaining)2025-09-17T16:45:45Z Progress loading mempool transactions from file: 70% (tried 2476, 1060 remaining)2025-09-17T16:45:46Z Progress loading mempool transactions from file: 80% (tried 2829, 707 remaining)2025-09-17T16:45:46Z Progress loading mempool transactions from file: 90% (tried 3183, 353 remaining)2025-09-17T16:45:46Z Imported mempool transactions from file: 3536 succeeded, 0 failed, 0 expired, 0 already there, 0 waiting for initial broadcast2025-09-17T16:45:46Z initload thread exit2025-09-17T16:45:56Z New block-relay-only v1 peer connected: version: 70016, blocks=915129, peer=12025-09-17T16:45:57Z Saw new header hash=000000000000000000003b443d13fc0b2dcfb7e9b332783fd65c06267c1ae512 height=9150702025-09-17T16:45:57Z Saw new header hash=000000000000000000006967e51e05e86af929479363a0a1c6b74722992c0c25 height=9150712025-09-17T16:45:57Z Saw new header hash=00000000000000000000b3b36493b98d8831183a4c3bad48ccf282a73492693b height=9150722025-09-17T16:45:57Z Saw new header hash=0000000000000000000073dadc631dd956a009d41a1710c631dc5e901f1b559d height=915073...truncated...2025-09-17T18:20:52Z Saw new header hash=000000000000000000016a81c5974205d8be7825f3436d4fbbaa2e3ded369b8d height=9151382025-09-17T18:20:52Z Saw new cmpctblock header hash=000000000000000000016a81c5974205d8be7825f3436d4fbbaa2e3ded369b8d peer=22025-09-17T18:20:53Z UpdateTip: new best=000000000000000000016a81c5974205d8be7825f3436d4fbbaa2e3ded369b8d height=915138 version=0x24e9c000 log2_work=95.829691 tx=1243763339 date='2025-09-17T18:20:46Z' progress=1.000000 cache=73.0MiB(562846txo)2025-09-17T18:22:13Z New block-relay-only v1 peer connected: version: 70016, blocks=915138, peer=1062025-09-17T18:29:11Z New outbound-full-relay v2 peer connected: version: 70016, blocks=915138, peer=1122025-09-17T18:29:23Z New block-relay-only v2 peer connected: version: 70016, blocks=915138, peer=1132025-09-17T18:30:05Z addcon thread exit2025-09-17T18:30:05Z Shutdown: In progress...2025-09-17T18:30:05Z net thread exit2025-09-17T18:30:05Z msghand thread exit2025-09-17T18:30:05Z [error] Error while reading proxy response2025-09-17T18:30:05Z opencon thread exit2025-09-17T18:30:06Z DumpAnchors: Flush 2 outbound block-relay-only peer addresses to anchors.dat started2025-09-17T18:30:06Z DumpAnchors: Flush 2 outbound block-relay-only peer addresses to anchors.dat completed (0.00s)2025-09-17T18:30:06Z scheduler thread exit2025-09-17T18:30:06Z Writing 6590 mempool transactions to file...2025-09-17T18:30:06Z Writing 0 unbroadcast transactions to file.2025-09-17T18:30:06Z Dumped mempool: 0.016s to copy, 0.027s to dump, 3206314 bytes dumped to file2025-09-17T18:30:06Z Flushed fee estimates to fee_estimates.dat.2025-09-17T18:30:07Z Shutdown: done