Blockstream / Blockstream/esplora
Latest Docker Container: Failing to access endpoints and web interface
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 514
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 16
Description
Hi,
I am running a VM with Ubuntu 20.04
**I pulled the latest docker container:**
`
docker pull blockstream/esplora:latest
`
**I started the Docker container using:**
`sudo docker run -p 0.0.0.0:50001:50001 -p 0.0.0.0:8080:80 \
--volume ~/.bitcoin:/data \
-e "EXPLORA_ADDRESS=0.0.0.0" \
-e "EXPLORA_PORT=50001" \
-e "API_ADDRESS=0.0.0.0" \
-e "API_PORT=8080" \
--rm -i -t blockstream/esplora:latest \
bash -c "/srv/explorer/run.sh bitcoin-mainnet explorer"
`
**The container starts and starts syncing. It completes the sync process (took several days) with:**

**It ends with**
`
UpdateTip: new best=00000000000000000004e67e83bee5fc25bc8526b4e51932c48d0f97294d3014 height=783814 version=0x2001c000 log2_work=94.098534 tx=820392602 date='2023-04-03T23:24:55Z' progress=0.999998 cache=1202.8MiB(8687804txo)`
` INFO - hash=00000000000000000004e67e83bee5fc25bc8526b4e51932c48d0f97294d3014 height=783814 @ 2023-04-03T23:24:55Z (783815 left to index)`
**If run a curl command, it fails to return any data:**
`
curl http://localhost:50001/tx/tx_id
`
`
curl: (56) Recv failure: Connection reset by peer
`
`
curl http://localhost:50001/tx/tx_id
curl: (52) Empty reply from server
`
if i try running the command from inside the container
`
curl -v http://localhost:50001/tx/tx_id
Trying 127.0.0.1:50001...
connect to 127.0.0.1 port 50001 failed: Connection refused
Trying ::1:50001...
Immediate connect fail for ::1: Cannot assign requested address
Failed to connect to localhost port 50001: Connection refused
Closing connection 0
curl: (7) Failed to connect to localhost port 50001: Connection refused
`
**If i try accessing the web interface it shows: _Unavailable_**

Any assistance would be a great help, Thanks in advance ;)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.