java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=2.7.4

Jenkins JIRA | Xifeng Zou | 3 months ago
  1. 0

    Maybe this issue is related to [JDK-4620571 : urlconnection following redirect uses protocol of original request|http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4620571] [http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4620571] I installed Jenkins 2.7.4 LTS from ubuntu apt repository following the offical installation guide. Then I navigated to the jenkins webapp url. After filled in initial admin password, loading indicator was shown for some time, and I got a message "This Jenkins instance appears to be offline." I am sure the network connection is fine and not behind any proxy. I skipped proxy configuration. Jenkins runs fine, but when I opened plugins manager, no plugins found. Since I have been worked with Hudson (before Jenkins split from Hudson) for quite long time I knew some problem occured. When I checked log file, I got following log entry: {quote} WARNING: Upgrading Jenkins. Failed to update the default Update Site 'default'. Plugin upgrades may fail. java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=2.7.4 at hudson.model.DownloadService.loadJSON(DownloadService.java:174) at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:176) at hudson.model.UpdateCenter.updateDefaultSite(UpdateCenter.java:2181) at jenkins.install.SetupWizard.init(SetupWizard.java:170) at jenkins.install.InstallState$3.initializeState(InstallState.java:105) at jenkins.model.Jenkins.setInstallState(Jenkins.java:970) at jenkins.install.InstallUtil.proceedToNextStateFrom(InstallUtil.java:94) at jenkins.model.Jenkins.<init>(Jenkins.java:887) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:227) {quote} I tried to check the update site url with shell {quote}curl http://updates.jenkins-ci.org/update-center.json\?id=default\&version=2.7.4{quote}. The response is a 301 redirect. After another two 302 redirects, I got the final update site url: {quote}https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/stable-2.7/update-center.json{quote} The entire network flow of update site: {quote} http://updates.jenkins-ci.org/update-center.json?id=default&version=2.7.4 301 http://updates.jenkins-ci.org/stable-2.7/update-center.json 302 http://mirrors.jenkins-ci.org/updates/stable-2.7/update-center.json 302 https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/stable-2.7/update-center.json {quote} Then I changed the default update site url to this mirror url, I could get plugins list now. But when I tried to install some plugins, failed. I checked the log file and found following message: {quote} SEVERE: Failed to install SCM API Plugin java.io.IOException: Downloaded file /var/lib/jenkins/plugins/scm-api.jpi.tmp does not match expected SHA-1, expected 'GSoCVeUDmMHHd4hvIx6GHlvzA1g=', actual 'NUD1ONAUpGfIc3Hk0DiYO5HhS48=' at hudson.model.UpdateCenter.verifyChecksums(UpdateCenter.java:1799) at hudson.model.UpdateCenter.access$1100(UpdateCenter.java:147) at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:1950) at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1194) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1669) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1864) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1640) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:745) {quote} I opened scm-api.jpi.tmp, it was a html file: {quote} <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/scm-api/1.3/scm-api.hpi">here</a>.</p> </body></html> {quote} I can't figure out what happened. So I uninstalled 2.7.4, and installed 2.22 from apt reposity, the problem is still there. And I tried to install jenkins web app into tomcat 8.55, the problem is not resolved. I also tried openjdk8, before that oracle jdk 1.7.0_25 was used. Today, I cloned the source code from github, tried to add some log with bq. hudson.model.DownloadService.loadJSON(URL src) around line 170. I found that when using default update site url URLConnection stopped to follow the last 302 redirect to bq. https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/current/update-center.json After that I checked the update site json content. The "scm-api" plugin's url is bq. http://updates.jenkins-ci.org/download/plugins/scm-api/1.3/scm-api.hpi There will be two 302 redirects, the final url is bq. https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/scm-api/1.3/scm-api.hpi The entire network flow of a plugin: {quote} http://updates.jenkins-ci.org/download/plugins/scm-api/1.3/scm-api.hpi 302 http://mirrors.jenkins-ci.org/plugins/scm-api/1.3/scm-api.hpi 302 https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/scm-api/1.3/scm-api.hpi {quote} After searching, I found the JDK issue record mentioned at the beginning. I'm not sure whether it is the reason. Maybe, Jenkins update site should enforce https. I want to change update-center.json with all the url directly pointed to the mirror site, and deployed to an internal server, but jenkins refused to accept it since the checksum digest is changed. So there is no work around for me.

    Jenkins JIRA | 3 months ago | Xifeng Zou
    java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=2.7.4
  2. 0

    Fresh installed Jenkins ver. 2.7.4 and tried to access/install some plugins but it is empty with the message saying "No updates". If I try to update the update site url and "check now", it thorws below exception, java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=2.7.4 at hudson.model.DownloadService.loadJSON(DownloadService.java:174) at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:176) at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1615) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324) at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:52) at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$2.doDispatch(MetaClass.java:174) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:499) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

    Jenkins JIRA | 3 months ago | Hariharan Kuppusamy
    java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=2.7.4
  3. 0

    [JIRA] (JENKINS-38195) Jenkins available plugin list is emtpy

    Google Groups | 3 months ago | hari...@collab.net (JIRA)
    java.io.IOException: Could not find JSON in <a href="http://updates.jenkins-ci.org/update-center.json?id=default&amp;version=2.7.4" class="external-link" rel="nofollow" style="color: #3b73af; text-decoration: none">http://updates.jenkins-ci.org/update-center.json?id=default&amp;version=2.7.4</a>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Vanilla install into tomcat. the rest of the functionality seems to be working fine. However the Plugin Manager has no updates or available plugins visible. When attempting to manually refresh get the following error: Stack trace java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=1.628 at hudson.model.DownloadService.loadJSON(DownloadService.java:170) at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:170) at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:902) 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:497) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:46) at org.kohsuke.stapler.Function$InterceptedFunction.invoke(Function.java:399) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:183) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2516) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2505) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Same browser hitting the same url returns a json object. so is the wget --trust-server-names http://updates.jenkins-ci.org/update-center.json?id=default&version=1.628 results: --2015-09-09 02:11:38-- http://updates.jenkins-ci.org/update-center.json?id=default Resolving updates.jenkins-ci.org (updates.jenkins-ci.org)... 199.193.196.24 Connecting to updates.jenkins-ci.org (updates.jenkins-ci.org)|199.193.196.24|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://mirrors.jenkins-ci.org/updates/current/update-center.json [following] --2015-09-09 02:11:38-- http://mirrors.jenkins-ci.org/updates/current/update-center.json Resolving mirrors.jenkins-ci.org (mirrors.jenkins-ci.org)... 199.193.196.24 Connecting to mirrors.jenkins-ci.org (mirrors.jenkins-ci.org)|199.193.196.24|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://ftp-nyc.osuosl.org/pub/jenkins/updates/current/update-center.json [following] --2015-09-09 02:11:38-- http://ftp-nyc.osuosl.org/pub/jenkins/updates/current/update-center.json Resolving ftp-nyc.osuosl.org (ftp-nyc.osuosl.org)... 64.50.233.100 Connecting to ftp-nyc.osuosl.org (ftp-nyc.osuosl.org)|64.50.233.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 935958 (914K) [application/json] Saving to: 'update-center.json' update-center.json 100%[===================================================>] 914.02K --.-KB/s in 0.1s 2015-09-09 02:11:38 (6.82 MB/s) - 'update-center.json' saved [935958/935958] This is highly inconvenient as I need to install several plugins and mannualy resolving all the dependencies is a pain. Thanks, Nick

    Jenkins JIRA | 1 year ago | Nick Rapoport
    java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=1.628
  6. 0

    I get an {{IOException}} when trying to fetch the latest update center data. {code} java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=1.642 at hudson.model.DownloadService.loadJSON(DownloadService.java:170) at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:173) at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:959) ... {code} Trying {{wget}} on the same host to download the data from works fine: {code} $ wget -v "http://updates.jenkins-ci.org/update-center.json?id=default&version=1.642" --2016-02-05 12:08:23-- http://updates.jenkins-ci.org/update-center.json?id=default&version=1.642 Resolving updates.jenkins-ci.org (updates.jenkins-ci.org)... 199.193.196.24 Connecting to updates.jenkins-ci.org (updates.jenkins-ci.org)|199.193.196.24|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://mirrors.jenkins-ci.org/updates/1.642/update-center.json [following] --2016-02-05 12:08:23-- http://mirrors.jenkins-ci.org/updates/1.642/update-center.json Resolving mirrors.jenkins-ci.org (mirrors.jenkins-ci.org)... 199.193.196.24 Connecting to mirrors.jenkins-ci.org (mirrors.jenkins-ci.org)|199.193.196.24|:80... connected. HTTP request sent, awaiting response... 302 Found Location: ftp://ftp.halifax.rwth-aachen.de/jenkins/updates/1.642/update-center.json [following] --2016-02-05 12:08:23-- ftp://ftp.halifax.rwth-aachen.de/jenkins/updates/1.642/update-center.json => ‘update-center.json’ Resolving ftp.halifax.rwth-aachen.de (ftp.halifax.rwth-aachen.de)... 137.226.34.46, 2a00:8a60:e012:a00::21 Connecting to ftp.halifax.rwth-aachen.de (ftp.halifax.rwth-aachen.de)|137.226.34.46|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /jenkins/updates/1.642 ... done. ==> SIZE update-center.json ... 996252 ==> PASV ... done. ==> RETR update-center.json ... done. Length: 996252 (973K) (unauthoritative) update-center.json 100%[=================================================================================================================>] 972.90K --.-KB/s in 0.1s 2016-02-05 12:08:24 (6.36 MB/s) - ‘update-center.json’ saved [996252] {code} The {{DownloadService}} seems to use plain JDK HTTP client ({{HttpURLConnection}}). To debug the download, I ran the following snippet in Script Console: {code} con = new URL("http://updates.jenkins-ci.org/update-center.json").openConnection() println con.class.name println con.responseCode println con.instanceFollowRedirects println con.inputStream.text println con.getHeaderFieldKey(5) println con.getHeaderField(5) {code} the output is: {code} sun.net.www.protocol.http.HttpURLConnection 302 true <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="ftp://ftp.halifax.rwth-aachen.de/jenkins/updates/current/update-center.json">here</a>.</p> <hr> <address>Apache/2.2.14 (Ubuntu) Server at mirrors.jenkins-ci.org Port 80</address> </body></html> Location ftp://ftp.halifax.rwth-aachen.de/jenkins/updates/current/update-center.json {code} So I think the JDK is not following redirects to FTP URLs.

    Jenkins JIRA | 10 months ago | Daniel Spilker
    java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=1.642

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=2.7.4

      at hudson.model.DownloadService.loadJSON()
    2. Hudson
      UpdateCenter.updateDefaultSite
      1. hudson.model.DownloadService.loadJSON(DownloadService.java:174)
      2. hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:176)
      3. hudson.model.UpdateCenter.updateDefaultSite(UpdateCenter.java:2181)
      3 frames
    3. jenkins.install
      InstallState$3.initializeState
      1. jenkins.install.SetupWizard.init(SetupWizard.java:170)
      2. jenkins.install.InstallState$3.initializeState(InstallState.java:105)
      2 frames
    4. jenkins.model
      Jenkins.setInstallState
      1. jenkins.model.Jenkins.setInstallState(Jenkins.java:970)
      1 frame
    5. jenkins.install
      InstallUtil.proceedToNextStateFrom
      1. jenkins.install.InstallUtil.proceedToNextStateFrom(InstallUtil.java:94)
      1 frame
    6. jenkins.model
      Jenkins.<init>
      1. jenkins.model.Jenkins.<init>(Jenkins.java:887)
      1 frame
    7. Hudson
      WebAppMain$3.run
      1. hudson.model.Hudson.<init>(Hudson.java:85)
      2. hudson.model.Hudson.<init>(Hudson.java:81)
      3. hudson.WebAppMain$3.run(WebAppMain.java:227)
      3 frames