Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions menu/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2626,6 +2626,10 @@
],
"label": "Additional Content",
"slug": "reference-content"
},
{
"label": "Troubleshooting",
"slug": "troubleshooting"
}
],
"label": "NATS",
Expand Down Expand Up @@ -3347,6 +3351,10 @@
],
"label": "Additional Content",
"slug": "reference-content"
},
{
"label": "Troubleshooting",
"slug": "troubleshooting"
}
],
"label": "Topics and Events",
Expand Down Expand Up @@ -3431,6 +3439,10 @@
],
"label": "Additional Content",
"slug": "reference-content"
},
{
"label": "Troubleshooting",
"slug": "troubleshooting"
}
],
"label": "Queues",
Expand Down
6 changes: 5 additions & 1 deletion pages/nats/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ The **N**eural **A**utonomic **T**ransport **S**ystem, or [NATS](https://nats.io

Billing is based on [message volume](/nats/concepts/#message-volume) (the total sum of each message's size going through NATS) and [message persistence](/nats/concepts/#message-persistence) (the total amount of data stored * duration).

For full pricing details, see our [dedicated pricing page](https://www.scaleway.com/en/pricing/).
For full pricing details, see our [dedicated pricing page](https://www.scaleway.com/en/pricing/).

## Can I access the NATS monitoring endpoint in order to deploy autoscaling tools?

The monitoring endpoint is not available on Scaleway NATS. Although you can access your account monitoring information through [Scaleway Cockpit](/cockpit/), this may not be usable by third-party autoscaling tools. As a workaround, you may consider coding a solution whereby your worker monitors consumption information via the metadata on each received message and provides this information to your scaling logic.
4 changes: 4 additions & 0 deletions pages/nats/how-to/monitor-nats-cockpit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@ To view your metrics with Cockpit, you will use a Grafana dashboard which is acc

You are directed to the NATS dashboard, where you can view all your metrics.

<Message type="tip">
If you are having trouble understanding the reporting of your NATS message count in Cockpit, see our dedicated [troubleshooting guide](/nats/troubleshooting/nats-message-counting/)
</Message>


30 changes: 30 additions & 0 deletions pages/nats/troubleshooting/cant-delete-namespace.mdx
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 deleted 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.
49 changes: 49 additions & 0 deletions pages/nats/troubleshooting/index.mdx
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/)

30 changes: 30 additions & 0 deletions pages/nats/troubleshooting/nats-message-counting.mdx
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
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
paragraph: Understand apparent NATS queue discrepancies in Scaleway Cockpit with our troubleshooting guide.
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 pages/queues/troubleshooting/approximate-messages-unexpected.mdx
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
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
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.
30 changes: 30 additions & 0 deletions pages/queues/troubleshooting/cant-delete-namespace.mdx
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 deleted 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.
68 changes: 68 additions & 0 deletions pages/queues/troubleshooting/index.mdx
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/)

Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ An HTTP or HTTPS subscription will have a `Pending` status until you **confirm**

2. Click the <Icon name="more" /> icon next to the subscription you wish to confirm, then select **Confirm subscription** from the menu. A pop-up displays with the following message:

```A subscription confirmation message has been sent to the subscription endpoint. Retrieve the SubscribeURL value from the message and enter it in the box below. This is a necessary step to start receiving messages from the topic
```
A subscription confirmation message has been sent to the subscription endpoint. Retrieve the SubscribeURL value from the message and enter it in the box below. This is a necessary step to start receiving messages from the topic
```

3. Retrieve the confirmation message that Scaleway Topics and Events sent to your endpoint (delivered as an `HTTP POST` request), and extract the `SubscribeURL` from the message payload.
Expand Down
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.

## 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 pages/topics-and-events/troubleshooting/cant-delete-namespace.mdx
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 deleted 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.
Loading