Closed MichaelMichaelMichaelMichaelMichael closed 3 days ago
Closing with this solution:
config.toml:
network = "bitcoin"
daemon_dir = "/var/lib/electrs/daemon"
auth = "admin:FQhLdvusTlNX-pGhxQDLdW3vD5-NAgDcePWU_fDX98E"
daemon_rpc_addr = "bitcoincore.mybitcoinspace.svc.mycluster.local:50332"
daemon_p2p_addr = "bitcoincore.mybitcoinspace.svc.mycluster.local:50333"
log_filters = "INFO"
(feel free to comment on solution)
Have you read the documentation? Yes.
How did you configure electrs?
bitcoin.conf on server side:
``` rpcport=50332 rpcauth = admin:70fd8c76061dc5549c7169c52253c94e$25358180edbf7c998bbbbde2da2948cdefa12e5c382f872e3e29384b3c699a51 port=50333 ```/etc/electrs/config.toml
```# Bitcoin Core RPC Konfiguration [server] rpc_addr = "bitcoincore24.mybitcoinspace.svc.mycluster.local:50332" # Electrs Konfiguration [electrs] auth = "admin:70fd8c76061dc5549c7169c52253c94e$25358180edbf7c998bbbbde2da2948cdefa12e5c382f872e3e29384b3c699a51" network = "bitcoin" daemon_dir = "/var/lib/electrs/daemon" daemon_rpc_addr = "bitcoincore.mybitcoinspace.svc.mycluster.local:50332" daemon_p2p_addr = "bitcoincore.mybitcoinspace.svc.mycluster.local:50333" ```Environment variables:
none
Arguments:Debug output of configuration
On the bitcoin core server, I get this message with each restart of electrs:
Expected behavior Hi, I have installed electrs in a Kubernetes Cluster, and I'm trying to connect to a bitcoin core installation from electrs. I am capable to connect like the following:
So trying the same parameters in electrs doesn't work for me. I've also tried to change the auth line in /etc/electrs/config.toml to:
Actual behavior No connection to bitcoin core