-
Notifications
You must be signed in to change notification settings - Fork 258
feat(messaging): add troubleshooting #5039
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
Merged
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| --- | ||
| meta: | ||
| title: I can't delete my Project due to a Messaging namespace | ||
| description: Troubleshoot issues deleting your Messaging namespace and resolve the problem quickly. | ||
| content: | ||
| h1: I can't delete my Project due to a Messaging namespace | ||
| paragraph: Troubleshoot issues deleting your Messaging namespace and resolve the problem quickly. | ||
| tags: nats phantom messaging namespace | ||
| dates: | ||
| validation: 2025-05-28 | ||
| posted: 2025-05-28 | ||
| categories: | ||
| - data | ||
| --- | ||
|
|
||
| ## I can't delete my Project due to a Messaging namespace | ||
|
|
||
| You may be trying to delete a Scaleway [Project](/organizations-and-projects/concepts/#project), and encounter an error message telling you that the Project cannot be deleted due to an existing Messaging namespace. | ||
|
|
||
| ### Cause | ||
|
|
||
| The Project is still detecting a legacy namespace resource, dating from the time before NATS, Queues and Topics and Events were split into three separate products and the namespace resource was retired. | ||
|
|
||
| ### Solution | ||
|
|
||
| Try the following steps: | ||
|
|
||
| 1. In the Scaleway console, check that you have no remaining resources in either of the [NATS](https://console.scaleway.com/nats/), [Queues](https://console.scaleway.com/queues/), or [Topics and Events](https://console.scaleway.com/topics-events/) sections. **Make sure to check for resources in all regions by using the regional drop-down menu.** | ||
|
|
||
| 2. If you have delete all resources for these three products and the problem persists, [open a support ticket](https://console.scaleway.com/support/tickets/create) to request manual deletion of the phantom namespace. | ||
RoRoJ marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| --- | ||
| meta: | ||
| title: NATS - Troubleshooting | ||
| description: Find troubleshooting resources for resolving issues with Scaleway NATS. | ||
| content: | ||
| h1: NATS - Troubleshooting | ||
| paragraph: Find troubleshooting resources for resolving issues with Scaleway NATS. | ||
| dates: | ||
| posted: 2025-05-28 | ||
| validation: 2025-05-28 | ||
| categories: | ||
| - network | ||
| --- | ||
|
|
||
| <ProductHeader | ||
| productName="NATS troubleshooting" | ||
| productLogo="nats" | ||
| description="Learn how to fix the most common issues with Scaleway NATS." | ||
| /> | ||
|
|
||
| ## Featured Pages | ||
|
|
||
| <Grid> | ||
| <DefaultCard | ||
| title="NATS FAQ" | ||
| description="Answers to common questions" | ||
| url="/nats/faq/" | ||
| label="See more" | ||
| /> | ||
| <DefaultCard | ||
| title="NATS Overview" | ||
| description="Understand NATS basics" | ||
| url="/nats/reference-content/nats-overview/" | ||
| label="See more" | ||
| /> | ||
| <DefaultCard | ||
| title="Using the NATS CLI" | ||
| description="Basic commands and tips" | ||
| url="/nats/api-cli/nats-cli/" | ||
| label="See more" | ||
| /> | ||
|
|
||
| </Grid> | ||
|
|
||
| ## NATS troubleshooting pages | ||
|
|
||
| - [I can't delete my Project due to a Messaging namespace](/nats/troubleshooting/cant-delete-namespace/) | ||
| - [NATS queue reports a higher than expected message volume to Cockpit](/nats/troubleshooting/nats-message-counting/) | ||
|
|
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| --- | ||
| meta: | ||
| title: NATS queue is reporting more messages than expected to Scaleway Cockpit | ||
RoRoJ marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| description: Understand apparent NATS queue discrepancies in Scaleway Cockpit with our troubleshooting guide. | ||
| content: | ||
| h1: NATS queue is reporting more messages than expected to Scaleway Cockpit | ||
RoRoJ marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| paragraph: Understand apparent NATS queue discrepancies in Scaleway Cockpit with our troubleshooting guide. | ||
RoRoJ marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| tags: nats cockpit messages queues | ||
| dates: | ||
| validation: 2025-05-28 | ||
| posted: 2025-05-28 | ||
| categories: | ||
| - data | ||
| --- | ||
|
|
||
| ## My NATS queue is reporting an unexpectedly large number of messages to Cockpit | ||
|
|
||
| You may be viewing your NATS queue's metrics in [Scaleway Cockpit](/nats/how-to/monitor-nats-cockpit/), and observe an unexpectedly large volume of messages, which appears higher than your expected usage. | ||
|
|
||
| ### Cause | ||
|
|
||
| This is due to the way that the number of messages is displayed on Grafana. The count is accurate, but perhaps not intuitive. | ||
|
|
||
| ### Solution | ||
|
|
||
| You can better understand the volume of messages by considering the following points: | ||
|
|
||
| - The message count reported by Grafana includes not only published messages, but also requests and replies between clients and the NATS server, such as publish requests, pull requests, and replies. | ||
| - For example, when a client sends a `nats stream ls` request, this counts as 1 message IN (the request) and 1 message OUT (the reply), even if no actual messages are being published or consumed. | ||
| - Additionally, the message count can increase due to consumer pull actions, even if there are no new messages published. This is because each pull request is counted as a message, regardless of whether any messages are actually returned. | ||
28 changes: 28 additions & 0 deletions
28
pages/queues/troubleshooting/approximate-messages-unexpected.mdx
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
| meta: | ||
| title: Unexpected value for Approximate Number Of Messages Not Visible | ||
| description: Understand why you may observe unexpected behavior from the Approximate Number Of Messages Not Visible attribute when used with the Change Message Visibility feature | ||
RoRoJ marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| content: | ||
| h1: Unexpected value for Approximate Number Of Messages Not Visible | ||
| paragraph: Understand why you may observe unexpected behavior from the Approximate Number Of Messages Not Visible attribute when used with the Change Message Visibility feature | ||
RoRoJ marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| tags: queues parameter visibility | ||
| dates: | ||
| validation: 2025-05-28 | ||
| posted: 2025-05-28 | ||
| categories: | ||
| - integration-services | ||
| --- | ||
|
|
||
| ## Unexpected value for Approximate Number Of Messages Not Visible | ||
|
|
||
| You may find that the `ChangeMessageVisibility` feature combined with the `ApproximateNumberOfMessagesNotVisible` attribute in Scaleway Queues does not behave as you expect. | ||
|
|
||
| When using `ChangeMessageVisibility` to set a `VisibilityTimeout` of `0`, you force the queue to requeue the message in question, making it immediately available for other consumers to process. You imagine this should have a direct effect on the `ApproximateNumberOfMessagesNotVisible` attribute, but the value for that attribute does not change. | ||
|
|
||
| ## Cause | ||
|
|
||
| The cause of the problem is that the underlying message broker used by Scaleway Queues does not provide the necessary information to set an absolutely correct value for the `ApproximateNumberOfMessagesNotVisible` attribute. As a result, this attribute does not accurately reflect the number of messages that are not visible. | ||
|
|
||
| ## Solution | ||
|
|
||
| We can confirm that the `ChangeMessageVisibility` feature works properly, but the name of the `ApproximateNumberOfMessagesNotVisible` attribute is misleading. The attribute name contains the qualifier "Approximate" for a reason, and its value may not always reflect the actual number of messages that are not visible. | ||
RoRoJ marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| --- | ||
| meta: | ||
| title: I can't delete my Project due to a Messaging namespace | ||
| description: Troubleshoot issues deleting your Messaging namespace and resolve the problem quickly. | ||
| content: | ||
| h1: I can't delete my Project due to a Messaging namespace | ||
| paragraph: Troubleshoot issues deleting your Messaging namespace and resolve the problem quickly. | ||
| tags: nats phantom messaging namespace | ||
| dates: | ||
| validation: 2025-05-28 | ||
| posted: 2025-05-28 | ||
| categories: | ||
| - data | ||
| --- | ||
|
|
||
| ## I can't delete my Project due to a Messaging namespace | ||
|
|
||
| You may be trying to delete a Scaleway [Project](/organizations-and-projects/concepts/#project), and encounter an error message telling you that the Project cannot be deleted due to an existing Messaging namespace. | ||
|
|
||
| ### Cause | ||
|
|
||
| The Project is still detecting a legacy namespace resource, dating from the time before NATS, Queues and Topics and Events were split into three separate products and the namespace resource was retired. | ||
|
|
||
| ### Solution | ||
|
|
||
| Try the following steps: | ||
|
|
||
| 1. In the Scaleway console, check that you have no remaining resources in either of the [NATS](https://console.scaleway.com/nats/), [Queues](https://console.scaleway.com/queues/), or [Topics and Events](https://console.scaleway.com/topics-events/) sections. **Make sure to check for resources in all regions by using the regional drop-down menu.** | ||
|
|
||
| 2. If you have delete all resources for these three products and the problem persists, [open a support ticket](https://console.scaleway.com/support/tickets/create) to request manual deletion of the phantom namespace. | ||
RoRoJ marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| --- | ||
| meta: | ||
| title: Queues - Troubleshooting | ||
| description: Find troubleshooting resources for resolving issues with Scaleway Queues. | ||
| content: | ||
| h1: Queues - Troubleshooting | ||
| paragraph: Find troubleshooting resources for resolving issues with Scaleway Queues. | ||
| dates: | ||
| posted: 2025-05-28 | ||
| validation: 2025-05-28 | ||
| categories: | ||
| - network | ||
| --- | ||
|
|
||
| <ProductHeader | ||
| productName="Queues troubleshooting" | ||
| productLogo="sqs" | ||
| description="Learn how to fix the most common issues with Scaleway Queues." | ||
| /> | ||
|
|
||
| ## Featured Pages | ||
|
|
||
| <Grid> | ||
| <DefaultCard | ||
| title="Queues FAQ" | ||
| description="Answers to common questions" | ||
| url="/queues/faq/" | ||
| label="See more" | ||
| /> | ||
| <DefaultCard | ||
| title="Queues Overview" | ||
| description="Understand Queues basics" | ||
| url="/queues/reference-content/queues-overview/" | ||
| label="See more" | ||
| /> | ||
| <DefaultCard | ||
| title="Supported actions in Queues" | ||
| description="Discover supported actions" | ||
| url="/queues/reference-content/queues-support/" | ||
| label="See more" | ||
| /> | ||
| </Grid> | ||
| <Grid> | ||
| <DefaultCard | ||
| title="Connect to AWS CLI" | ||
| description="Connect Queues to the AWS-CLI" | ||
| url="/queues/api-cli/connect-aws-cli/" | ||
| label="See more" | ||
| /> | ||
| <DefaultCard | ||
| title="Use with AWS CLI" | ||
| description="Use Queues with the AWS-CLI" | ||
| url="/queues/api-cli/queues-aws-cli//" | ||
| label="See more" | ||
| /> | ||
| <DefaultCard | ||
| title="Use Python, Go & Node" | ||
| description="Use SDKs with Queues" | ||
| url="/queues/api-cli/python-node-queues/" | ||
| label="See more" | ||
| /> | ||
| </Grid> | ||
|
|
||
| ## Queues troubleshooting pages | ||
|
|
||
| - [I can't delete my Project due to a Messaging namespace](/queues/troubleshooting/cant-delete-namespace/) | ||
| - [Unexpected value for Approximate Number Of Messages Not Visible](/queues/troubleshooting/approximate-messages-unexpected/) | ||
|
|
This file contains hidden or 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
28 changes: 28 additions & 0 deletions
28
pages/topics-and-events/troubleshooting/cant-confirm-subscription.mdx
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
| meta: | ||
| title: I'm having trouble confirming a subscription to a topic | ||
| description: Troubleshoot various issues with confirming a subscription to a topics with Scaleway Topics and Events | ||
| content: | ||
| h1: I'm having trouble confirming a subscription to a topic | ||
| paragraph: Troubleshoot various issues with confirming a subscription to a topics with Scaleway Topics and Events | ||
| tags: topics-and-events confirm subscription subsribeurl | ||
| dates: | ||
| validation: 2025-05-28 | ||
| posted: 2025-05-28 | ||
| categories: | ||
| - integration-services | ||
| --- | ||
|
|
||
| ## I'm having trouble confirming a subscription to a topic | ||
|
|
||
| When you create An HTTP or HTTPS subscription to a topic, this subscription will have a `Pending` status until you **confirm** it. This is essential to start receiving messages. | ||
RoRoJ marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Problem: You don't know how to confirm the subscription | ||
|
|
||
| Ensure you have followed the steps outlined on our [dedicated how-to page](/topics-and-events/how-to/create-manage-subscriptions/#how-to-confirm-an-http-or-https-subscription) for confirming a subscription. You must retrieve the message Scaleway sent to your endpoint, and provide us with the `SubscribeURL` to confirm the subscription. | ||
|
|
||
| ## Problem: No message received from Scaleway to confirm the subscription | ||
|
|
||
| You may find that you are not receiving the expected message from Scaleway (delivered as an HTTP POST request) sent to confirm the subscription. | ||
|
|
||
| The Scaleway POST request may not include an `ORIGIN` header. Ensure that your framework can receive a message without an origin header without triggering a 403 error, and retry. | ||
30 changes: 30 additions & 0 deletions
30
pages/topics-and-events/troubleshooting/cant-delete-namespace.mdx
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| --- | ||
| meta: | ||
| title: I can't delete my Project due to a Messaging namespace | ||
| description: Troubleshoot issues deleting your Messaging namespace and resolve the problem quickly. | ||
| content: | ||
| h1: I can't delete my Project due to a Messaging namespace | ||
| paragraph: Troubleshoot issues deleting your Messaging namespace and resolve the problem quickly. | ||
| tags: phantom messaging namespace | ||
| dates: | ||
| validation: 2025-05-28 | ||
| posted: 2025-05-28 | ||
| categories: | ||
| - data | ||
| --- | ||
|
|
||
| ## I can't delete my Project due to a Messaging namespace | ||
|
|
||
| You may be trying to delete a Scaleway [Project](/organizations-and-projects/concepts/#project), and encounter an error message telling you that the Project cannot be deleted due to an existing Messaging namespace. | ||
|
|
||
| ### Cause | ||
|
|
||
| The Project is still detecting a legacy namespace resource, dating from the time before NATS, Queues and Topics and Events were split into three separate products and the namespace resource was retired. | ||
|
|
||
| ### Solution | ||
|
|
||
| Try the following steps: | ||
|
|
||
| 1. In the Scaleway console, check that you have no remaining resources in either of the [NATS](https://console.scaleway.com/nats/), [Queues](https://console.scaleway.com/queues/), or [Topics and Events](https://console.scaleway.com/topics-events/) sections. **Make sure to check for resources in all regions by using the regional drop-down menu.** | ||
|
|
||
| 2. If you have delete all resources for these three products and the problem persists, [open a support ticket](https://console.scaleway.com/support/tickets/create) to request manual deletion of the phantom namespace. | ||
RoRoJ marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.