1

Can not login in catlight app to activate license

On Windows PC trying to log in to the app to active the licens I get this error: an error occurred while sending the request - we have a http proxy but as far as we can see it allows the http/https traffic to *.catlight.io to pass through. Is it possible to active some verbose logging in catlight app to investigate further? Regards Morten

3 replies

You can add your proxy root certificate as a trusted root in windows. After that all applications running on this machine should be able to connect through it without errors.

Here is a guide on how to install a root certificate: https://blogs.technet.microsoft.com/sbs/2008/05/08/installing-a-self-signed-certificate-as-a-trusted-root-ca-in-windows-vista/ 

Fiddler just shows https traffic to catlight.io and service.catlight.io with http response code 200. In the log I can find this warning/error:

2017-09-27 10:26:00.0696 |  WARN | CustomCertificateValidator | 16 | Certificate validation failed for 'https://service.catlight.io/api/v1.0/get_space_updates', errors: RemoteCertificateChainErrors

2017-09-27 10:26:00.0806 |  WARN |        SharedStateManager | 14 | Exception in SpaceUpdaterHandler System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: Der opstod et sikkerhedsproblem

I'm not able using settings to choose no proxy - you only allow for system or manual configuration, and I can't get anywhere with that.

Our http proxy injects it's own certificate (self signed I think) - common practice I think.

Is this cert validation something you can alter/fix?

You can try configuring the proxy parameters in edit menu/settings/proxy. 

For additional logging, please check 

%AppData%\CatLight\logs

If it is still unclear why connection problem happens, try using a Fiddler web debugging proxy that will intercept connections that the app makes and show them.