How Do I Fix a Connection Failure Between the Source Server and API Gateway Due to a Busy Network?
Symptom
The Agent cannot be started, and either of the following messaged is displayed:
Linux: Failed to start sms agent! Please check the network connection with below commands!
Windows: SMS.0201 Network busy. The source server failed to connect to API Gateway.
Possible Causes
The source server cannot communicate with SMS, IAM, ECS, EVS, IMS, VPC, or OBS over the Internet. In this case, check the source network.
Solution
- Log in to the source server.
- Run the following commands on the source server:
curl -v https://iam.myhuaweicloud.com:443
curl -v https://sms.ap-southeast-1.myhuaweicloud.com:443
If curl fails to be executed, for example due to a network timeout, the source server cannot access the IAM or SMS management console.
Based on the region where you migrate to, check whether the source server can access ECS, EVS, IMS, VPC, and OBS using the commands listed in the following table.
Region
Command
CN North-Beijing1
CN North-Beijing4
Ulanqab1
CN South-Guangzhou
CN South-Shenzhen
CN East-Shanghai1
CN East-Shanghai2
CN Southwest-Guiyang1
CN-Hong Kong
AP-Bangkok
AP-Singapore
LA-Santiago
LA-Mexico City1
LA-Mexico City2
LA-Sao Paulo1
LA-Lima1
LA-Buenos Aires1
AF-Johannesburg
- Check whether the source server can access the Internet. If it cannot, rectify the fault and restart the Agent. Check the configurations of DNSs, firewalls, security groups, and local networks of the source and target servers. For details, see Why Cannot an EIP Be Pinged?
- If a proxy server is used, check whether the proxy server is running properly.
Common proxy problems are incorrect login credentials, network disconnections, and firewall or various software restrictions.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.