Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable glimpse update check request?

I have noticed that glimpse checks whether there are any update on clientside via https://getglimpse.com/Api/Version/Check?Glimpse.Ado=1.7.3&Glimpse.AspNet=1.9.2&Glimpse=1.8.6&Glimpse.EF6=1.6.5&Glimpse.Mvc5=1.5.3&stamp=1450129430335&callback=glimpse.versionCheck.result .

http://prntscr.com/9edgdy

Also request couldnt be completed since link's certificate is not valid,

How can I disable it?

like image 650
Oğuzhan Topçu Avatar asked Oct 18 '22 20:10

Oğuzhan Topçu


1 Answers

Set <add key="GlimpseVersionCheckAPIDomain" value="240.0.0.1" /> in <appSettings> of your Web.config.

This reconfigures any call that would have otherwise gone to getglimpse.com into a black hole instead. I tested this and confirmed zero phone-home attempts, and much quicker page loads now.

Relevant code is in: Glimpse.Core/Resource/VersionCheckResource.cs

var domain = ConfigurationManager.AppSettings["GlimpseVersionCheckAPIDomain"];

        if (string.IsNullOrEmpty(domain))
        {
            domain = "getGlimpse.com";
        }

        return new CacheControlDecorator(OneDay, CacheSetting.Public, new RedirectResourceResult(@"//" + domain + "/Api/Version/Check{?packages*}{&stamp}{&callback}", data));
like image 61
CrazyPyro Avatar answered Nov 01 '22 09:11

CrazyPyro