How Do I Resolve the "communication link failure" Error When Using a Newly Created Datasource Connection That Appears to Be Activated?
Possible Causes
The network connectivity is abnormal. Check whether the security group is correctly selected and whether the VPC is correctly configured.
Solution
Example: When you create an RDS datasource connection, the system displays the error message Communication link failure.
- Delete the original datasource connection and create a new one. When you create a connection, ensure that the selected Security Group, VPC, Subnet, and Destination Address are the same as those in RDS.
Select a correct Service Type. In this example, select RDS.
Figure 1 Creating a basic datasource connection-RDS
- Check the configurations of VPC.
If the error message is still displayed after you create a datasource connection according to Step 1, check the VPC configuration.
- Classic datasource connections:
- Inbound rule: Check whether the inbound CIDR block and port in the security group have been enabled. If not, create the CIDR block and port you need.
Check whether the CIDR block and port are configured.Figure 2 Checking whether the CIDR block and port are configured
If no, add it.
Figure 3 Adding an inbound rule
- Outbound rules: Check whether the CIDR block and port of the outbound rule are enabled. (It is recommended that all CIDR blocks be enabled.)
Check whether the CIDR block and port are configured.
Figure 4 Checking whether the CIDR block and port are configured
If no, add it.
Figure 5 Adding an outbound rule
- Inbound rule: Check whether the inbound CIDR block and port in the security group have been enabled. If not, create the CIDR block and port you need.
- Enhanced datasource connections:
Check whether the CIDR block corresponding to the DLI queue is open. If no, add an outbound CIDR block in the VPC.
- Find the CIDR block corresponding to the queue bound to the datasource connection in DLI.
Figure 6 Searching for the CIDR clock corresponding to the queue bound to the datasource connection
- In the VPC security group, check whether the CIDR block corresponding to the DLI queue has been configured.
Figure 7 Checking the CIDR block corresponding to the DLI queue in the security group in the VPC
If no, add it.
Figure 8 Adding the corresponding CIDR to the VPC
- Find the CIDR block corresponding to the queue bound to the datasource connection in DLI.
- Classic datasource connections:
If the fault persists, contact Huawei technical support.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot