If an HTTP status code such as 404 or 503 is returned when you use a cloud-native gateway of Microservices Engine (MSE), you can use the AI diagnostics tool provided for the cloud-native gateway to troubleshoot issues. This topic describes how to use the AI diagnostics tool of cloud-native gateways.
Procedure
Log on to the MSE console. In the top navigation bar, select a region.
In the left-side navigation pane, choose Cloud-native Gateway > Gateways. On the Gateways page, click the name of the gateway.
In the left-side navigation pane, click AI Diagnostics.
On the AI Diagnostics page, configure the filtering parameters, select a time range, and then click Submit.
NoteOnly the first 20 error logs that match the search criteria are displayed.
Parameter
Description
Instance
Select the name of the cloud-native gateway.
Error Code
Enter the HTTP status code in the response. The HTTP status code must comply with the HTTP status code specifications. You can also directly select a common status code.
Domain Name
Select a domain name that is associated with the gateway on the Domain Names page.
Request Path
Enter the value of the Path field in the HTTP request.
Routing Rule Name
Select a routing rule.
Request ID
Enter a request ID.
Custom Time
Select a custom time range.
NoteError logs within the previous three days can be queried.
View the cause and the solution to this issue.