Header

fatal: Could not read from remote repository

You may run into the following error when trying to configure a server in your project:

Command failed to execute: Warning: Permanently added 'repo-host.com,1.2.3.4' (ECDSA) to the list of known hosts.
Host: The project you were looking for could not be found.
fatal: Could not read from remote repository

This is returned by your repository host when we attempt to contact it to obtain a list of branches to deploy from.

Most likely, the public key has been removed from the deployment keys area in your repository host, or, the keypair has been replaced in the project in DeployHQ. The later would happen if you'd uploaded your own custom private key to the project.

To resolve this, you'll just need to head to the Configuration area in your project, copy the public key from there, then ensure it's uploaded to your deployment keys area in your repository host. You can find guides for updating the public key on the various supported hosts in our documentation, at: