ordinals / ord

👁‍🗨 Rare and exotic sats
https://ordinals.com
Creative Commons Zero v1.0 Universal
3.86k stars 1.38k forks source link

Error while starting the Ord server on Fractal Bitcoin node #4000

Closed AksharPrajapati03 closed 1 month ago

AksharPrajapati03 commented 1 month ago

I have successfully set up both Fractal Bitcoin and Ord for Fractal. The wallet creation is working properly, but I'm facing an issue when starting the ord server.

Command Used: ubuntu@Fractal-Bitcoin-Node:$ ord-fractal --chain=fractal-mainnet server --address 0.0.0.0:8080

Error Message:

[indexing blocks] ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5/108701
error: failed to lookup address information: Name or service not known

Steps to Reproduce:

  1. Set up Fractal Bitcoin node and Ord according to the instructions.
  2. Attempt to create a wallet (works successfully).
  3. Start the Ord server using the following command: ord-fractal --chain=fractal-mainnet server --address 0.0.0.0:8080
  4. Encounter the above error during the process.

Expected Behavior: The Ord server should start without issues and listen on the specified address.

Observed Behavior: The server fails to start, and the error failed to lookup address information: Name or service not known is thrown during block indexing.

Environment: OS: Ubuntu 24.04 LTS Instance Type: Standard_DC4s_v3 (4 vCPUs, 32 GiB RAM) Bitcoin Node Setup: Bitcoind and Ord are installed in separate folders. Chain: Fractal-Mainnet

Additional Context: Bitcoin node is running fine and syncing data. The bitcoin.conf file contains the correct RPC configurations (user, password, and port). Networking is properly configured for the instance.

Potential Causes: DNS resolution issue? Missing configuration in the ord-fractal setup? Address binding issue on the instance?

Request for Support: Please provide guidance on resolving this issue. If additional logs or information are needed, I can provide them.

AksharPrajapati03 commented 1 month ago

It's resolved by /home/ubuntu/fractald-0.2.1-x86_64-linux-gnu/ord/target/release/ord --cookie-file /home/ubuntu/fractald-0.2.1-x86_64-linux-gnu/data/.cookie --datadir /home/ubuntu/fractald-0.2.1-x86_64-linux-gnu/data --bitcoin-rpc-url http://127.0.0.1:8332 server --http-port 8080