# Endpoint Addition Stage

Endpoint addition is the first step to starting your chaos engineering experiments. It helps you set up the targets for the experiment.

Usually you encounter failures in this stage if Mangle has some difficulty reaching the endpoint either due to network connectivity issues, blocked ports or restrictive firewalls, bad credentials or wrong IP/Hostname values.

## **Common Error Codes and Next Steps** <a href="#common-error-codes-and-next-steps" id="common-error-codes-and-next-steps"></a>

### **FIRM01: Connection Refused** <a href="#firm-01-connection-refused" id="firm-01-connection-refused"></a>

1. Usually affects a remote machine endpoint.
2. Ensure that the machine is remotely accessible by running the ping command.
3. Ensure that the ssh service is running and the credentials are correct.

### **FIRM03: Mangle requires file transfer access** <a href="#firm-03-mangle-requires-file-transfer-access" id="firm-03-mangle-requires-file-transfer-access"></a>

1. Usually affects a remote machine endpoint.
2. Ensure that the sftp configuration on the remote machine is correct.
3. Ensure that the ssh service is running and the credentials are correct.

### Cannot connect to adapter while adding a vCenter Endpoint <a href="#cannot-connect-to-adapter-while-adding-a-vcenter-endpoint" id="cannot-connect-to-adapter-while-adding-a-vcenter-endpoint"></a>

1. Verify if you are able to open up the vCenter adapter Swagger URL which is normally available at *https\://:8443/mangle-vc-adapter/swagger-ui.html*
2. Verify if they can get the health of the vCenter adapter from the mangle container using:

   curl -k *https\://:8443/mangle-vc-adapter/application/health*
3. If the first verification succeeds and the second fails, inter-container communication is blocker. So ensure that the port used for the vCenter adapter is open. If you have followed the mangle documentation this port is usually 8443.
4. If the first and second verification fails, check if the vCenter adapter container is up and running.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bluekeys.org/guide/qualite-logicielle/introduction-mangle-chaos-engineering/troubleshooting-guide/endpoint-addition-stage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
