Help Center/ Message & SMS/ FAQs/ Troubleshooting/ What Do I Do If Message & SMS API Calling Times Out?
Updated on 2022-09-01 GMT+08:00

What Do I Do If Message & SMS API Calling Times Out?

Symptom

Calling the Message & SMS API on the client server times out, and no response is returned.

Handling Suggestion

  1. Check whether the request address is correct and try again.
  2. Check whether the client server's IP address is provided by a server outside the Chinese mainland. If yes, the access is restricted. You are advised to purchase a server in the Chinese mainland.

    You can apply to add an international IP address to the IP address whitelist of the Message & SMS platform if both of the following conditions are met:

    • Your services are deployed on Huawei Cloud nodes outside the Chinese mainland, and the account manager is clear about the services.
    • Only notification and verification code SMSs can be sent through international IP addresses. The SMS message signatures and content must be pre-registered in advance.
  3. Check the firewall configuration of the client server and enable port 443.
  4. Check whether the client server network (for example private networks and LANs) can access the following access domain name of the Message & SMS service:
    ping smsapi.ap-southeast-1.myhuaweicloud.com