Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed on running demo.sh with 'Error: Connection refused (os error 61)' #3

Open
waheya opened this issue Nov 23, 2023 · 1 comment

Comments

@waheya
Copy link

waheya commented Nov 23, 2023

==== setting up ====
...

setting up RGB clients

  • rgb-contracts/bin/rgb -n regtest -d data0 import ./rgb-schemata/schemata/NonInflatableAssets.rgb
    Error: Connection refused (os error 61)
  • rgb-contracts/bin/rgb -n regtest -d data0 import ./rgb-schemata/schemata/NonInflatableAssets-RGB20.rgb
    Error: Connection refused (os error 61)
  • rgb-contracts/bin/rgb -n regtest -d data1 import ./rgb-schemata/schemata/NonInflatableAssets.rgb
    Error: Connection refused (os error 61)
  • rgb-contracts/bin/rgb -n regtest -d data1 import ./rgb-schemata/schemata/NonInflatableAssets-RGB20.rgb
    Error: Connection refused (os error 61)
  • rgb-contracts/bin/rgb -n regtest -d data2 import ./rgb-schemata/schemata/NonInflatableAssets.rgb
    Error: Connection refused (os error 61)
  • rgb-contracts/bin/rgb -n regtest -d data2 import ./rgb-schemata/schemata/NonInflatableAssets-RGB20.rgb
    Error: Connection refused (os error 61)
    ++ rgb-contracts/bin/rgb -n regtest -d data2 schemata
    Error: Connection refused (os error 61)
    schema:
  • rgb-contracts/bin/rgb -n regtest -d data2 interfaces
    Error: Connection refused (os error 61)
    ...
    syncing wallet issuer
  • bdk-cli/bin/bdk-cli -n regtest wallet -w issuer -d 'wpkh([5d20de38/86'''/1'''/0'''/9]tpubDEvD2Jt4GMqQKsSxsH3Up2eMScZPn2FjF8iingvnNshKi3D66U7Mrzj57hEHuMi9JdcHgGdCAb6pPvTPh7nCcu2Mhmtio2sv2K9PiN3Av4V/)' -s localhost:50001 sync
    [2023-11-23T09:28:49Z ERROR bdk_cli] Electrum client error: Connection refused (os error 61)
    extracting vout
    ++ bdk-cli/bin/bdk-cli -n regtest wallet -w issuer -d 'wpkh([5d20de38/86'''/1'''/0'''/9]tpubDEvD2Jt4GMqQKsSxsH3Up2eMScZPn2FjF8iingvnNshKi3D66U7Mrzj57hEHuMi9JdcHgGdCAb6pPvTPh7nCcu2Mhmtio2sv2K9PiN3Av4V/
    )' list_unspent

ERROR: couldn't retrieve vout for txid

stopping services and cleaning data directories

@nicbus
Copy link
Collaborator

nicbus commented Nov 23, 2023

Hi, I am unable to reproduce the issue.

Anyway, the error states it's a connection issue, so I would make sure the required services (bitcoind and electrs) have indeed been started.

As a reference, the output of the demo.sh script should include:

 > starting services
[+] Running 3/3
 ✔ Network rgb-sandbox_default       Created
 ✔ Container rgb-sandbox-bitcoind-1  Started
 ✔ Container rgb-sandbox-electrs-1   Started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants