How to disable the update checker

Our data center is not connected to the internet. 

Is there a way to disable the update checker, as well as all the social media auth-module types?

 

Thanks,

Dimitar

6 comments
Comment actions Permalink

Hello Dimitar!

It's not possible to disable the update checker at the moment as well as the social media auth modules. Could you please provide some more details, why do you want to disable these features? How do they interfere with your usual workflows?

Thanks.

0
Comment actions Permalink

Hi Lyubov,

Our environment is entirely cut off from the internet and as a result, we see ugly exception in the logs from the update checker. Our operations guys are generally reluctant to add exceptions to the monitoring configuration, hence I am asking whether we can disable it.

The social auth modules do not cause problems, but create clutter and there is always the chance that somebody attempts to configure them (which obviously wouldn't work without internet access).

I understand that right now it is not possible to disable these, but please consider for the future.

Thank you,
Dimitar

0
Comment actions Permalink

Could you please paste here an example of an exception you see in the logs because of the update checker? Please paste the full stack trace.

Thanks!

0
Comment actions Permalink

I've created a feature request in our tracker: https://youtrack.jetbrains.com/issue/JPS-6624 Please feel free to vote/comment on it to be notified of the updates.

0
Comment actions Permalink

04 Sep 2017 18:13:44,867 WARN [UpdateChecker ] Cannot load information about update availability. Was trying to download http://www.jetbrains.com/hub/update.json
jetbrains.jetpass.update.UpdateCheckException: Cannot load information about update availability. Was trying to download http://www.jetbrains.com/hub/update.json
at jetbrains.jetpass.update.UpdateJsonLoader.load(UpdateJsonLoader.kt:22)
at jetbrains.jetpass.update.UpdateChecker.check(UpdateChecker.kt:20)
at jetbrains.jetpass.update.UpdateCheckerService.check(UpdateCheckerService.kt:46)
at jetbrains.jetpass.update.UpdateCheckerService$recentStatus$2.invoke(UpdateCheckerService.kt:34)
at jetbrains.jetpass.update.UpdateCheckerService$recentStatus$2.invoke(UpdateCheckerService.kt:9)
at jetbrains.jetpass.update.UpdateCheckerService.write(UpdateCheckerService.kt:67)
at jetbrains.jetpass.update.UpdateCheckerService.getRecentStatus(UpdateCheckerService.kt:33)
at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO.getUpdateStatus(JetPassSettingsDAO.kt:173)
at jetbrains.jetpass.rest.api.SettingsDAOResource$getUpdateStatus$1.invoke(SettingsDAOResource.kt:61)
at jetbrains.jetpass.rest.api.SettingsDAOResource$getUpdateStatus$1.invoke(SettingsDAOResource.kt:30)
at jetbrains.jetpass.rest.api.resource.ResourceUtilKt$restDAOAction$1.invoke(ResourceUtil.kt:21)
at jetbrains.jetpass.rest.api.resource.ResourceUtilKt$restDAOAction$1.invoke(ResourceUtil.kt)
at kotlinx.dnq.TransactionKt.transactional(Transaction.kt:25)
at jetbrains.jetpass.dnq.TransactionKt.legacyTransactional(Transaction.kt:21)
at jetbrains.jetpass.dnq.TransactionKt.legacyTransactional$default(Transaction.kt:15)
at jetbrains.jetpass.rest.api.resource.ResourceUtilKt.restDAOAction(ResourceUtil.kt:20)
at jetbrains.jetpass.rest.api.SettingsDAOResource.getUpdateStatus(SettingsDAOResource.kt:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:309)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:292)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1139)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:460)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)
at jetbrains.hub.server.filter.LocalScopeFilter.doFilter(LocalScopeFilter.kt:19)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at jetbrains.hub.server.filter.SourceMapsFilter.doFilter(SourceMapsFilter.kt:46)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at jetbrains.hub.server.filter.LoggingFilter.doFilter(LoggingFilter.kt:20)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.eclipse.jetty.continuation.ContinuationFilter.doFilter(ContinuationFilter.java:127)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at jetbrains.hub.server.maintenance.performance.PerformanceFilter$doFilter$1.invoke(PerformanceFilter.kt:14)
at jetbrains.hub.server.maintenance.performance.PerformanceFilter$doFilter$1.invoke(PerformanceFilter.kt:6)
at jetbrains.hub.server.maintenance.performance.PerformanceMonitor$Companion.request(PerformanceMonitor.kt:87)
at jetbrains.hub.server.maintenance.performance.PerformanceFilter.doFilter(PerformanceFilter.kt:13)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.jetbrains.bundle.proxy.jetty.AllowOriginOneTimeFilter.doFilter(AllowOriginOneTimeFilter.java:37)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308)
at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:462)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:518)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.ws.rs.ProcessingException: java.net.UnknownHostException: www.jetbrains.com
at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:286)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:696)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:420)
at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:316)
at jetbrains.jetpass.update.UpdateJsonLoader.load(UpdateJsonLoader.kt:20)
... 90 more
Caused by: java.net.UnknownHostException: www.jetbrains.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:357)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:389)
at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:284)
... 100 more


 

0
Comment actions Permalink

Thanks for the details. Please watch the feature request in our tracker: https://youtrack.jetbrains.com/issue/JPS-6624

 

0

Please sign in to leave a comment.