Skip to content

Commit e09b72f

Browse files
RoRoJbene2k1
authored andcommitted
feat(edge): add troubleshooting (#4631)
* fix(edge): add troubleshooting * fix(edge): remove unwanted files * fix(edge): fix remaining content
1 parent 8a5f877 commit e09b72f

File tree

7 files changed

+204
-64
lines changed

7 files changed

+204
-64
lines changed

pages/edge-services/reference-content/cname-record.mdx

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -69,25 +69,4 @@ You may also see a `TTL` field, which stands for **T**ime **T**o **L**ive. This
6969

7070
## Troubleshooting DNS and subdomain errors
7171

72-
When setting up your customized subdomain with Edge Services, you have the option to carry out a verification check on the CNAME record (if your domain is managed with an external provider). Edge Services will query the subdomain and check that it resolves correctly to the Edge Services endpoint. If there is a problem, you will see an error message:
73-
74-
<Lightbox src="scaleway-edge-services-cname-error.webp" alt="A screenshot of the Edge Services dashboard in the Scaleway console. An error shows: No CNAME record found. Create a CNAME record for davideo.videos.com pointing to davideo.svc.edge.scw.cloud"/>
75-
76-
An error message may also display at a later point from your Edge Services dashboard if a problem is detected at any point with your CNAME record or subdomain:
77-
78-
<Lightbox src="scaleway-edge-services-dashboard-error.webp" alt="A screenshot of the Edge Services dashboard in the Scaleway console. The DNS status light is yellow, with the text: No CNAME" />
79-
80-
See the table below for help with troubleshooting these errors:
81-
82-
| Error message | Solution |
83-
|-------------------------------------------|---------------------------------------------------------------------|
84-
| No CNAME record found | Make sure you have created a valid DNS record of type **CNAME** (not **A**, **AAAA** or another type), where your subdomain points to the Edge Services endpoint. |
85-
| Incorrect CNAME | Make sure your CNAME record points to the Edge Services endpoint in the format `pipeline-id.svc.edge.scw.cloud.`, and that you have replaced `pipeline-id` with the ID of your bucket or Load Balancer's Edge Services pipeline. |
86-
| Domain does not exist | You must own the domain name you are attempting to configure. If you do not already own the domain name, you cannot create a subdomain or CNAME record for it. Register the domain name, for example using our [Domains and DNS](/domains-and-dns/how-to/register-internal-domain/) product, then create a CNAME record for the subdomain. Otherwise, ensure you did not make a typo when entering the domain name into the Scaleway console. |
87-
| scw.cloud is forbidden | You cannot use subdomains of the `scw.cloud` domain, as the domain is owned and managed by Scaleway and you cannot create DNS records for it. Use your own domain and subdomain. |
88-
| Invalid Top Level Domain | Make sure the Top-Level Domain (e.g. `.com`, `.fr`) you entered is correct. |
89-
| Root domain not allowed | You cannot use a root domain alone to customize Edge Services (e.g. `example.com`. Make sure you use a subdomain (e.g. `blog.example.com`)) | |
90-
| Subdomain must be a correctly-formatted, fully-qualified subdomain name | Make sure the subdomain name you entered is [correctly formatted](https://en.wikipedia.org/wiki/Domain_name#Domain_name_syntax), e.g. `foo.example.fr`. |
91-
| Record already exists for this FQDN in your DNS zone | Choose a different subdomain, or delete the existing DNS record. |
92-
93-
Note that if your domain is managed by Scaleway Domains and DNS and you therefore have an auto-created CNAME record, you should **not** attempt to delete it or modify it in any way. Scaleway will take care of deleting the CNAME record if and when you deactivate Edge Services.
72+
See our [dedicated documentation](/edge-services/troubleshooting/cname-errors/) for help resolving any error message you may get related to your CNAME record.

pages/edge-services/reference-content/ssl-tls-certificate.mdx

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,7 @@ Note that you will not have access to the generated certificate itself in Secret
5858

5959
### Troubleshooting Let's Encrypt certificate errors
6060

61-
#### Errors
62-
63-
If there is a problem generating your managed Let's Encrypt certificate, an error will be displayed. See the table below for help resolving these errors.
64-
65-
| Error | Solution |
66-
| ------------------------------------------------------------------------|---------------------------------------------------------------------|
67-
| Too many certificates already issued for this domain | Wait, before retrying. This error occurs when you hit the limit of generating 50 Let's Encrypt certificates in a rolling 7 day period for the same domain. |
68-
| Internal managed certificate error | There has been an unspecified error in generating a managed Let's Encrypt certificate for your subdomain. Try [resetting your domain to the default endpoint](/edge-services/how-to/configure-custom-domain/#how-to-reset-your-customized-domain), and then recustomizing it again, to trigger generation of a new Let's Encrypt certificate. If that fails, [open a support ticket](https://console.scaleway.com/support/tickets/create). |
69-
| Certificate cannot be renewed - Your CNAME record is no longer accurate | Your CNAME record has either been deleted or modified. Without a correct CNAME record, we cannot renew your managed Let's Encrypt certificate. [Rectify your CNAME record](/edge-services/reference-content/cname-record/#how-to-create-a-cname-record), and when Edge Services detects the correct record exists, your certificate will be automatically renewed. |
61+
See our [dedicated documentation](/edge-services/troubleshooting/certificate-errors/) for help resolving errors experienced when generating or renewing an Edge Services Let's Encrypt certificate.
7062

7163
## Using your own certificate
7264

@@ -196,36 +188,4 @@ If you change your customized subdomain to something new, you will need to gener
196188

197189
### Troubleshooting certificate errors
198190

199-
#### Errors
200-
201-
If Edge Services detects a problem with your certificate, an error will be displayed. See the table below for help resolving these errors.
202-
203-
| Error | Solution |
204-
|-------------------------------------------------------------------------|---------------------------------------------------------------------|
205-
| Certificate format | Make sure your certificate is in [PEM format](#pem-format-certificate-chain). |
206-
| Certificate private key format | Make sure your private key is in [PEM format](#pem-format-certificate-chain).|
207-
| Missing server certificate | Make sure the server certificate (which validates your own subdomain) is included in the [PEM-formatted chain](#pem-format-certificate-chain).|
208-
| Missing private key | Make sure your private key is included in the [PEM-formatted chain](#pem-format-certificate-chain).|
209-
| Missing root certificate | Make sure a valid root certificate is included in the [PEM-formatted chain](#pem-format-certificate-chain). |
210-
| Wrong order | Make sure the server certificate (which validates your own subdomain) is listed before the intermediate and root certificates in the [PEM-formatted chain](#pem-format-certificate-chain) |
211-
| Too many private keys | Make sure the [PEM-formatted chain](#pem-format-certificate-chain) includes only one corresponding private key |
212-
| Self-signed certificates not allowed | Create and upload a certificate issued by a recognized [certificate authority](#tips-for-creating-a-certificate). If you receive this error but believe your certificate is legitimately signed by an official CA, [open a support ticket](https://console.scaleway.com/support/tickets) to tell us. |
213-
| Invalid intermediate or root certificate authority | Make sure each **Issuer** field matches the **Subject** of the next certificate in the [PEM-formatted chain](#pem-format-certificate-chain).|
214-
| Incorrect root certificate | Make sure your server certificate chains up to the provided root(s) certificate(s) in the [PEM-formatted chain](#pem-format-certificate-chain). |
215-
| Private key and certificate mismatch | Make sure the private key in the [PEM-formatted chain](#pem-format-certificate-chain) matches the server certificate. |
216-
| Subdomain and server certificate mismatch | Make sure the subdomain you configured for Edge Services matches that of the server certificate. |
217-
| Certificate expired | [Create a new certificate](#keeping-your-certificate-up-to-date) and import it. |
218-
219-
If any of these errors are detected while you are initially configuring your subdomain, you will be blocked from continuing until the error is fixed.
220-
221-
However, these errors may also be detected and displayed on your Edge Services dashboard even after you have initially successfully configured your subdomain and certificate. This could be the case, for example, if your certificate has since expired, you have modified your subdomain without modifying the certificate, or you have modified the certificate in Secret Manager. In this case, your initial certificate will remain in use by Edge Services until the error is fixed, but clients may see an error in their browser as they try to access your customized domain.
222-
223-
To fix the problem, you must generate a valid certificate, and then do one of the following:
224-
225-
- [Use Edge Services to import a new certificate directly](/edge-services/how-to/configure-custom-domain/#how-to-edit-your-customized-domain-or-its-certificate)
226-
- [Create a new secret](/secret-manager/how-to/create-secret/) to hold the certificate in Secret Manager, and [edit your customized endpoint with Edge services](/edge-services/how-to/configure-custom-domain/#how-to-edit-your-customized-domain-or-its-certificate) to tell it to use this secret
227-
- [Create a new version](/secret-manager/how-to/create-version/) of the existing secret holding your expired certificate, where the new version contains a valid certificate. If Edge Services is already using this secret, it will automatically detect and use the new version - it always uses the most recent enabled version of a secret.
228-
229-
#### Secret not visible for selection in Edge Services
230-
231-
You may find that a certificate you have stored in Secret Manager is not available for selection from Edge Services. This is probably because the secret does not have the "certificate" type, which is necessary for it to be visible to Edge Services. The "type" of a secret can be defined when creating a secret via the [API](https://www.scaleway.com/en/developers/api/secret-manager/#path-secrets-create-a-secret), but not via the console. For that reason, if you prefer to use the console to create your certificates, we suggest manually importing the certificate via Edge Services rather than via Secret Manager. This way, it will automatically inherit the "certificate" type.
191+
See our [dedicated documentation](/edge-services/troubleshooting/certificate-errors/) for help resolving errors associated with your custom certificate for Edge Services.
10.1 KB
Loading
8.28 KB
Loading

0 commit comments

Comments
 (0)