Blockstream / Blockstream/esplora

docker run bitcoin testnet3 and signet doesn't work well

Open
#503 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
514
Avg merge
1d 10h
Merged PRs (30d)
16

Description

run esplora via docker:

1. build the docker image first on server according to https://github.com/Blockstream/esplora?tab=readme-ov-file#how-to-build-the-docker-image

2. run testnet3 according to https://github.com/Blockstream/esplora?tab=readme-ov-file#how-to-run-the-explorer-for-bitcoin-testnet3

bitcoind can sync up blocks normally, yet the backend service is not started.

check nginx config in the container:

![CleanShot-20240609014811](https://github.com/Blockstream/esplora/assets/1585505/adf68d1f-f7a0-4bdc-8a22-cd59a1c9399d)

`ls` under `/var`:

![CleanShot-20240609014718](https://github.com/Blockstream/esplora/assets/1585505/fbb549a5-8cf4-45fd-8ba2-81e43aad29c1)

**`/var/electrs-rest.sock` does not exist**

check electrs logs:

![CleanShot-20240609015508](https://github.com/Blockstream/esplora/assets/1585505/8f65e0d6-bfb3-4ff9-9b27-a9d3c70f94bd)

it keeps printing the same log without errors after syncing all the blocks.

--

try to run bitcoin signet, the phenomenon is the same as testnet3

--

try to run bitcoin regtest, everything works well.

check regtest electrs logs:

![CleanShot-20240609020105](https://github.com/Blockstream/esplora/assets/1585505/ed2ff51b-8939-4679-9b98-ee46bb980634)

it has 2 lines of output that say the rest service is up, once the blocks are synced, whereas testnet3 and signet don't have this kind of log.

please check

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.