Troubleshoot common network issues that may occur when installing Cloud Backup clients in on-premises environments. This guide covers request failures, DNS resolution issues, and bandwidth problems.
Background
When you install a Cloud Backup client in various on-premises environments that are not in an Alibaba Cloud virtual private cloud (VPC), you may encounter various unknown and complex network issues. Examples: The firewall blocks the connections to domain names or ports and causes backup failures. The firewall limits the network transmission speed and causes some requests to time out. The network behavior detection tool detects and modifies the content of some HTTP requests. If the upstream bandwidth is insufficient, request timeout or backup failure occurs.
Overview of common network issues
Issue | Diagnostic check or Client log | Analysis and solution |
The following error message is displayed in the console: Failed to open the backup vault. | The following issues are detected by the diagnostic tool or appear in client logs:
| The request from the Cloud Backup client to a domain name fails. Possible causes:
For more information about how to troubleshoot these issues, see Troubleshoot request failures. |
The following error message is displayed in the console: Failed to open the backup vault. | The following issues are detected by the diagnostic tool or appear in client logs:This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. | A domain name fails to be resolved by the DNS server. Possible causes:
For more information about how to troubleshoot these issues, see Troubleshoot DNS resolution failures. |
Troubleshoot request failures
Check the connectivity of the network and the domain name and port of the Cloud Backup client.
Check the firewall rules of your network.
Configure a whitelist or Allow rule for the domain name and port of the Cloud Backup client.
If the domain name detected by the diagnostic tool starts with http, check the domain name and port 80. If the domain name starts with https, check the domain name and port 443.
Check whether antivirus software is running.
Antivirus software may affect the normal running of the Cloud Backup client process and cause exceptions. Disable the antivirus software and try again.
Check whether an HTTP, SOCKS5, or TCP proxy is configured and whether the proxy works properly.
The proxy must correctly forward messages to the endpoint and port for the Cloud Backup client.
If you use Cloud Enterprise Network (CEN) to establish network connectivity, contact Cloud Enterprise Network support to verify that the corresponding access points and ports are functioning correctly.
If you use Alibaba Cloud VPN to establish a network connection, contact Alibaba Cloud VPN support to confirm that the corresponding access points and ports are functioning properly.
Run the telnet command to access the domain name and port, and check the upstream bandwidth available for data backup or downstream bandwidth available for data restoration in the current network.
The domain name can be the public domain name of the control network detected by the diagnostic tool for Cloud Backup clients. For example, run the following telnet command to access the domain name and port:
telnet post-cn-mp90rcien05.mqtt.aliyuncs.com 80If the network is monitored, check the network traffic at the point in time when data is backed up or restored.
If you use the Internet, consult the carrier or network administrator to obtain the network traffic information.
If you use CEN or VPN Gateway, check the bandwidth and view the monitoring data in the CEN or VPN Gateway console.
Check whether the current bandwidth is insufficient based on the bandwidth and the number of concurrent jobs.
For example, the upstream bandwidth is 20 MB/s, whereas only 10 MB/s is available for data backup. If the data volume is large, request failures may occur.
If you cannot obtain the accurate information about the bandwidth (especially the upstream bandwidth), run the probe command in ossutil to check the network traffic.
Obtain the domain name and AccessKey pair.
The domain name can be the public domain name of the control network detected by the diagnostic tool for Cloud Backup clients.
Download and install ossutil.
For more information, see Download and install ossutil.
Check the upload bandwidth.
Create a temporary bucket named examplebucket, upload a temporary object to examplebucket, and obtain a recommended number of concurrent upload jobs based on the hardware specification of the current device and the upload bandwidth. Sample command:
./ossutil64 probe --probe-item upload-speed --bucketname examplebucketThe output is as follows:
cpu core count:2 parallel:2,average speed:679.72(KB/s),current speed:1344.00(KB/s),max speed:1440.00(KB/s)) parallel:3,average speed:643.31(KB/s),current speed:704.00(KB/s),max speed:1632.00(KB/s)) parallel:4,average speed:646.62(KB/s),current speed:512.00(KB/s),max speed:1600.00(KB/s)) suggest parallel is 2, max average speed is 679.72(KB/s)
If the checks confirm that the available bandwidth is insufficient, perform the following operations.
Increase the bandwidth.
Configure the retry_times and retry_interval parameters to increase the interval and number of timeout retries. This lets you increase the probability of successful backup.
For more information, see Configure data backup retry count and interval.
Adjust the execution time of backup jobs to perform backups when the network is idle.
If you have multiple Cloud Backup clients and backup jobs, schedule the execution time of backup jobs to make full use of the bandwidth.
Troubleshoot DNS resolution failures
Check the DNS configuration of the local host.
If no private DNS server is configured, we recommend setting the Alibaba Cloud public DNS address
223.5.5.5.Check the firewall rules. Configure a whitelist or Allow rule for the domain name and port of the Cloud Backup client.
Consult the network administrator and confirm whether other limits are configured.
Make sure that the domain name detected by the diagnostic tool can be resolved and run the backup plan again.