Troubleshooting

Instructions for troubleshooting K2 On-Premises Portal deployment on your infrastructure.

How to update the SSL certificate ?

  • Step 1: Obtain a valid SSL certificate for the on-premises cluster.

  • Step 2: Navigate to the haproxy directory on the machine.

    cd [installation_location]/k2cloud/haproxy                                         

    Note: `installation_location` is specified in the topology_config.ini file at the time of on-premises deployment.

  • Step 3: Create backup of the current configured SSL certificate.

    cp haproxy.pem haproxy.pem.bkp                                                        
  • Step 4: Copy the new certificate in haproxy.pem file.

  • Step 5: Restart the haproxy service.

      systemctl --user restart haproxy           
  • Step 6: Verify the haproxy service is up and running.

     systemctl --user status haproxy                                                       

What should I do when I face connectivity issues during installation ?

If you face connectivity issues while performing the installation, Please perform the following steps on the host machine. Open the /etc/ssh/ssh_config file using the below-given command and add the lines specified below it in the opened file.

vi /etc/ssh/ssh_config
StrictHostKeyChecking no

What should I do when I face SSH timeouts ?

If you face the SSH timeout issue due to idle SSH connection, Please perform the following steps on the host machine. Open the /etc/ssh/sshd_config file using the below-given command and add the lines specified below it in the opened file.

vi /etc/ssh/sshd_config
ClientAliveInterval 120
ClientAliveCountMax 20

What would I do when there are connectivity issues during Installation ?

If firewall is enabled on the machine, please make sure port 8443 or 8088 is allowed for HTTPS or HTTP access respectively. More Info

Last updated

Was this helpful?