Skip to content

Commit

Permalink
doc: Add Server Address mismatch error when using TTS CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Siva-7482 committed Apr 10, 2024
1 parent 9800b0c commit 66edaba
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,17 @@ The `--location-public` flag would be interpreted as being `true`, and `false` a
```bash
ttn-lw-cli gateways set <gateway-id> --location-public=false --status-public=false --auto-update=true
```

## Server Address Mismatch

Accessing {{% tts %}} CLI requires the correct [CLI configuration file]({{< ref "/the-things-stack/interact/cli/configuring-cli" >}}) with the server addresses. If you try to perform actions on the entities registered in other server address, then you will face the error `error:cmd/ttn-lw-cli/commands:end_device_server_address_mismatch`.

For example, if you configured the CLI with the `eu1` cluster server address and try to access the device registered on the `au1` cluster, then the below error will be observed due to the mismatch of server addresses in the [CLI configuration file]({{< ref "/the-things-stack/interact/cli/configuring-cli" >}}).

```
error:cmd/ttn-lw-cli/commands:end_device_server_address_mismatch (Network/Application/Join Server address mismatch)
```

While configuring the server address in the [CLI configuration file]({{< ref "/the-things-stack/interact/cli/configuring-cli" >}}), you need to ensure that the correct cluster address is used for performing any operations on entities registered in that cluster. If you want to perform operations on the entities registered in the `eu1` cluster then you need to ensure the [CLI configuration file]({{< ref "/the-things-stack/interact/cli/configuring-cli" >}}) with the `eu1` cluster.

It is important to use the `eu1` cluster as the Identity Server address in the [CLI configuration file]({{< ref "/the-things-stack/interact/cli/configuring-cli" >}}), regardless of the entity registered in any other cluster.

0 comments on commit 66edaba

Please sign in to comment.