You'll receive this error if your custom/vanity URL is not secure. To fix this, you can either purchase an SSL certificate from us for the custom URL or disable the 'Secure connection using SSL' option under Admin -> Security.