Blockstream / Blockstream/esplora

API returning 502, please help

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

Description

So, basically, I followed the instructions in the readme and _supposedly_ got all the blockchain indexed and the docker container is running, but I'm getting HTTP 502 when requesting the API and the web app shows this:
![image](https://user-images.githubusercontent.com/470630/111649925-94e08480-87e3-11eb-9da1-50c5539b22fe.png)

Can someone please confirm this app includes the needed API to query the blockchain? it is not very clear.

Tracking the error takes me to the next nginx error log:
```2021/03/18 13:57:25 [crit] 153#153: *59 connect() to unix:/var/electrs-rest.sock failed (2: No such file or directory) while connecting to upstream, client: 46.53.242.215, server: , request: "GET /api/blocks/ HTTP/1.1", upstream: "http://unix:/var/electrs-rest.sock:/blocks/", host: "54.242.81.76:8080"```

Can someone please help me understand what is `http://unix:/var/electrs-rest.sock:/blocks/`? How can I fix this?

Thanks.

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.