[JIRA] [core] (JENKINS-35013) PluginManager not able to update

4 views
Skip to first unread message

dbeck@cloudbees.com (JIRA)

unread,
May 24, 2016, 7:13:01 AM5/24/16
to jenkinsc...@googlegroups.com
Daniel Beck commented on Bug JENKINS-35013
 
Re: PluginManager not able to update

Was this a transient error?

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

reasno@hotmail.com (JIRA)

unread,
May 24, 2016, 7:47:35 AM5/24/16
to jenkinsc...@googlegroups.com

What do you mean with a transient error?

I clicked on "check now" on the Plugin manager page, and this error occured.

dbeck@cloudbees.com (JIRA)

unread,
May 24, 2016, 1:10:01 PM5/24/16
to jenkinsc...@googlegroups.com

Well, does it still occur?

reasno@hotmail.com (JIRA)

unread,
May 25, 2016, 2:33:23 PM5/25/16
to jenkinsc...@googlegroups.com
Rens Hoskens created an issue
 
Jenkins / Bug JENKINS-35013
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2016/May/23 7:18 AM
Environment: Windows Server 2008 R2, Jenkins 2.1
Labels: jenkins 2.0 windows plugins exception
Priority: Major Major
Reporter: Rens Hoskens

I'm getting a FileNotFoundException when trying to update the Jenkins's plugins. I think it has something to do with the HTTP Response code not being 200 (When I try to go to the site itself from the server that is running Jenkins, I get a HTTP Response code 302)

I think this is also the reason why Jenkins is not requesting to upgrade to a higher version than 2.1.

java.io.FileNotFoundException: http://updates.jenkins-ci.org/update-center.json?id=default&version=2.1
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at hudson.model.DownloadService.loadJSON(DownloadService.java:165)
at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:175)
at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1392)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:320)
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:163)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
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:81)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

reasno@hotmail.com (JIRA)

unread,
May 26, 2016, 1:40:02 AM5/26/16
to jenkinsc...@googlegroups.com
Rens Hoskens commented on Bug JENKINS-35013
 
Re: PluginManager not able to update

Yes, it still occurs. Even after restart of Jenkins and the server itself.

dbeck@cloudbees.com (JIRA)

unread,
May 26, 2016, 5:38:01 AM5/26/16
to jenkinsc...@googlegroups.com

Are you using a proxy, or do you need to whitelist network hosts, or similar craziness?

reasno@hotmail.com (JIRA)

unread,
May 30, 2016, 1:20:01 AM5/30/16
to jenkinsc...@googlegroups.com

The server is behind a proxy, but it is configured correctly, and it worked in the past. Also, when I test the proxy with the Update URL, it succeeds.

reasno@hotmail.com (JIRA)

unread,
May 30, 2016, 1:20:02 AM5/30/16
to jenkinsc...@googlegroups.com
Rens Hoskens edited a comment on Bug JENKINS-35013
The server is behind a proxy, but it is configured correctly, and it worked in the past. Also, when I test the proxy with the Update URL, it succeeds.  It also worked in the past.. :s

sahil.shaikh89@gmail.com (JIRA)

unread,
Nov 11, 2016, 9:08:01 AM11/11/16
to jenkinsc...@googlegroups.com

I am facing the same issue with Jenkins 2.19.2.
java.io.IOException: Could not find JSON in http://updates.jenkins-ci.org/update-center.json?id=default&version=2.19.2

Jenkins is behind corporate proxy and the HTTP Proxy settings gives "Siccess" on Validate Proxy

This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 13, 2017, 11:53:02 AM3/13/17
to jenkinsc...@googlegroups.com

The only Jenkins-related thing I can imagine is a broken mirror.
But I do not see it can be somehow fixed on the Jenkins core side

This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

syed.suisse@gmail.com (JIRA)

unread,
Mar 28, 2017, 3:31:03 AM3/28/17
to jenkinsc...@googlegroups.com
Syed Ali commented on Bug JENKINS-35013

I am getting the similar issue as described below.

After setting up the proxy, I am able to validate the proxy (Success) but still when i click on "check now" button in update/available tab, getting below error.

I never saw this kind of error in version 1.6.

java.io.FileNotFoundException: http://updates.jenkins-ci.org/update-center.json?id=default&version=*2.51* at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at hudson.model.DownloadService.loadJSON(DownloadService.java:171) at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:190) at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1629)

 

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 28, 2017, 3:42:02 AM3/28/17
to jenkinsc...@googlegroups.com

Syed Ali Is it still reproducible? The file is accessible to me, and it just confirms there may be a broken mirror or a networm issue on your side.

Mirror status says everything is fine: http://mirrors.jenkins-ci.org/status.html

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 28, 2017, 3:43:01 AM3/28/17
to jenkinsc...@googlegroups.com
Oleg Nenashev edited a comment on Bug JENKINS-35013
[~syed_golap] Is it still reproducible? The file is accessible to me, and it just confirms there may be a broken mirror or a networm network issue on your side.


Mirror status says everything is fine: http://mirrors.jenkins-ci.org/status.html
Reply all
Reply to author
Forward
0 new messages