I have started Algorand node using dockerfile and compose file. I am first creating an image of the latest 2.1.4 version and creating the containers using this image.
My node is getting up but when i am trying to get the status using below CURL , i am getting Recv failure: Connection reset by peer. Anyone can help:
Request:
sudo curl -v http://127.0.0.1:/v1/status -H “X-Algo-API-Token:<token fetched from var/lib/algorand/algo.token>”
Response:
- Trying 127.0.0.1…
- TCP_NODELAY set
- Connected to 127.0.0.1 (127.0.0.1) port (#0)
GET /v1/status HTTP/1.1
Host: 127.0.0.1:
User-Agent: curl/7.58.0
Accept: /
X-Algo-API-Token:
- Recv failure: Connection reset by peer
- stopped the pause stream!
- Closing connection 0
curl: (56) Recv failure: Connection reset by peer
