Troubleshooting
When using EdgeOne Pages, you may encounter various errors. This section focuses on the errors that may occur when operating the Pages console and their solutions.
Build and Deploy
Output Directory Exception
If the output directory is missing, empty, or invalid, the build process will raise an error (such as "Output directory build does not exist!"). To resolve this issue, you can try the following steps:
- Underwrite to set the correct output directory in "Project Setting - Build Deployment Configuration".
If the output directory is unclear, you can run the build command locally and view the output location of the build artifacts.
Build Log Shows "File Count Exceeds Project Limit"
The Pages project has a limit of 20,000 files. Please troubleshoot and try again after deploying.
Build Log Shows "File Size Exceeds the Limit"
Pages Project has a 25 MB size limit for single files. Please troubleshoot and try deploying again.
Direct Upload. after Successful Deployment, the Page Shows 404
Check if there is an index.html file in the root directory of the uploaded folder.
Domain Management
Incorrect DNS Record
After adding a DNS record with your domain provider, click "Verify" and see "Your record configuration is incorrect. Please ensure it points to the correct address." Since it takes time for DNS records to take effect, wait a few minutes and then verify again.
Note:
If the domain is hosted on Cloudflare, its root domain (such as example.com) cannot be added as a custom domain to Pages temporarily. It is recommend using a subdomain (such as sub.example.com).
Domain Name Already Exists on Other Platforms
When adding a domain, the message "The domain name already exists on other Tencent Cloud acceleration platforms. Delete it and then retry." appears. You can try to delete the domain on other platforms (Tencent Cloud CDN or EdgeOne), or switch to another second-level domain.
Platform Default Certificate Deployment Timeout
When generating the default certificate, the certificate status shows "deployment timeout". Troubleshoot whether there is a CAA record for the root domain of the added domain. Temporarily remove this record and re-add the CAA record after the certificate is generated.
How to Achieve Automatic Redirection From Non-Www to Www
You can configure the
redirects
field in edgeone.json. For details, see the Project Guide - edgeone.json.
Pages MCP
Deploy_html Tool Not Found
An error occurred after adding the MCP Server: {"error": "MCP error -32602: MCP error -32602: Tool deploy_html not found"}. Try restarting the editor.
MCP Server Status Exception: "Client Closed" Displayed
1.Try restarting the editor.
2.If it is the Windows system, run as administrator: Right-click the editor icon, select "Run as administrator" to exclude problems caused by insufficient permissions.
Technical Support
If the issue you encountered has no corresponding solution or you need more technical guidance about Pages, you can join our server EdgeOne Developers on Discord.
