From fdd29af43483c854a37e5ad7a8ff8b0f09965126 Mon Sep 17 00:00:00 2001 From: Timothy Sealy Date: Thu, 6 Apr 2017 20:42:59 +0200 Subject: [PATCH] Update README.md Added troubleshooting information on push remote resin error. --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index e604c20..28f6f33 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,19 @@ RESIN_HOST_CONFIG_core_freq | 250 git commit -m "first upload of ttn files to resin" git push -f resin master ``` + + **Troubleshooting:** + If you get the error below please check if your ssh public key has been added to you resin account. In addition verify whether your private key has the correct permissions (i.e. chmod 400 ~/.ssh/id_rsa). + + ```bash + $ git push -f resin master + Connection closed by xxx.xxx.xxx.xxx port 22 + fatal: Could not read from remote repository. + + Please make sure you have the correct access rights + and the repository exists. + $ + ``` 5. What you'll now see happening in terminal is that this "git push" does an incredible amount of work: 1. It will upload a Dockerfile, a "build script", and a "run script" to resin 2. It will start to do a "docker build" using that Dockerfile, running it within a QEMU ARM virtual machine on the resin service.