ord icon indicating copy to clipboard operation
ord copied to clipboard

ord indexing error

Open kyakbi opened this issue 2 years ago β€’ 20 comments

Getting a error when indexing blocks: ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Use -txindex or provide a block hash to enable blockchain transaction queries. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214

kyakbi avatar Feb 23 '23 18:02 kyakbi

Ah yeah I had the same and now it's

ord git:(master) βœ— cargo run wallet inscribe inscription/galoisfield.btc.txt
    Finished dev [unoptimized + debuginfo] target(s) in 1.84s
     Running `target/debug/ord wallet inscribe inscription/galoisfield.btc.txt`
error: JSON-RPC error: transport error: Couldn't connect to host: Broken pipe (os error 32)

Obviously my bitcoind is running it's since more than 1 week I can't finish indexing for these both reasons !!

I hope that we will find solutions

GaloisField2718 avatar Feb 24 '23 09:02 GaloisField2718

getting the same error

Getting a error when indexing blocks: ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Use -txindex or provide a block hash to enable blockchain transaction queries. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214

ezlifesg avatar Feb 26 '23 03:02 ezlifesg

getting the same error

Getting a error when indexing blocks: ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Use -txindex or provide a block hash to enable blockchain transaction queries. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214

This error is might be because you forgot -txindex=1 after bitcoind command. It can’t find the mempool and the rest of the chain

GaloisField2718 avatar Feb 26 '23 10:02 GaloisField2718

I’m used with it. And after repeated repeated repeated now it’s work. I don’t really know why but now it’s ~good

GaloisField2718 avatar Feb 26 '23 10:02 GaloisField2718

root@docker-desktop:~/ord/target/release# ./ord --rpc-url 172.16.0.3 --cookie-file ~/ord/.cookie --index ~/.local/share/ord/index0.5.1.redb info

[indexing blocks] 767429/778345[2023-02-26T11:36:53Z ERROR ord::index::updater] Couldn't receive txs error trying to connect: tcp connect error: Connection refused (os error 111)
error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214

With RUST_BACKTRACE=1 RUST_LOG=debug

2023-02-26T17:43:11Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockhash [767429]
[2023-02-26T17:43:11Z INFO  ord::index::updater] Block 767428 at 2022-12-14 20:12:25 UTC with 0 transactions…
[2023-02-26T17:43:11Z INFO  ord::index::updater] Wrote 0 sat ranges from 0 outputs in 0 ms
[2023-02-26T17:43:11Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockheader ["00000000000000000002b35aef66eb15cd2b232a800f75a2f25cedca4cfe52c4",false]
[2023-02-26T17:43:11Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockhash [767430]
[2023-02-26T17:43:11Z INFO  ord::index::updater] Block 767429 at 2022-12-14 20:21:27 UTC with 0 transactions…
[2023-02-26T17:43:11Z INFO  ord::index::updater] Wrote 0 sat ranges from 0 outputs in 0 ms
[2023-02-26T17:43:11Z DEBUG bitcoincore_rpc] JSON-RPC request: getblock ["000000000000000000029730547464f056f8b6e2e0a02eaf69c24389983a04f5",0]
[2023-02-26T17:43:12Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockhash [767431]
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z INFO  ord::index::updater] Block 767430 at 2022-12-14 20:32:00 UTC with 2332 transactions…
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z DEBUG hyper::client::connect::http] connecting to 172.16.0.3:80
[2023-02-26T17:43:12Z DEBUG bitcoincore_rpc] JSON-RPC request: getblock ["0000000000000000000098ecdd4b0d5dd45351e15ca25865a52278d6826483b9",0]
[2023-02-26T17:43:12Z ERROR ord::index::updater] Couldn't receive txs error trying to connect: tcp connect error: Connection refused (os error 111)
error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214
   0: ord::index::updater::inscription_updater::InscriptionUpdater::index_transaction_inscriptions
   1: ord::index::updater::Updater::update_index
   2: ord::index::updater::Updater::update
   3: ord::subcommand::info::Info::run
   4: ord::subcommand::Subcommand::run
   5: ord::main
   6: std::sys_common::backtrace::__rust_begin_short_backtrace
   7: std::rt::lang_start::{{closure}}
   8: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/ops/function.rs:606:13
      std::panicking::try::do_call
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:483:40
      std::panicking::try
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:447:19
      std::panic::catch_unwind
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panic.rs:137:14
      std::rt::lang_start_internal::{{closure}}
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/rt.rs:148:48
      std::panicking::try::do_call
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:483:40
      std::panicking::try
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:447:19
      std::panic::catch_unwind
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panic.rs:137:14
      std::rt::lang_start_internal
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/rt.rs:148:20
   9: main
  10: __libc_start_main
  11: _start

bliotti avatar Feb 26 '23 11:02 bliotti

You need to specify the port for rpc-url as well. By default it's 8332, so it would be 172.16.0.3:8332

andrewtoth avatar Feb 26 '23 17:02 andrewtoth

That fixed the issue, thanks

bliotti avatar Feb 26 '23 18:02 bliotti

Howdy, similar issue here (same tx ID), but not an RPC connection issue described above.

Running a fully synced Bitcoin Core v22.0.0 on Ubuntu. Compiled ord 0.5.1 from source. Began indexing, ran up to 765k block fast and without errors, then bombed (I didn't catch the exact message, but it was similar to this one).

Started researching, turned txindex=1, then rest=1 on for bitcoind - same error. After googling by tx ID found this thread ;-)

The block it originally bombed on was 767430 (same as here) and same tx ID a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214

Turned debug on, went past block 767430, now bombed on 767433 trying to fetch the same tx ID. When rerunning the index command keep getting the error on the same tx ID, but each time it claims a different [prior] block that supposedly had already been indexed.

Tried looking up this tx via ordinals.com explorer - it finds it, and it's actually in block 767427 https://ordinals.com/tx/a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 https://ordinals.com/block/767427

My hunch is maybe either the ord index got corrupt when being built or somehow my local copy of the blockchain is corrupt (how's that possible?! - bitcoind continues interacting with peers fine). But what a coincidence ord needing to fetch more info on exactly the same tx and not finding it!

Anyhow, here are some logs. Appreciate any hints!

[2023-02-27T18:47:06Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockhash [767429] [2023-02-27T18:47:06Z INFO ord::index::updater] Block 767428 at 2022-12-14 20:12:25 UTC with 0 transactions… [2023-02-27T18:47:06Z INFO ord::index::updater] Wrote 0 sat ranges from 0 outputs in 0 ms [2023-02-27T18:47:06Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockheader ["00000000000000000002b35aef66eb15cd2b232a800f75a2f25cedca4cfe52c4",false] [2023-02-27T18:47:06Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockhash [767430] [2023-02-27T18:47:06Z INFO ord::index::updater] Block 767429 at 2022-12-14 20:21:27 UTC with 0 transactions… [2023-02-27T18:47:06Z INFO ord::index::updater] Wrote 0 sat ranges from 0 outputs in 0 ms [2023-02-27T18:47:06Z DEBUG bitcoincore_rpc] JSON-RPC request: getblock ["000000000000000000029730547464f056f8b6e2e0a02eaf69c24389983a04f5",0] [2023-02-27T18:47:07Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockhash [767431] [2023-02-27T18:47:07Z DEBUG bitcoincore_rpc] JSON-RPC request: getblock ["0000000000000000000098ecdd4b0d5dd45351e15ca25865a52278d6826483b9",0] [2023-02-27T18:47:07Z INFO ord::index::updater] Block 767430 at 2022-12-14 20:32:00 UTC with 2332 transactions… [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connecting to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG hyper::client::connect::http] connected to 127.0.0.1:8332 [2023-02-27T18:47:07Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockhash [767432] [2023-02-27T18:47:07Z DEBUG bitcoincore_rpc] JSON-RPC request: getblock ["00000000000000000001b471a4b9aa32de5cb794d15eb663ad05db6c848cbd04",0] [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 5672 bytes [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 5672 bytes [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 5672 bytes [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 5672 bytes [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 5672 bytes [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 5672 bytes [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 5672 bytes [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 5672 bytes [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 5672 bytes [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 4209 bytes [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 5672 bytes [2023-02-27T18:47:07Z DEBUG hyper::proto::h1::io] flushed 5672 bytes [2023-02-27T18:47:07Z DEBUG bitcoincore_rpc] JSON-RPC request: getblockhash [767433] [2023-02-27T18:47:09Z DEBUG hyper::proto::h1::io] parsed 3 headers [2023-02-27T18:47:09Z DEBUG hyper::proto::h1::conn] incoming body is content-length (8028 bytes) [2023-02-27T18:47:09Z DEBUG hyper::proto::h1::conn] incoming body completed [2023-02-27T18:47:09Z DEBUG hyper::client::pool] pooling idle connection for ("http", 127.0.0.1:8332) [2023-02-27T18:47:09Z DEBUG hyper::proto::h1::io] parsed 3 headers [2023-02-27T18:47:09Z DEBUG hyper::proto::h1::conn] incoming body is content-length (8028 bytes) [2023-02-27T18:47:09Z DEBUG hyper::proto::h1::conn] incoming body completed [2023-02-27T18:47:09Z DEBUG hyper::client::pool] pooling idle connection for ("http", 127.0.0.1:8332) [2023-02-27T18:47:09Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 0: ord::index::updater::inscription_updater::InscriptionUpdater::index_transaction_inscriptions 1: ord::index::updater::Updater::update_index 2: ord::index::updater::Updater::update 3: ord::subcommand::index::run 4: ord::subcommand::Subcommand::run 5: ord::main 6: std::sys_common::backtrace::__rust_begin_short_backtrace 7: std::rt::lang_start::{{closure}} 8: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/ops/function.rs:606:13 std::panicking::try::do_call at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:483:40 std::panicking::try at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:447:19 std::panic::catch_unwind at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panic.rs:137:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:483:40 std::panicking::try at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:447:19 std::panic::catch_unwind at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panic.rs:137:14 std::rt::lang_start_internal at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/rt.rs:148:20 9: main 10: __libc_start_call_main at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16 11: __libc_start_main_impl at ./csu/../csu/libc-start.c:392:3 12: _start

catson@fubar:~$ unset RUST_LOG RUST_BACKTRACE catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767421/778548[2023-02-27T18:48:46Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767319/778548[2023-02-27T18:48:52Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767412/778548[2023-02-27T18:48:58Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767426/778548[2023-02-27T18:49:03Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767361/778548[2023-02-27T18:49:17Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767276/778548[2023-02-27T18:49:23Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767359/778548[2023-02-27T18:49:27Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767341/778548[2023-02-27T18:49:30Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767381/778548[2023-02-27T18:49:32Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767338/778548[2023-02-27T18:49:34Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767421/778548[2023-02-27T18:49:38Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214 catson@fubar:~$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767293/778548[2023-02-27T18:49:47Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214

Catson avatar Feb 27 '23 20:02 Catson

Update:

Tried removing and recreating ord index. Went through very fast (less than 1/2 hr), bombed on block 767365 with the same tx ID. I thought "well, maybe 767365 is where the transaction whose input was a2df...bd1214's input but no - that transaction (ae692be4fa337daf7dd4e351e6dccd5de0e05fe7cfe8106d1793d3b62dfa278c) is in 767419.

catson@fubar:~/.local/share/ord$ mv index.redb index.redb.bad catson@fubar:~/.local/share/ord$ ord index [indexing blocks] β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 767365/778555[2023-02-27T20:23:41Z ERROR ord::index::updater] Couldn't receive txs Failed to fetch raw transaction: code -5 message No such mempool transaction. Blockchain transactions are still in the process of being indexed. Use gettransaction for wallet transactions. error: failed to get transaction for a2df039d22ce84803de677328efe3a2fe82b0102d66c32f899715608babd1214

Catson avatar Feb 27 '23 20:02 Catson

It says in the error message Blockchain transactions are still in the process of being indexed.. Run bitcoin-cli getindexinfo and wait until it says synced: true.

andrewtoth avatar Feb 27 '23 21:02 andrewtoth

Gotcha, noobie mistake! I didn't realize that even though the core is in sync with the network, txindex didn't finish building because I just recently turned that flag on. Thanks, Andrew!

Catson avatar Feb 28 '23 04:02 Catson

when i run command bitcoin-cli getindexinfo it show empty just this : { }

abdelhamidelkhouider avatar Mar 06 '23 17:03 abdelhamidelkhouider

You need to run bitcoind with txindex=1.

andrewtoth avatar Mar 06 '23 17:03 andrewtoth

i run bitcoind in the background Screenshot_9

abdelhamidelkhouider avatar Mar 06 '23 17:03 abdelhamidelkhouider

how to do that pls ?

abdelhamidelkhouider avatar Mar 06 '23 17:03 abdelhamidelkhouider

Run bitcoind -txindex

andrewtoth avatar Mar 06 '23 17:03 andrewtoth

in any folder ?

abdelhamidelkhouider avatar Mar 06 '23 17:03 abdelhamidelkhouider

i run it on daemon folder and i got this Screenshot_10

abdelhamidelkhouider avatar Mar 06 '23 17:03 abdelhamidelkhouider

Yes, it says in the log it is syncing txindex now.

andrewtoth avatar Mar 06 '23 17:03 andrewtoth

thank you it's running right now the sync has started i just will wait tell it says true that my balance can be showing is that right

abdelhamidelkhouider avatar Mar 06 '23 17:03 abdelhamidelkhouider

I just solve this problem In addition to the solutions mentioned by others, here's my own key point 1.make sure sync data and bitcoincore in the same folder 2.keep bitcoind.exe running and open a new tab for other command like "ord.exe wallet balance" then everything goes fine. hope this help.

Kynepen avatar Mar 15 '23 16:03 Kynepen