ord icon indicating copy to clipboard operation
ord copied to clipboard

JSON-RPC error: transport error: unexpected HTTP code: 404

Open Shimizu96 opened this issue 2 years ago • 2 comments

Hello, so I'm running a full node with those settings in bitcoin.conf located in .bitcoin folder. OS is Ubuntu

txindex=1 server=1 rpcbind=127.0.0.1 rpcallowip=127.0.0.1 rpcport=8332 rest=1 maxmempol=900

Issue is that when i do

ord index

I get

error: JSON-RPC error: transport error: unexpected HTTP cpde: 404

I must say that i did run the command

ord --rpc-url 127.0.0.1:8332

trying to figure out a solution. Yet, the issue was still there without running the --rpc-URL command and using this bitcoin.conf file:

txindex=1 server=1 rest=1

Help would be greatly appreciated

Shimizu96 avatar Feb 11 '23 09:02 Shimizu96

Did you already confirm with bitcoin-cli that you node is synced and working?

kaspar-nl avatar Feb 11 '23 16:02 kaspar-nl

Make sure txindex is synced. Run bitcoin-cli getindexinfo.

andrewtoth avatar Feb 12 '23 04:02 andrewtoth

Make sure txindex is synced. Run bitcoin-cli getindexinfo.

{ }

i am getting this output while calling it how to solve this

krishnadude98 avatar Jul 26 '23 06:07 krishnadude98

@krishnadude98 add txindex=1 to your bitcoin.conf file and restart Bitcoin Core or start it with -txindex option.

andrewtoth avatar Jul 26 '23 14:07 andrewtoth