检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
The following describes two typical scenarios: "error_msg": "Gateway forwarding error. Failed to invoke backend service due to connection refused. " This error occurs in either of the following cases: The traffic exceeded the threshold that can be processed by the model.
Backend service read timed out Send the request from gateway to the service failed due to connection refused, please confirm your service is connectable Send the request from gateway to the service failed due to connection timeout, please confirm your service is able to process the
On the Create Public NAT GatewayBuy Public NAT Gateway page, configure required parameters. Table 1 Descriptions of public NAT gateway parameters Parameter Example Description Region CN North-Beijing4 The region where the public NAT gateway is located.
Error "APIG.XXXX" Occurred in a Prediction Failure A request is intercepted on API Gateway due to a fault, and error "APIG.XXXX" occurs.
Due to the limitation of API Gateway, the prediction duration of each request does not exceed 40 seconds.
Due to the limitation of API Gateway, the prediction duration of each request does not exceed 40 seconds. Parent topic: Accessing Real-Time Services
Check the API Gateway and model. Solution Run the :curl -kv {Prediction address} command on the local host to check whether the API Gateway is reachable. If the request timed out, check the local firewall, proxy, and network configurations.
Buy a public NAT gateway. Log in to the Huawei Cloud management console. In the service list on the left, choose Network > NAT Gateway. In the upper right corner of the Public NAT Gateway page, click Buy Public NAT Gateway. Set VPC, Subnet, and Billing Mode.
Resetting an App Code Function This API is used to reset a specified app code of an API Gateway app. Only the user who creates the app can reset it, and only apps of the shared or dedicated API Gateway can have app codes.
Adding an App Code Function This API is used to create an app code for a specified API Gateway app. Only the user who creates the app can create an app code, and only apps of the shared or dedicated API Gateway can have app codes.
Possible Cause The addresses displayed on the Usage Guides tab page are the addresses of HUAWEI CLOUD API Gateway (APIG). The network between the client of the request initiator and HUAWEI CLOUD is disconnected.
If you use GET, API Gateway will intercept the request. Solution Use POST to call the API. Parent topic: Service Prediction
Resetting an AppSecret Function This API is used to reset the AppSecret of a specified API Gateway app. Only the user who creates the app can reset the AppSecret.
Deleting an App Code Function This API is used to delete a specified app code of an API Gateway app. Only the user who creates the app can delete it, and only apps of the shared or dedicated API Gateway can have app codes.
Contact technical support. 500 ModelArts.4302 Gateway forwarding error because %s. Accessing the service is rejected.
environment variables include: Path environment variables Environment variables of a distributed training job Nvidia Collective multi-GPU Communication Library (NCCL) environment variables OBS environment variables Environment variables of the PIP source Environment variables of the API Gateway
Figure 1 Prediction process If an "APIG.XXXX" error occurs, the request is intercepted on API Gateway due to a fault. Rectify the fault by referring to Error "APIG.XXXX" Occurred in a Prediction Failure.
Creating an App Create an API Gateway application (app for short). Obtaining Details About an App Obtain details about a specified app. Deleting an App Delete an app. Adding an App Code Create an app code for a specified API Gateway app.
Table 14 peerConnectionList Parameter Type Description peerVpcId String Indicates the ID of the peer VPC. peerSubnetId String ID of the peer subnet. defaultGateWay Boolean Whether the default gateway is enabled.
Creating Apps Function This API is used to create API Gateway applications (apps for short). Each user can create a maximum of five apps. You can apply for increasing the quota as required.