> ## Documentation Index
> Fetch the complete documentation index at: https://deployz.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Fix connector problems

> Resolve a Deployz connector that is offline or never connects.

The Deployz connector is the small service your customer installs in their AWS account. It connects out to Deployz about once a minute, picks up work such as installs and updates, and reports status. If it can't connect, Deployz can't install, update, or check the deployment. For what the connector is and how to update it, see [Reconnect or update the Deployz connector](https://deployz.dev/docs/operate/connector.md).

## The install page shows Still connecting

**Symptom:** Your customer started the setup in AWS, but the install page shows **Still connecting** with the message that Deployz hasn't connected to AWS yet. In the dashboard, the deployment's install link card shows the same message and the expected stack name. Deployz shows this after about 15 minutes without a connection. It isn't a failure.

**Checks:** Ask your customer to open AWS CloudFormation in the Region they chose (the install page links to it under **Deployment details**) and look for the stack with the expected name. Then check its status:

| What your customer finds | What it means |
| - | - |
| The stack is still being created | The setup is still running. Wait. |
| The stack failed or was rolled back | The connector never started. Note the failed resource and its reason. A common cause is an AWS policy that blocks the setup. See [Fix install failures](https://deployz.dev/docs/troubleshooting/install.md). |
| There's no stack | The setup was closed before the stack was created. |

**Fix:**

**Who:** your customer, on the install page.

1. Fix the cause in AWS, if the stack failed.
2. On the install page, select **Retry connection**. This starts a fresh attempt with a new one-time code.
3. Follow the page. It shows either a new link to create the stack, or the steps to update the connector stack that's already in the account.

If **Retry connection** says the deployment was already installed, your customer should contact you. The deployment is past this stage. See the other sections on this page.

## The connector never connects after a new install link

**Symptom:** Your customer created the connector stack, but the install page keeps showing **Still connecting**, and the stack in AWS completed without errors.

**Cause:** The stack was created with values from before you issued a new install link. A new install link keeps the same address, but it changes the connection code and the connector credential. Deployz refuses a connector whose credential doesn't match. This happens when you issue a new install link after your customer has already started the setup.

**Fix:**

**Who:** your customer, in their AWS console and on the install page.

1. Reopen the install link, so the page shows the current values.
2. If the page shows **Reconnect the existing connector**, update the existing connector stack with the values shown. Don't create a second stack. See [Update the connector stack](https://deployz.dev/docs/customers/update-connector.md#reconnect-the-connector).
3. Otherwise, select **Retry connection** and create the stack from the page. The stack created with the old values can't connect, so your customer can delete it in CloudFormation.

**Who acts:** your customer. If you aren't sure which values your customer used, select **Issue new install link** in the deployment's **Install link** card, and ask your customer to reopen the link.

## The connector is offline

**Symptom:** The deployment page shows **Lost contact with this deployment**. Under **Technical details**, the **Deployz connector** row shows that it's offline, with the time of its last contact. **Deploy update**, **Restart**, **Rollback**, and **Configuration** aren't available. The deployments list shows **Needs attention · Lost contact**.

Deployz marks the connector offline after about 15 minutes without a check-in. The application may still be running. The page shows the last state Deployz confirmed.

**Likely causes:**

* Your customer deleted the connector stack, or part of it.
* The connector lost its credential.
* The AWS account can no longer reach Deployz over the internet, for example because of a network or policy change.

**Checks:** Ask your customer to confirm that the connector stack still exists in CloudFormation and hasn't been changed, and that nothing new blocks outbound internet access from the account.

**Fix:**

* If your customer finds and fixes a temporary cause, wait a few minutes. The connector reconnects on its own, and Deployz picks up any waiting operations. No action is needed in Deployz.
* Otherwise, ask your customer to update the existing connector stack in their AWS account. If they can't, for example because the stack was deleted, [contact support](https://share.hsforms.com/1dOsn_DJtRhq47DXIaRjeLw5auur).

Operations you started before the connector went offline wait for it. If the connector stays silent for about a day, they fail with `RELAY_DISCONNECTED`. See [`RELAY_DISCONNECTED`](https://deployz.dev/docs/reference/failure-codes#relay_disconnected).

**Who acts:** your customer checks and updates their connector stack. You [contact support](https://share.hsforms.com/1dOsn_DJtRhq47DXIaRjeLw5auur) if they can't.

## Retry install says the connector is offline

**Symptom:** After a failed first install, you select **Retry install**, and the dialog says **The Deployz connector is offline. Issue a new install link and send it to `<customer>`.** The **Retry install** button in the dialog is unavailable.

**Cause:** A retry runs through the connector. Deployz can't retry while the connector is offline.

**Fix:**

**Who:** you (the vendor), in the Deployz dashboard, then your customer, on the install page and in their AWS console.

1. In the dialog, select **Issue new install link**. The new link is valid for 7 days.
2. Send the new link to your customer.
3. Your customer opens the link and follows the steps it shows. If it shows **Reconnect the existing connector**, they update the existing stack. See [Update the connector stack](https://deployz.dev/docs/customers/update-connector.md#reconnect-the-connector).
4. When the connector connects, Deployz starts the install again. You don't need to select **Retry install** again.

> [!WARNING]
>
> A new install link keeps the same address, but it changes the connection code and the connector credential. A connector stack or Quick Create link started with the old values stops working. If the connector is already installed, your customer must update the existing connector stack, not create a second one. A second connector stack for the same deployment isn't supported.

## The connector needs an update

**Symptom:** The deployment page shows **Connector update available** or **Connector update required before the next update**. Or it shows **Connector update in progress**, **Connector update rolled back**, or **Connector update failed**.

**Cause:** Your customer's connector is older than the current version, or an update they started didn't finish. When the update is required, you can't deploy the next update to this deployment until it's done.

| What the page shows | What it means | Fix |
| - | - | - |
| **Connector update available** or **Connector update required before the next update** | The connector is older than the current version. | Your customer updates the existing connector stack and keeps all existing values. |
| **Connector update in progress** | The stack is updating. New operations start after the update completes. | Wait. |
| **Connector update rolled back** | AWS restored the previous connector version. The application keeps running. | Your customer tries the update again. If it rolls back again, they open the stack's **Events** tab in CloudFormation and look for the failed resource. |
| **Connector update failed** | AWS couldn't update or restore the stack. | Your customer opens the connector stack in AWS and looks at its events. Their install page links to the stack. Fix the cause, then update again. |

**Fix:** Your customer updates the existing connector stack and keeps all existing values. This isn't a reset, and it doesn't need a new install link. Send your customer [Update the connector stack](https://deployz.dev/docs/customers/update-connector.md#update-to-a-newer-connector) and the template URL from the alert. Their install page shows the same steps under **Update connector**. See also [Update the connector](https://deployz.dev/docs/operate/connector.md#update-the-connector).

**Who acts:** your customer, in their AWS console.

## Retained data can't be deleted

**Symptom:** On a removed deployment, the detail page shows **Reconnect AWS** instead of **Delete retained data**, with one of these messages:

* **The Deployz connector is offline**
* **The connector is online, but it cannot delete this data**, and the **Deployz connector** row shows **Online · cannot delete this data**

**Cause:** Deployz deletes retained data through the connector. In the first case, the connector is gone or can't reach Deployz, often because your customer deleted the connector stack after the removal. In the second case, your customer installed a new connector after the removal. AWS lets a connector change only the resources that belong to it, so it refuses to let the new connector delete the old data.

**Fix:** Select **Reconnect AWS** and send your customer the new install link. It creates only the connector stack and doesn't install the application again. When the connector is back, Deployz deletes the retained data. See [If the connector is gone](https://deployz.dev/docs/operate/remove.md#if-the-connector-is-gone).

**Who acts:** you (an owner or admin) in the Deployz dashboard, then your customer on the install page.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.