org.apache.http.client.ClientProtocolException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • *Description* : We are using the _Resolved Artifacts_ feature in our Jenkins jobs. It failed on a redirection exception even if the procedure is working in a browser and wget. The redirection is on the same host/dns but through SSL. *Server Setup* : We are using an Apache reverse proxy to handle SSL traffic and docker requests. A permanent redirection is in place to move HTTP requests to SSL. The reverse proxy map to the internal port the Artifactory service. *Version* : - Artifactory PRO 4.1.3 - Jenkins 1.631 - Jenkins Artifactory Plugin 2.3.1 *Expected Behavior* : Following the redirection without exception *Repro Rate* : 100% *Repro Step* : - {color:red}Jenkins (Error){color} -- Create a freestyle job -- Enable _Generic-Artifactory Integration_ -- Choose an HTTPS server (or a server with a redirection 301) -- Choose a repository -- Add an artifact to be resolve : engine-snapshot:com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- Save and run the job -- The build will fail with a *CircularRedirectException* wrapped in a ClientProtocolException - {color:green}Wget (Working){color} -- wget http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- {code} --2015-10-28 14:55:52-- http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip Resolving artifacts.xxx.com (artifacts.xxx.com)... 10.0.0.38 Connecting to artifacts.xxx.com (artifacts.xxx.com)|10.0.0.38|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip [following] --2015-10-28 14:55:52-- https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip Connecting to artifacts.xxx.com (artifacts.xxx.com)|10.0.0.38|:443... connected. HTTP request sent, awaiting response... 200 OK{code} - {color:green}Browser (Chrome, FF and Fiddler){color} -- browse to http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- no alerts about infinite redirection -- debugger panels display only one redirection *Build Log* {code} Beginning to resolve Build Info published dependencies. Resolving published dependencies with pattern engine-snapshot:com/xxx/iweditor/1.0.0/iweditor-*.zip Found 1 dependencies by doing a pattern search. Downloading 'http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip' ... ERROR: null org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:886) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:88) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.execute(ArtifactoryDependenciesClient.java:185) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.downloadArtifact(ArtifactoryDependenciesClient.java:170) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact(DependenciesDownloaderHelper.java:80) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies(DependenciesDownloaderHelper.java:40) at org.jfrog.hudson.generic.DependenciesDownloaderImpl.download(DependenciesDownloaderImpl.java:49) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesHelper.retrievePublishedDependencies(DependenciesHelper.java:52) at org.jfrog.hudson.generic.GenericArtifactsResolver.retrievePublishedDependencies(GenericArtifactsResolver.java:56) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator.setUp(ArtifactoryGenericConfigurator.java:263) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: org.apache.http.client.CircularRedirectException: Circular redirect to 'https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip' at org.apache.http.impl.client.DefaultRedirectStrategy.getLocationURI(DefaultRedirectStrategy.java:176) at org.apache.http.impl.client.DefaultRedirectStrategy.getRedirect(DefaultRedirectStrategy.java:220) at org.apache.http.impl.client.DefaultRequestDirector.handleResponse(DefaultRequestDirector.java:1084) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:515) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) ... 17 more {code}
    via by Jérémie Charest,
  • *Description* : We are using the _Resolved Artifacts_ feature in our Jenkins jobs. It failed on a redirection exception even if the procedure is working in a browser and wget. The redirection is on the same host/dns but through SSL. *Server Setup* : We are using an Apache reverse proxy to handle SSL traffic and docker requests. A permanent redirection is in place to move HTTP requests to SSL. The reverse proxy map to the internal port the Artifactory service. *Version* : - Artifactory PRO 4.1.3 - Jenkins 1.631 - Jenkins Artifactory Plugin 2.3.1 *Expected Behavior* : Following the redirection without exception *Repro Rate* : 100% *Repro Step* : - {color:red}Jenkins (Error){color} -- Create a freestyle job -- Enable _Generic-Artifactory Integration_ -- Choose an HTTPS server (or a server with a redirection 301) -- Choose a repository -- Add an artifact to be resolve : engine-snapshot:com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- Save and run the job -- The build will fail with a *CircularRedirectException* wrapped in a ClientProtocolException - {color:green}Wget (Working){color} -- wget http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- {code} --2015-10-28 14:55:52-- http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip Resolving artifacts.xxx.com (artifacts.xxx.com)... 10.0.0.38 Connecting to artifacts.xxx.com (artifacts.xxx.com)|10.0.0.38|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip [following] --2015-10-28 14:55:52-- https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip Connecting to artifacts.xxx.com (artifacts.xxx.com)|10.0.0.38|:443... connected. HTTP request sent, awaiting response... 200 OK{code} - {color:green}Browser (Chrome, FF and Fiddler){color} -- browse to http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- no alerts about infinite redirection -- debugger panels display only one redirection *Build Log* {code} Beginning to resolve Build Info published dependencies. Resolving published dependencies with pattern engine-snapshot:com/xxx/iweditor/1.0.0/iweditor-*.zip Found 1 dependencies by doing a pattern search. Downloading 'http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip' ... ERROR: null org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:886) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:88) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.execute(ArtifactoryDependenciesClient.java:185) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.downloadArtifact(ArtifactoryDependenciesClient.java:170) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact(DependenciesDownloaderHelper.java:80) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies(DependenciesDownloaderHelper.java:40) at org.jfrog.hudson.generic.DependenciesDownloaderImpl.download(DependenciesDownloaderImpl.java:49) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesHelper.retrievePublishedDependencies(DependenciesHelper.java:52) at org.jfrog.hudson.generic.GenericArtifactsResolver.retrievePublishedDependencies(GenericArtifactsResolver.java:56) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator.setUp(ArtifactoryGenericConfigurator.java:263) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: org.apache.http.client.CircularRedirectException: Circular redirect to 'https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip' at org.apache.http.impl.client.DefaultRedirectStrategy.getLocationURI(DefaultRedirectStrategy.java:176) at org.apache.http.impl.client.DefaultRedirectStrategy.getRedirect(DefaultRedirectStrategy.java:220) at org.apache.http.impl.client.DefaultRequestDirector.handleResponse(DefaultRequestDirector.java:1084) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:515) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) ... 17 more {code}
    via by J??r??mie Charest,
  • *Description* : We are using the _Resolved Artifacts_ feature in our Jenkins jobs. It failed on a redirection exception even if the procedure is working in a browser and wget. The redirection is on the same host/dns but through SSL. *Server Setup* : We are using an Apache reverse proxy to handle SSL traffic and docker requests. A permanent redirection is in place to move HTTP requests to SSL. The reverse proxy map to the internal port the Artifactory service. *Version* : - Artifactory PRO 4.1.3 - Jenkins 1.631 - Jenkins Artifactory Plugin 2.3.1 *Expected Behavior* : Following the redirection without exception *Repro Rate* : 100% *Repro Step* : - {color:red}Jenkins (Error){color} -- Create a freestyle job -- Enable _Generic-Artifactory Integration_ -- Choose an HTTPS server (or a server with a redirection 301) -- Choose a repository -- Add an artifact to be resolve : engine-snapshot:com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- Save and run the job -- The build will fail with a *CircularRedirectException* wrapped in a ClientProtocolException - {color:green}Wget (Working){color} -- wget http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- {code} --2015-10-28 14:55:52-- http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip Resolving artifacts.xxx.com (artifacts.xxx.com)... 10.0.0.38 Connecting to artifacts.xxx.com (artifacts.xxx.com)|10.0.0.38|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip [following] --2015-10-28 14:55:52-- https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip Connecting to artifacts.xxx.com (artifacts.xxx.com)|10.0.0.38|:443... connected. HTTP request sent, awaiting response... 200 OK{code} - {color:green}Browser (Chrome, FF and Fiddler){color} -- browse to http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- no alerts about infinite redirection -- debugger panels display only one redirection *Build Log* {code} Beginning to resolve Build Info published dependencies. Resolving published dependencies with pattern engine-snapshot:com/xxx/iweditor/1.0.0/iweditor-*.zip Found 1 dependencies by doing a pattern search. Downloading 'http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip' ... ERROR: null org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:886) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:88) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.execute(ArtifactoryDependenciesClient.java:185) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.downloadArtifact(ArtifactoryDependenciesClient.java:170) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact(DependenciesDownloaderHelper.java:80) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies(DependenciesDownloaderHelper.java:40) at org.jfrog.hudson.generic.DependenciesDownloaderImpl.download(DependenciesDownloaderImpl.java:49) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesHelper.retrievePublishedDependencies(DependenciesHelper.java:52) at org.jfrog.hudson.generic.GenericArtifactsResolver.retrievePublishedDependencies(GenericArtifactsResolver.java:56) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator.setUp(ArtifactoryGenericConfigurator.java:263) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: org.apache.http.client.CircularRedirectException: Circular redirect to 'https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip' at org.apache.http.impl.client.DefaultRedirectStrategy.getLocationURI(DefaultRedirectStrategy.java:176) at org.apache.http.impl.client.DefaultRedirectStrategy.getRedirect(DefaultRedirectStrategy.java:220) at org.apache.http.impl.client.DefaultRequestDirector.handleResponse(DefaultRequestDirector.java:1084) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:515) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) ... 17 more {code}
    via by Jérémie Charest,
  • *Description* : We are using the _Resolved Artifacts_ feature in our Jenkins jobs. It failed on a redirection exception even if the procedure is working in a browser and wget. The redirection is on the same host/dns but through SSL. *Server Setup* : We are using an Apache reverse proxy to handle SSL traffic and docker requests. A permanent redirection is in place to move HTTP requests to SSL. The reverse proxy map to the internal port the Artifactory service. *Version* : - Artifactory PRO 4.1.3 - Jenkins 1.631 - Jenkins Artifactory Plugin 2.3.1 *Expected Behavior* : Following the redirection without exception *Repro Rate* : 100% *Repro Step* : - {color:red}Jenkins (Error){color} -- Create a freestyle job -- Enable _Generic-Artifactory Integration_ -- Choose an HTTPS server (or a server with a redirection 301) -- Choose a repository -- Add an artifact to be resolve : engine-snapshot:com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- Save and run the job -- The build will fail with a *CircularRedirectException* wrapped in a ClientProtocolException - {color:green}Wget (Working){color} -- wget http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- {code} --2015-10-28 14:55:52-- http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip Resolving artifacts.xxx.com (artifacts.xxx.com)... 10.0.0.38 Connecting to artifacts.xxx.com (artifacts.xxx.com)|10.0.0.38|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip [following] --2015-10-28 14:55:52-- https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip Connecting to artifacts.xxx.com (artifacts.xxx.com)|10.0.0.38|:443... connected. HTTP request sent, awaiting response... 200 OK{code} - {color:green}Browser (Chrome, FF and Fiddler){color} -- browse to http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip -- no alerts about infinite redirection -- debugger panels display only one redirection *Build Log* {code} Beginning to resolve Build Info published dependencies. Resolving published dependencies with pattern engine-snapshot:com/xxx/iweditor/1.0.0/iweditor-*.zip Found 1 dependencies by doing a pattern search. Downloading 'http://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip' ... ERROR: null org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:886) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:88) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.execute(ArtifactoryDependenciesClient.java:185) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.downloadArtifact(ArtifactoryDependenciesClient.java:170) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact(DependenciesDownloaderHelper.java:80) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies(DependenciesDownloaderHelper.java:40) at org.jfrog.hudson.generic.DependenciesDownloaderImpl.download(DependenciesDownloaderImpl.java:49) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesHelper.retrievePublishedDependencies(DependenciesHelper.java:52) at org.jfrog.hudson.generic.GenericArtifactsResolver.retrievePublishedDependencies(GenericArtifactsResolver.java:56) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator.setUp(ArtifactoryGenericConfigurator.java:263) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: org.apache.http.client.CircularRedirectException: Circular redirect to 'https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip' at org.apache.http.impl.client.DefaultRedirectStrategy.getLocationURI(DefaultRedirectStrategy.java:176) at org.apache.http.impl.client.DefaultRedirectStrategy.getRedirect(DefaultRedirectStrategy.java:220) at org.apache.http.impl.client.DefaultRequestDirector.handleResponse(DefaultRequestDirector.java:1084) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:515) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) ... 17 more {code}
    via by Jérémie Charest,
  • Browse Remote tab fails to browse the remote maven.oracle.com repository. {noformat} jvm 1 | 2015-03-13 14:11:57,049-0300 WARN [qtp1089728632-121] admin org.sonatype.nexus.plugins.rrb.MavenRepositoryReader - Failed to get directory listing content jvm 1 | org.apache.http.client.ClientProtocolException: null jvm 1 | at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) ~[httpclient-4.3.6.jar:4.3.6] jvm 1 | at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) ~[httpclient-4.3.6.jar:4.3.6] jvm 1 | at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) ~[httpclient-4.3.6.jar:4.3.6] jvm 1 | at org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.getContent(MavenRepositoryReader.java:231) [nexus-rrb-plugin-2.11.2-03/:na] jvm 1 | at org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.extract(MavenRepositoryReader.java:101) [nexus-rrb-plugin-2.11.2-03/:na] jvm 1 | at org.sonatype.nexus.plugins.rrb.RemoteBrowserResource.get(RemoteBrowserResource.java:138) [nexus-rrb-plugin-2.11.2-03/:na] jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:233) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:39) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.resource.Resource.getRepresentation(Resource.java:302) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.resource.Resource.handleGet(Resource.java:464) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Finder.handle(Finder.java:353) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:36) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Application.handle(Application.java:341) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Component.handle(Component.java:676) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.restlet.Server.handle(Server.java:331) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at org.sonatype.nexus.restlet1x.internal.RestletServlet.service(RestletServlet.java:93) [nexus-restlet1x-plugin-2.11.2-03/:na] jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet-3.0.0.v201112011016.jar:na] jvm 1 | at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:288) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:278) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.sonatype.nexus.analytics.internal.RestRequestCollector.doFilter(RestRequestCollector.java:81) [nexus-analytics-plugin-2.11.2-03/:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.sonatype.nexus.web.internal.SecurityFilter.executeChain(SecurityFilter.java:90) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.sonatype.nexus.licensing.internal.LicensingRedirectFilter.doFilter(LicensingRedirectFilter.java:135) [nexus-licensing-plugin-2.11.2-03/:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76) [metrics-web-2.2.0.jar:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.CommonHeadersFilter.doFilter(CommonHeadersFilter.java:69) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.ErrorPageFilter.doFilter(ErrorPageFilter.java:71) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.BaseUrlHolderFilter.doFilter(BaseUrlHolderFilter.java:70) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:56) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-security-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200) [metrics-jetty-2.2.0.jar:na] jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:370) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) [jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40] jvm 1 | Caused by: org.apache.http.client.CircularRedirectException: Circular redirect to 'https://www.oracle.com/content/secure/maven/content/?delimiter=/' jvm 1 | at org.apache.http.impl.client.DefaultRedirectStrategy.getLocationURI(DefaultRedirectStrategy.java:174) ~[httpclient-4.3.6.jar:4.3.6] jvm 1 | at org.apache.http.impl.client.DefaultRedirectStrategy.getRedirect(DefaultRedirectStrategy.java:217) ~[httpclient-4.3.6.jar:4.3.6] jvm 1 | at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:119) ~[httpclient-4.3.6.jar:4.3.6] jvm 1 | at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) ~[httpclient-4.3.6.jar:4.3.6] jvm 1 | ... 137 common frames omitted {noformat}
    via by Peter Lynch,
  • {panel:bgColor=#e7f4fa} *NOTE:* This suggestion is for *JIRA Server*. Using *JIRA Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/JRACLOUD-63795]. {panel} h3. Problem Definition The Base URL Health Check in JIRA makes an HTTP request to the base URL. However, in some scenarios, the request will get caught in a circular reference to itself due to redirects in the SSO and SAML configuration. The following appears in {{atlassian-jira.log}}: {code:java} 2017-01-02 14:15:57,020 SupportHealthCheckThread-4 ERROR ServiceRunner [c.a.j.p.healthcheck.support.BaseUrlHealthCheck] An error occurred when performing the Base URL healthcheck: org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) at com.atlassian.jira.plugins.healthcheck.support.BaseUrlHealthCheck.doCheck(BaseUrlHealthCheck.java:52) at com.atlassian.jira.plugins.healthcheck.support.AbstractSupportHealthCheck.check(AbstractSupportHealthCheck.java:27) at com.atlassian.support.healthcheck.impl.PluginSuppliedSupportHealthCheck.check(PluginSuppliedSupportHealthCheck.java:41) at com.atlassian.support.healthcheck.thread.HealthCheckCallable.call(HealthCheckCallable.java:32) at com.atlassian.support.healthcheck.thread.HealthCheckCallable.call(HealthCheckCallable.java:15) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.http.client.CircularRedirectException: Circular redirect to 'base-url/jira' at org.apache.http.impl.client.DefaultRedirectStrategy.getLocationURI(DefaultRedirectStrategy.java:176) at org.apache.http.impl.client.DefaultRedirectStrategy.getRedirect(DefaultRedirectStrategy.java:220) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:121) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) ... 12 more {code} h5. Environment: * JIRA, listening on a context path of {{https://base-url/jira/}} * A SAML/SSO product responding to {{https://base-url/saml/}} h5.Diagnosis Performing a cURL to the base URL shows a redirect loop (extraneous headers stripped for clarity): {code:java} % curl -I -L https://base-url/jira HTTP/1.1 302 Found Date: Mon, 09 Jan 2017 08:52:28 GMT Server: Apache Location: https://base-url/saml HTTP/1.1 302 Moved Temporarily Cache-Control: private Date: Mon, 09 Jan 2017 08:52:28 GMT Location: https://base-url/jira HTTP/1.1 302 Found Date: Mon, 09 Jan 2017 08:52:28 GMT Server: Apache Location: https://base-url/saml HTTP/1.1 302 Moved Temporarily Cache-Control: private Date: Mon, 09 Jan 2017 08:52:28 GMT Location: https://base-url/jira HTTP/1.1 302 Found Date: Mon, 09 Jan 2017 08:52:28 GMT Server: Apache Location: https://base-url/saml HTTP/1.1 302 Moved Temporarily Cache-Control: private Date: Mon, 09 Jan 2017 08:52:28 GMT Location: https://base-url/jira {code} In the scenario this issue is derived from, the customer had whitelisted calls to the REST API to not go through the SAML/SSO configuration. This means that while gadgets worked correctly, the Health Check failed due to the circular reference. h3. Suggested Solution Update the check to query the gadget spec URL instead of the base URL, and rename it appropriately. Alternatively for customers who are not able to make the modifications to exclude all requests from JIRA, it'd be great to either allow or just test an extra URL, either in addition to or instead of the current URL for testing which is the base URL. Being able to detect circular redirects or too many redirects would also be a really good improvement to this health check. h3. Workaround For customers who do not wish to see or be alerted by the failing health check, you can take the following steps: # Go to Manage Add-ons # Select All add-ons and search for "Instance Health Plugin" # Expand the plugin and then expand the modules # Disable {{jira.healthcheck.baseurl.name}}
    via by Dave Norton,
  • Hanged Crawl
    via opensearchserve by a90a
    ,
    • org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:886) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:88) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.execute(ArtifactoryDependenciesClient.java:185) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.downloadArtifact(ArtifactoryDependenciesClient.java:170) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact(DependenciesDownloaderHelper.java:80) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies(DependenciesDownloaderHelper.java:40) at org.jfrog.hudson.generic.DependenciesDownloaderImpl.download(DependenciesDownloaderImpl.java:49) at org.jfrog.build.extractor.clientConfiguration.util.DependenciesHelper.retrievePublishedDependencies(DependenciesHelper.java:52) at org.jfrog.hudson.generic.GenericArtifactsResolver.retrievePublishedDependencies(GenericArtifactsResolver.java:56) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator.setUp(ArtifactoryGenericConfigurator.java:263) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: org.apache.http.client.CircularRedirectException: Circular redirect to 'https://artifacts.xxx.com/artifactory/engine-snapshot/com/xxx/iweditor/1.0.0/iweditor-1.0.0.zip' at org.apache.http.impl.client.DefaultRedirectStrategy.getLocationURI(DefaultRedirectStrategy.java:176) at org.apache.http.impl.client.DefaultRedirectStrategy.getRedirect(DefaultRedirectStrategy.java:220) at org.apache.http.impl.client.DefaultRequestDirector.handleResponse(DefaultRequestDirector.java:1084) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:515) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) ... 17 more

    Users with the same issue

    Unknown visitor1 times, last one,