-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: Add Server Address mismatch error when using TTS CLI #1309
Merged
nejraselimovic
merged 1 commit into
TheThingsIndustries:master
from
CyberEyeResearchLabs:doc/troubleshoot-cli-add
Apr 21, 2024
Merged
doc: Add Server Address mismatch error when using TTS CLI #1309
nejraselimovic
merged 1 commit into
TheThingsIndustries:master
from
CyberEyeResearchLabs:doc/troubleshoot-cli-add
Apr 21, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nejraselimovic
suggested changes
Apr 10, 2024
Comment on lines
108
to
110
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" >}}). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
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" >}}). | |
If you [configure {{% tts %}} CLI]({{< ref "/the-things-stack/interact/cli/configuring-cli" >}}) to use one cluster server address (for example `eu1`) and try to perform actions on the entities registered in other cluster (for example `au1`), you will probably face the following error: |
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
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. | |
If you want to perform operations on the entities registered in a certain cluster, then you need to ensure the CLI is configured with server addresses for that cluster. |
|
||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
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. | |
Keep in mind that Identity Server and OAuth addresses are always in `eu1` cluster, as described [here]({{< ref "/the-things-stack/cloud/addresses#command-line-interface" >}}). |
Siva-7482
force-pushed
the
doc/troubleshoot-cli-add
branch
from
April 11, 2024 09:59
66edaba
to
3e9fbdd
Compare
nejraselimovic
approved these changes
Apr 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adding the error
error:cmd/ttn-lw-cli/commands:end_device_server_address_mismatch (Network/Application/Join Server address mismatch)
to the Troubleshooting CLI documentation.#1302
Screenshots
New Section:
Changes
Notes for Reviewers
...
Checklist
make server
, posted screenshots, verified external links. Test withHUGO_PARAMS_SEARCH_ENABLED=true
if style changes will affect the search bar.new-in-version
shortcode, according to the guidelines in CONTRIBUTING.