Check CDN operation
If there are errors or slow download speeds of content via CDN, check:
- balance;
- CDN resource;
- content download speed from the source and through the CDN.
Check balance
- В control panels go to CDN → CDN resources.
- Look at the account balance in the upper right corner and the status of the CDN resource. If the balance is negative and the CDN resource is in status
DOWN
then the CDN resource was shut down for non-payment. - To enable a CDN resource, top up with the amount owed, then share.
Check CDN resource
The check will show the status of the CDN resource, the correctness of the CNAME record and the availability of the file from the content source and CDN server.
- В control panels go to CDN → CDN resources. Check it out status in the CDN resource string. If the resource is in the status
ERROR
or hovering in one of the statuses, file a ticket. - Open the file on the content source using a link of the form
example.com/images/image.png
. If the file doesn't load, the problem is on the side of your site. - Open the file through the default domain using a link of the form
*.selcdn.net/images/image.png
. Default domain can be viewed in control panels: section CDN → CDN resources → resource page → tab General. If the file does not load, check Host header. - Open the file through your personal domain using a link of the form
cdn.example.com/images/image.png
. Personal domain can be viewed in control panels: section CDN → CDN resources → resource page → tab General. If the file does not load, check if the file is correct resource record of the domain.
Check content loading speed
The first time you access the content source, it takes longer to download the file than on subsequent accesses (when the file is distributed from the cache). If a VPN or proxy is enabled, this may slow down the download speed of content.
- Open the file on the content source and check the download speed, you can do this through the developer tools in your browser.
- Open the file on domain which is used to distribute content via CDN. The domains can be viewed in control panels: section CDN → CDN resources → resource page → tab General.
- Re-open the file on the domain with the CDN and check the download speed.
- Compare the download speed of the file from the source and from the CDN cache. If the download speed from CDN and the source is the same, CDN is working correctly. If the CDN download speed is slower, leave a diagnostic request.
Leave a request for diagnostics
-
Record the HTTP session demonstrating the CDN error in HAR file format. For more information about recording a HAR file for Edge, Firefox, or Chrome, see the instructions How to get a HAR file of the Google Admin Toolbox portal.
-
Go to diagnostic page and take a screenshot of the metrics.
-
On the diagnostics page, in the line Server follow the link to test the download speed. Perform the test and take a screenshot of the results.
-
Create a ticket with a request for diagnostics. Specify in the ticket:
- CDN resource name;
- a link to a file on the domain that is used to distribute content via CDN;
- HAR file that you created in step 1;
- screenshots that you created in steps 2 and 3;
- mass of requests with the problem and the location of users who have the problem.