Skip to content

Commit 2bf6f79

Browse files
SamyOubouazizRoRoJ
andauthored
feat(srv): add troubleshooting pages MTA-5446 (#5280)
* feat(srv): add troubleshooting pages MTA-5446 * Apply suggestion from @RoRoJ Co-authored-by: Rowena Jones <[email protected]> * Apply suggestions from code review Co-authored-by: Rowena Jones <[email protected]> * docs(srv): update --------- Co-authored-by: Rowena Jones <[email protected]>
1 parent 939d43d commit 2bf6f79

File tree

3 files changed

+81
-0
lines changed

3 files changed

+81
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: I cannot access my container
3+
description: Troubleshoot issues encountered while accessing or connecting to your Scaleway Serverless Containers.
4+
tags: serverless containers troubleshooting issue error state unreachable connection log in access
5+
dates:
6+
validation: 2025-07-15
7+
posted: 2025-07-15
8+
categories:
9+
- serverless
10+
---
11+
12+
## Problem
13+
14+
I am experiencing issues while accessing my Serverless Containers.
15+
16+
## Possible causes
17+
18+
- The container returns a DNS error or issue
19+
- The container response time is abnormally long
20+
- The container returns a `HTTP 5xx` error
21+
- The container returns a `Could not resolve host` error
22+
- The container is in an error state
23+
24+
## Solutions
25+
26+
- If you encounter a DNS issue, refer to the [dedicated troubleshooting page](/serverless-containers/troubleshooting/known-dns-containers-errors/).
27+
28+
- For long response time, check:
29+
- if the first instance of the container is currently starting. This can entail a [cold start](/serverless-containers/concepts/#cold-start)
30+
- if not, [check the metrics in Cockpit](/serverless-containers/how-to/monitor-container/) (especially CPU) and see if there is a high usage explaining the slow response
31+
32+
- `HTTP 5XX` errors can come from the application itself. Check if you can reproduce locally with a dummy container, or if your application is misbehaving.
33+
34+
- A `Could not resolve host` error can indicate that you are trying to reach the container in IPv4 with its IPv6 address, or vice versa. This can also appear if there is a [DNS issue](/serverless-containers/troubleshooting/known-dns-containers-errors/).
35+
36+
- If your container is in an `error` state:
37+
- Refer to the [dedicated troubleshooting page](/serverless-containers/troubleshooting/container-error-state/).
38+
- Check the `error_message` field in your [Cockpit logs](/serverless-containers/how-to/monitor-container/) to investigate the actual cause.

pages/serverless-containers/troubleshooting/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,6 @@ productIcon: ContainersProductIcon
6868
- [My container stopped working after a redeploy](/serverless-containers/troubleshooting/container-stopped-after-redeploy)
6969
- [Tests fail on Serverless Containers](/serverless-containers/troubleshooting/tests-fail-on-container)
7070
- [I am experiencing clock drift with my Serverless Containers](/serverless-containers/troubleshooting/container-clock-drift)
71+
- [I am experiencing DNS issues with my container](/serverless-containers/troubleshooting/known-dns-containers-errors/)
72+
- [I cannot access my container](/serverless-containers/troubleshooting/cannot-access-container/)
7173
</LinksList>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: I am experiencing DNS issues with my container
3+
description: Troubleshoot Domain Name System (DNS) issues with Scaleway Serverless Containers.
4+
tags: serverless containers troubleshooting issue error state dns domain name system
5+
dates:
6+
validation: 2025-07-15
7+
posted: 2025-07-15
8+
categories:
9+
- serverless
10+
---
11+
12+
## Problem
13+
14+
I am encountering DNS errors while using Scaleway Serverless Containers.
15+
16+
## Possible causes
17+
18+
The DNS record for the default endpoint (`functions.fnc.<region>.scw.cloud`) is not available yet on every DNS resolver. This issue can appear even a few seconds after the container is marked as “ready”, and mostly appears when the user calls the container too early after the first deployment.
19+
20+
- For custom domains, a DNS resolution failure can indicate that the custom domain is not properly configured.
21+
22+
23+
## Solutions
24+
25+
- When the DNS answer is cached locally, you can:
26+
- retry later (negative DNS caching lasts around 60 seconds)
27+
- try from another host, where the DNS answer is not cached
28+
- clean the DNS cache locally
29+
- use another DNS resolver (common DNS resolvers should have the record in a few seconds)
30+
31+
- For custom domains:
32+
- check the configuration on your DNS provider
33+
- check the TTL on the DNS record. High TTL values will cache the DNS answers for a long time, so we recommend adding a small TTL for setting up the custom domain (60s)
34+
- make sure [you properly configured your custom domain](/serverless-containers/how-to/add-a-custom-domain-to-a-container/) in Serverless Containers
35+
36+
37+
## Going further
38+
39+
- Refer to the dedicated documentation on [how to add a custom domain to a container](/serverless-containers/how-to/add-a-custom-domain-to-a-container/) for more information.
40+
41+
- If you manage your domain names with Scaleway, refer to the [Scaleway Domains and DNS documentation](/domains-and-dns/).

0 commit comments

Comments
 (0)