Title: ThreadRPCServer incorrect password attempt from 127.0.0.1
Post by: BlackHatCoiner on May 02, 2021, 02:00:34 PM
Operating System: Ubuntu 18.04 Bitcoin Client: Bitcoin Core v0.21.0 release build. Description of the problem: I run bitcoind with the parameters below and it works, but I then receive that "ThreadRPCServer incorrect password attempt from 127.0.0.1" error. It doesn't seem to change anything like stop working, but it just continuously returns it. What does it mean and how do I fix it? Log file: https://pastebin.com/raw/Jbfq31Pw angelo@angelocomputer:~/bitcoin/bin$ ./bitcoind -testnet -datadir=/media/angelo/1TB/p2p/BTC/AppData/testnet 2021-05-02T13:56:10Z Bitcoin Core version v0.21.0 (release build) 2021-05-02T13:56:10Z Assuming ancestors of block 000000000000006433d1efec504c53ca332b64963c425395515b01977bd7b3b0 have valid signatures. 2021-05-02T13:56:10Z Setting nMinimumChainWork=0000000000000000000000000000000000000000000001db6ec4ac88cf2272c6 2021-05-02T13:56:10Z Using the 'sse4(1way),sse41(4way)' SHA256 implementation 2021-05-02T13:56:10Z Default data directory /home/angelo/.bitcoin 2021-05-02T13:56:10Z Using data directory /media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3 2021-05-02T13:56:10Z Config file: /media/angelo/1TB/p2p/BTC/AppData/testnet/bitcoin.conf (not found, skipping) 2021-05-02T13:56:10Z Setting file arg: wallet = ["test"] 2021-05-02T13:56:10Z Command-line arg: datadir="/media/angelo/1TB/p2p/BTC/AppData/testnet" 2021-05-02T13:56:10Z Command-line arg: testnet="" 2021-05-02T13:56:10Z Using at most 125 automatic connections (1024 file descriptors available) 2021-05-02T13:56:10Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements 2021-05-02T13:56:10Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements 2021-05-02T13:56:10Z Script verification uses 1 additional threads 2021-05-02T13:56:10Z scheduler thread start 2021-05-02T13:56:10Z HTTP: creating work queue of depth 16 2021-05-02T13:56:10Z Using random cookie authentication. 2021-05-02T13:56:10Z Generated RPC authentication cookie /media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/.cookie 2021-05-02T13:56:10Z HTTP: starting 4 worker threads 2021-05-02T13:56:10Z Using wallet directory /media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/wallets 2021-05-02T13:56:10Z init message: Verifying wallet(s)... 2021-05-02T13:56:10Z Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2021-05-02T13:56:10Z Using wallet /media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/wallets/test/wallet.dat 2021-05-02T13:56:10Z BerkeleyEnvironment::Open: LogDir=/media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/wallets/test/database ErrorFile=/media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/wallets/test/db.log 2021-05-02T13:56:10Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39436 2021-05-02T13:56:12Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39438 2021-05-02T13:56:12Z init message: Loading banlist... 2021-05-02T13:56:12Z SetNetworkActive: true 2021-05-02T13:56:12Z Using /16 prefix for IP bucketing 2021-05-02T13:56:12Z Cache configuration: 2021-05-02T13:56:12Z * Using 2.0 MiB for block index database 2021-05-02T13:56:12Z * Using 8.0 MiB for chain state database 2021-05-02T13:56:12Z * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space) 2021-05-02T13:56:12Z init message: Loading block index... 2021-05-02T13:56:12Z Switching active chainstate to Chainstate [ibd] @ height -1 (null) 2021-05-02T13:56:12Z Opening LevelDB in /media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/blocks/index 2021-05-02T13:56:12Z Opened LevelDB successfully 2021-05-02T13:56:12Z Using obfuscation key for /media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/blocks/index: 0000000000000000 2021-05-02T13:56:16Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39436 2021-05-02T13:56:16Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39438 2021-05-02T13:56:20Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39438 2021-05-02T13:56:20Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39436 2021-05-02T13:56:24Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39438 2021-05-02T13:56:24Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39436 2021-05-02T13:56:26Z LoadBlockIndexDB: last block file = 197 2021-05-02T13:56:26Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=1536, size=24551924, heights=1972270...1973835, time=2021-04-21...2021-05-02) 2021-05-02T13:56:26Z Checking all blk files are present... 2021-05-02T13:56:27Z Opening LevelDB in /media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/chainstate 2021-05-02T13:56:27Z Opened LevelDB successfully 2021-05-02T13:56:27Z Using obfuscation key for /media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/chainstate: 7c064d8c1f4992c5 2021-05-02T13:56:27Z Loaded best chain: hashBestChain=000000000000000597c6d123f53e04725afc19c3efce9cefcde56d21cba01db7 height=1973817 date=2021-05-02T12:30:14Z progress=0.999989 2021-05-02T13:56:27Z init message: Rewinding blocks... 2021-05-02T13:56:28Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) started 2021-05-02T13:56:28Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) completed (0.00s) 2021-05-02T13:56:28Z init message: Verifying blocks... 2021-05-02T13:56:28Z Verifying last 6 blocks at level 3 2021-05-02T13:56:28Z [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE]. 2021-05-02T13:56:28Z No coin database inconsistencies in last 6 blocks (65 transactions) 2021-05-02T13:56:28Z block index 16661ms 2021-05-02T13:56:28Z init message: Loading wallet... 2021-05-02T13:56:28Z BerkeleyEnvironment::Open: LogDir=/media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/wallets/test/database ErrorFile=/media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/wallets/test/db.log 2021-05-02T13:56:29Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39438 2021-05-02T13:56:29Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39436 2021-05-02T13:56:29Z [test] Wallet File Version = 169900 2021-05-02T13:56:29Z [test] Keys: 2004 plaintext, 0 encrypted, 20004 w/ metadata, 2004 total. Unknown wallet records: 0 2021-05-02T13:56:30Z [test] Wallet completed loading in 1825ms 2021-05-02T13:56:30Z [test] setKeyPool.size() = 2000 2021-05-02T13:56:30Z [test] mapWallet.size() = 3 2021-05-02T13:56:30Z [test] m_address_book.size() = 6003 2021-05-02T13:56:30Z block tree size = 1973836 2021-05-02T13:56:30Z nBestHeight = 1973817 2021-05-02T13:56:30Z Bound to [::]:18333 2021-05-02T13:56:30Z torcontrol thread start 2021-05-02T13:56:30Z Bound to 0.0.0.0:18333 2021-05-02T13:56:30Z Bound to 127.0.0.1:18334 2021-05-02T13:56:30Z loadblk thread start 2021-05-02T13:56:30Z init message: Loading P2P addresses... 2021-05-02T13:56:30Z UpdateTip: new best=000000000000000ffface17e209b2223a6af32dbf8cd89899316ad5467bb546e height=1973818 version=0x27ffe000 log2_work=74.209103 tx=59974529 date='2021-05-02T12:39:31Z' progress=0.999991 cache=0.0MiB(66txo) 2021-05-02T13:56:30Z UpdateTip: new best=000000000000000d56571094d7cf071c0c37c73208109fdad037d36390a05cfb height=1973819 version=0x27ffe000 log2_work=74.209138 tx=59974530 date='2021-05-02T12:40:54Z' progress=0.999991 cache=0.0MiB(67txo) 2021-05-02T13:56:30Z UpdateTip: new best=0000000000000002e5a4b5e28efa317ea2770697b4bce73a37b0141c72f37629 height=1973820 version=0x27ffe000 log2_work=74.209173 tx=59974537 date='2021-05-02T12:44:56Z' progress=0.999991 cache=0.0MiB(73txo) 2021-05-02T13:56:30Z UpdateTip: new best=0000000000000000b9d317a7f4c61437b1594f021b442496f523ed234eb64d0d height=1973821 version=0x37ffe000 log2_work=74.209208 tx=59974541 date='2021-05-02T12:46:14Z' progress=0.999991 cache=0.0MiB(83txo) 2021-05-02T13:56:30Z UpdateTip: new best=00000000000000053ef79138eddddaffc49329da54c4917586dc69957f5472cc height=1973822 version=0x20e00000 log2_work=74.209243 tx=59974546 date='2021-05-02T12:49:45Z' progress=0.999992 cache=0.0MiB(97txo) 2021-05-02T13:56:30Z UpdateTip: new best=0000000000000009b571e04159ce352ead96620f2001cb4c6c8e2db9709e39d9 height=1973823 version=0x37ffe000 log2_work=74.209278 tx=59974554 date='2021-05-02T12:52:55Z' progress=0.999992 cache=0.0MiB(107txo) 2021-05-02T13:56:30Z UpdateTip: new best=00000000000000226f9f493ad571350160511521c73b5fe4b01ef21a19f4a796 height=1973824 version=0x20800000 log2_work=74.209312 tx=59974557 date='2021-05-02T12:53:25Z' progress=0.999992 cache=0.0MiB(110txo) 2021-05-02T13:56:30Z UpdateTip: new best=000000000000001d927d04b24ec36301b3a4efcc2b453ebafce90f5babe1925f height=1973825 version=0x20c00000 log2_work=74.209347 tx=59974560 date='2021-05-02T12:55:49Z' progress=0.999993 cache=0.0MiB(116txo) 2021-05-02T13:56:30Z Loaded 18641 addresses from peers.dat 105ms 2021-05-02T13:56:30Z ERROR: DeserializeFileDB: Failed to open file /media/angelo/1TB/p2p/BTC/AppData/testnet/testnet3/anchors.dat 2021-05-02T13:56:30Z 0 block-relay-only anchors will be tried for connections. 2021-05-02T13:56:30Z init message: Starting network threads... 2021-05-02T13:56:30Z net thread start 2021-05-02T13:56:30Z init message: Done loading 2021-05-02T13:56:30Z addcon thread start 2021-05-02T13:56:30Z dnsseed thread start 2021-05-02T13:56:30Z Waiting 300 seconds before querying DNS seeds. 2021-05-02T13:56:30Z opencon thread start 2021-05-02T13:56:30Z msghand thread start 2021-05-02T13:56:30Z UpdateTip: new best=0000000000000015f1a8125022f28c020d4573ce58c77c5cd73f8509efdd1fa1 height=1973826 version=0x20800000 log2_work=74.209382 tx=59974695 date='2021-05-02T13:04:12Z' progress=0.999994 cache=0.1MiB(606txo) 2021-05-02T13:56:30Z UpdateTip: new best=000000000000001c4cb918c0b06f00f33b69a7d600885d451de7142b5abf7fd3 height=1973827 version=0x20000000 log2_work=74.209417 tx=59974699 date='2021-05-02T13:05:19Z' progress=0.999994 cache=0.1MiB(612txo) 2021-05-02T13:56:30Z UpdateTip: new best=00000000000000072a1136c1f984f34835ee9eebbbcee630a720afca06b407a3 height=1973828 version=0x20000000 log2_work=74.209452 tx=59974704 date='2021-05-02T13:05:56Z' progress=0.999994 cache=0.1MiB(622txo) 2021-05-02T13:56:30Z UpdateTip: new best=0000000000000014f28c269d6f0ff73bbba4d4ae27363899e0820b67e31e7ad0 height=1973829 version=0x27ffe000 log2_work=74.209487 tx=59974731 date='2021-05-02T13:19:34Z' progress=0.999995 cache=0.1MiB(661txo) 2021-05-02T13:56:30Z UpdateTip: new best=00000000000000154c0d7a4834d24b8346b6c462eb5cfc25f9d9a2194f5cf9ed height=1973830 version=0x2fffe000 log2_work=74.209521 tx=59974740 date='2021-05-02T13:20:58Z' progress=0.999996 cache=0.1MiB(669txo) 2021-05-02T13:56:30Z UpdateTip: new best=0000000000000003069fef9f960461e64de898fca9dad8b5c854d791fae0abfb height=1973831 version=0x20400000 log2_work=74.209556 tx=59974741 date='2021-05-02T13:21:04Z' progress=0.999996 cache=0.1MiB(670txo) 2021-05-02T13:56:30Z UpdateTip: new best=0000000000000003bbdd8a679e303660070775ce8d90187dc01f3bce8baa0ea9 height=1973832 version=0x2fffe000 log2_work=74.209591 tx=59974748 date='2021-05-02T13:23:59Z' progress=0.999996 cache=0.1MiB(678txo) 2021-05-02T13:56:30Z UpdateTip: new best=00000000000000167fba394608a8fdb12f1b03fc999e8b6422fc37864e846887 height=1973833 version=0x20c00000 log2_work=74.209626 tx=59974754 date='2021-05-02T13:25:23Z' progress=0.999996 cache=0.1MiB(688txo) 2021-05-02T13:56:30Z UpdateTip: new best=0000000000000001bb991be3ce9f24e1bbcb9debcbf6dcc29cc69b6bffc4c3dd height=1973834 version=0x20c00000 log2_work=74.209661 tx=59974756 date='2021-05-02T13:26:10Z' progress=0.999996 cache=0.1MiB(690txo) 2021-05-02T13:56:30Z UpdateTip: new best=00000000000000169c3b43824cd93cb787bb3ab88f89af4526efb8b878413866 height=1973835 version=0x20200000 log2_work=74.209695 tx=59974768 date='2021-05-02T13:31:44Z' progress=0.999997 cache=0.1MiB(704txo) 2021-05-02T13:56:30Z Imported mempool transactions from disk: 0 succeeded, 13 failed, 0 expired, 0 already there, 0 waiting for initial broadcast 2021-05-02T13:56:30Z loadblk thread exit 2021-05-02T13:56:31Z Leaving InitialBlockDownload (latching to false) 2021-05-02T13:56:31Z New outbound peer connected: version: 70015, blocks=1973839, peer=0 (full-relay) 2021-05-02T13:56:33Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39438 2021-05-02T13:56:33Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39436 2021-05-02T13:56:37Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39438 2021-05-02T13:56:37Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39436 2021-05-02T13:56:38Z UpdateTip: new best=0000000000000009d4be98b8d8ece34b91bc323e8395eb7b8fc88c469e1f1584 height=1973836 version=0x27ffe000 log2_work=74.209730 tx=59974790 date='2021-05-02T13:43:24Z' progress=0.999998 cache=0.1MiB(736txo) 2021-05-02T13:56:38Z UpdateTip: new best=0000000000000013bcf985eaebc79e5599c28ab4adb3b931cb92499a3cfa5272 height=1973837 version=0x20000000 log2_work=74.209765 tx=59974796 date='2021-05-02T13:46:59Z' progress=0.999999 cache=0.1MiB(739txo) 2021-05-02T13:56:38Z UpdateTip: new best=0000000000000011338bdf80cd11484c2522ed38978d6806750585d216bcc46d height=1973838 version=0x20c00000 log2_work=74.209800 tx=59974799 date='2021-05-02T13:49:11Z' progress=0.999999 cache=0.1MiB(744txo) 2021-05-02T13:56:38Z UpdateTip: new best=0000000000000009080fa46b471b908099d8cc849f02774ac372e114c4cd9571 height=1973839 version=0x2fffe000 log2_work=74.209835 tx=59974825 date='2021-05-02T13:55:50Z' progress=1.000000 cache=0.1MiB(770txo) 2021-05-02T13:56:41Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39438 2021-05-02T13:56:41Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39436 2021-05-02T13:56:43Z New outbound peer connected: version: 70016, blocks=1973839, peer=1 (full-relay) 2021-05-02T13:56:44Z New outbound peer connected: version: 70015, blocks=1973839, peer=2 (full-relay) 2021-05-02T13:56:45Z New outbound peer connected: version: 70015, blocks=1973839, peer=3 (full-relay) 2021-05-02T13:56:45Z New outbound peer connected: version: 70016, blocks=1973839, peer=4 (full-relay) 2021-05-02T13:56:46Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39436 2021-05-02T13:56:46Z ThreadRPCServer incorrect password attempt from 127.0.0.1:39438
bitcoin.conf: server=1 listen=1 daemon=1 txindex=1 rpcallowip=127.0.0.1
Title: Re: ThreadRPCServer incorrect password attempt from 127.0.0.1
Post by: BitMaxz on May 02, 2021, 04:27:25 PM
Can you try adding this parameter below rpcuser=yourusername rpcpassword=yourpassword Then run bitcoind again. If it doesn't work try to stop bitcoind again and add this command below when running bitcoind Sample: $bitcoind -rpcuser=USERNAME -rpcpassword=PASSWORD
Title: Re: ThreadRPCServer incorrect password attempt from 127.0.0.1
Post by: BlackHatCoiner on May 02, 2021, 07:39:23 PM
Yes it worked, but I don't think that this was the issue. I think it had to do with the docker script it was running in the background. I realized that inside the script I hadn't configured the username and the password and it was reasonably returning the failed attempt. Anyway, thank you for your answer.
|