Help Center/ Cloud Bastion Host/ FAQs/ Troubleshooting/ CBH Managed Resource Login Failures/ Why Am I Seeing Login Errors of Code: C_519 When I Use a Web Browser for Resource O&M?
Updated on 2024-04-24 GMT+08:00

Why Am I Seeing Login Errors of Code: C_519 When I Use a Web Browser for Resource O&M?

Symptoms

When a user attempts to log in a managed host using a web browser, a login error (Code: C_519) is reported, indicating that the resource cannot be accessed because the resource connection fails or the resource is unreachable. If the problem persists, contact the system administrator or check the system log.

Possible Causes

  • The network is broken because the network connection between the CBH system and the resource server is abnormal.
  • The connection is broken because the network between the CBH system and the managed host is blocked.
  • The connection is unreachable because the server does not respond.

Check the Network Connection

Log in to the CBH system, ping the managed host and TCP port, and check whether the network connection is normal.

Check Whether the CBH System Environment Is Properly Configured

  1. Log in to the CBH system and check whether the IP address and port number of the managed resource are correct.
  2. Check whether IP address restriction is configured in the access control policy associated with the resource. Modify ACL rules to remove the restrictions on the source IP address of a user.
  3. Check the security group associated with the CBH instance and check whether the port configuration of the security group is correct. It is recommended that you configure CBH instance security group based on the recommended CBH ports.

    If you log in to the managed host using a web browser, manually add an inbound rule that allows all access to TCP port 443 in the security group to which the CBH instance belongs.

  4. Check whether the network ACL associated with the CBH instance on the intranet is correctly configured.

    Remove the access restriction on the IP address of the CBH instance and add the resource IP address to the destination address to allow the CBH instance to access resources.

  5. After the reconfiguration, log in to the managed host again through the CBH system.

Check Whether the Managed Host Is Properly Configured

  1. Log in to the management console of the managed host as an administrator.
  2. Check whether the host resource and the CBH instance are in the same VPC and region. The CBH instance can only directly access resources in the same VPC and region.
  3. Check whether the security group rules associated with the managed host are properly configured.

    Remove the access restriction on the IP address of the CBH. Add the IP address of the CBH to the source address to allow CBH to access resources.

  4. After the reconfiguration, log in to the managed host again through the CBH system.

Checking Whether the Managed Host Can Be Accessed by the CBH System

  1. Log in to the managed host as an administrator.
  2. Run the route -n command to check whether the CBH route is missing from the routing table.
  3. Check the login method and login security hardening measures of the managed host by referring to the following content:

  4. Remove the login restriction by referring to the following content:

  5. After removing the security hardening restrictions, log in to the managed host through the CBH system again.

If the problem persists, click Service Tickets in the upper right corner of the management console and submit a service ticket.