catalystbyzohozohocatalystcatalystcli

Getting Insecure Connection Error when logging into Catalyst CLI


I installed Zoho Catalyst CLI in my local machine and to login using my Catalyst account, I tried using the below command catalyst login I was redirected to Zoho Accounts and after clicking Accept, I got redirected to a different page where I got localhost refused to connect error

ERR_CONNECTION_REFUSED


Solution

  • Since you are trying to access a localhost URL, you might get this error if you are using a secure protocol such as HTTPS instead of HTTP where this kind of behaviour is mostly seen. To resolve this issue, you can manually change the URL from HTTPS to HTTP and try hitting the URL again.

    You can also check your web browser settings to allow unsecure connection and any other firewall configurations if any.