检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
Table 15 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.
The server acting as a gateway or proxy has received an invalid request from a remote server. 503 ServiceUnavailable The requested service is invalid.
This includes but is not limited to operating systems of virtual networks, virtual machine (VM) hosts and guest VMs, virtual firewalls, API Gateway and advanced security services, all types of cloud services, tenant data, identity accounts, and key management.
Table 8 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.
Table 8 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.
Table 11 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.
Table 1 Error codes HTTP Status Code Error Code Error Message Description 5XX APIG.0203 "error_msg":"Backend timeout",error_code:APIG.0203 The service response times out. 500 ModelArts.4302 "error_code": "ModelArts.4302", "error_msg": "Gateway forwarding error because the access is
Due to the limitation of API Gateway, the prediction duration of each request does not exceed 40 seconds. Calling an SSE Real-Time Service The SSE protocol itself does not introduce new authentication mechanisms; it relies on the same methods as HTTP requests.
API Gateway checks the time format and compares the time with the time when API Gateway receives the request. If the time difference exceeds 15 minutes, API Gateway will reject the request.
Due to the limitation of API Gateway, the prediction duration of each request does not exceed 40 seconds. Procedure To access a real-time service through a VPC channel, follow these steps: Obtain the ModelArts VPC endpoint service address.
Due to the limitation of API Gateway, the duration of a single prediction cannot exceed 40s. The following image types are supported: png, psd, jpg, jpeg, bmp, gif, webp, psd, svg, and tiff.
API Gateway checks the time format and compares the time with the time when API Gateway receives the request. If the time difference exceeds 15 minutes, API Gateway will reject the request. Obtaining an AK/SK Pair If an AK/SK pair is already available, skip this step.
Long prediction time The following error is reported: {"error_code": "ModelArts.4503", "error_msg": "Failed to find backend service because response timed out, please confirm your service is able to process the request without timeout. "} Due to the limitation of API Gateway, the
Due to the limitation of API Gateway, the prediction duration of each request does not exceed 40 seconds. Calling a WebSocket Real-Time Service WebSocket itself does not require additional authentication.
Due to the limitation of API Gateway, the prediction duration of each request does not exceed 40 seconds. Preparations Deploy a real-time service in a dedicated resource pool and ensure the service is running.
Due to the limitation of API Gateway, the prediction duration of each request does not exceed 40 seconds. Preparations Deploy a real-time service in a dedicated resource pool and ensure the service is running.
Creating: The gateway is being created. Running Completed: completed Terminated: terminated Failed: The task fails to be executed. sort No String Sorting basis field.
ModelArts registers an inference API with API Gateway for you to access the service.
Options: Creating: The gateway is being created. Upgrading: The upgrade is in progress. Running Abnormal: abnormal Status code: 404 Table 21 Response body parameters Parameter Type Description error_code String Error codes of ModelArts. error_msg String Error message.