# FOR "HANDSHAKE FAILED ERROR"

#### &#x20;ERROR :&#x20;

<figure><img src="/files/kpHwVqH4HmG0z7r2mNjm" alt=""><figcaption></figcaption></figure>

### Install Screen :&#x20;

```
apt-get install screen -y
```

### Install Ngrok :&#x20;

```
 curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok
```

#### Sing Up Ngrok : <https://dashboard.ngrok.com/signup>

#### Get Your Auth Code :&#x20;

<figure><img src="/files/9mxtYwnFGoDgMuypyrDg" alt=""><figcaption></figcaption></figure>

```
ngrok config add-authtoken yourauthtoken
```

```
ngrok http http://localhost:8080
```

CTRL C

```
screen ngrok http 3001
```

<figure><img src="/files/y56VbT2RJcGRUwBJOIOb" alt=""><figcaption></figcaption></figure>

#### Copy This Url And Save - After saving, exit the screen with CTRL A + D. ( Do not exit with CTRL C, it closes completely. )

```
nano .env
```

<figure><img src="/files/1fDfjR0uc00lNUEgYxXf" alt=""><figcaption></figcaption></figure>

#### Paste the url you copied into the webhook url section and CTRL X CTRL Y ENTER . Saved.

```
docker stop scout && docker rm scout
```

<pre><code><strong>sudo ufw allow 3001
</strong></code></pre>

```
docker pull johnsonchasm/chasm-scout .
docker run -d --restart=always --env-file ./.env -p 3001:3001 --name scout johnsonchasm/chasm-scout

source ./.env
curl -X POST \
     -H "Content-Type: application/json" \
     -H "Authorization: Bearer $WEBHOOK_API_KEY" \
     -d '{"body":"{\"model\":\"gemma-7b-it\",\"messages\":[{\"role\":\"system\",\"content\":\"You are a helpful assistant.\"}]}"}' \
     $WEBHOOK_URL
```

#### 99% of your problem will be solved.


---

# 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://services.rpcdot.com/chasm/chasm-node-setup/for-handshake-failed-error.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.
