From 7196ee57e629cbb42179e104707c24dec9631a3f Mon Sep 17 00:00:00 2001 From: Davi Figueiredo Date: Mon, 9 Mar 2020 03:35:22 -0300 Subject: [PATCH 1/2] Remembering API and node syncronization status. I've added this after spending some time searching for a solution over the docker layer. Since this can happen due to port forwarding issues, it's important to add a note here. --- devops-guides/how-to-setup-a-node-with-docker.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devops-guides/how-to-setup-a-node-with-docker.md b/devops-guides/how-to-setup-a-node-with-docker.md index bd1ddaa..8647889 100644 --- a/devops-guides/how-to-setup-a-node-with-docker.md +++ b/devops-guides/how-to-setup-a-node-with-docker.md @@ -61,6 +61,8 @@ docker-compose up -d This will run two separate containers. One for Core itself and another one for PostgreSQL. +Remember that the API will be available only after the relay finishes the update. Until there, the container will respond with `Connection reset by peer` to any request made any of its ports. + ### How To Run a Relay and a Forger Node #### Prerequisites to be installed: From 8c84d7389995de2aa30b3f8c053a01ba7c8cedb6 Mon Sep 17 00:00:00 2001 From: Davi Figueiredo Date: Mon, 9 Mar 2020 04:14:42 -0300 Subject: [PATCH 2/2] Better explanation. Co-Authored-By: Brian Faust --- devops-guides/how-to-setup-a-node-with-docker.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devops-guides/how-to-setup-a-node-with-docker.md b/devops-guides/how-to-setup-a-node-with-docker.md index 8647889..c4f6a10 100644 --- a/devops-guides/how-to-setup-a-node-with-docker.md +++ b/devops-guides/how-to-setup-a-node-with-docker.md @@ -61,7 +61,7 @@ docker-compose up -d This will run two separate containers. One for Core itself and another one for PostgreSQL. -Remember that the API will be available only after the relay finishes the update. Until there, the container will respond with `Connection reset by peer` to any request made any of its ports. +The public API won't be available until a relay is fully synchronized with the network and blockchain. All requests before this will result in a connection reset because the port is not yet bound to an application. ### How To Run a Relay and a Forger Node @@ -278,4 +278,3 @@ _Need to start everything from scratch and make sure there are no remaining cach {% hint style="danger" %} **Development files/presets are not Production ready**. Official Production ARK-Core Docker images are now available at [Docker Hub](https://hub.docker.com/r/arkecosystem/core). {% endhint %} -