Unable to login to Skylo OSS prod environment

Knowledge Base - Solution

Troubleshooting steps to debug the issue: - 1)Inspect the UI Page 1. Check for any errors related to the API or any exception errors. 2)Check Backend Server If everything is fine at the UI console end, log in to the Skylo OSS VM (us-east1-prod-tsdb-1). 3)Check Running Pods: • After logging in, find out how many pods are running on the server kubectl get pods 4)Identify the Problematic Pod: • Find out which pod is responsible for the UI issue by checking the logs. Use the following Kubernetes commands to check the logs: kubectl logs -f kubectl logs --tail=50 | grep Error kubectl logs --since-time=2024-10-17T08:00:00Z --tail=30 kubectl logs --since=24 5)Restart the Problematic Pod: • If you identify the problematic pod, restart it using the command below: kubectl delete pod Note: Use this restart command very carefully. First, check whether this pod is available in your deployment kubectl get deployment • If the pod is available in the deployment, you can restart it. Otherwise, do not proceed with the restart. 6)Verify Pod Status: • After restarting, check if the pod has come up. If it has, try to log in to the UI page and verify if it loads correctly.