[JIRA] (JENKINS-58867) Jenkins with proxy doens't work
Title: Message Title Renan Lopes updated an issue Jenkins / JENKINS-58867 Jenkins with proxy doens't work Change By: Renan Lopes Environment: Jenkins 2.189 using a war WAR packageLinux Ubuntu 18.04java version 1.8.0_221 - Oracle VendorFirefox 68Corporate Environment with ProxySSL Certificate added to the default Java Keystore on $JAVA_HOME/jre/lib/security/cacerts to fix "SSL Handshake Exception" Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201184.1565291091000.10955.1565291580070%40Atlassian.JIRA.
[JIRA] (JENKINS-58867) Jenkins with proxy doens't work
Title: Message Title Renan Lopes updated an issue Jenkins / JENKINS-58867 Jenkins with proxy doens't work Change By: Renan Lopes Environment: Jenkins 2.189 using a war packageLinux Ubuntu 18.04java version 1.8.0_221 - Oracle VendorFirefox 68Corporate Environment with ProxySSL certificate Certificate added to the default Java Keystore on$JAVA_HOME/jre/lib/security/cacerts to fix "SSL Handshake Exception" Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201184.1565291091000.10954.1565291460137%40Atlassian.JIRA.
[JIRA] (JENKINS-58867) Jenkins with proxy doens't work
Title: Message Title Renan Lopes updated an issue Jenkins / JENKINS-58867 Jenkins with proxy doens't work Change By: Renan Lopes Environment: Jenkins 2.189 using a war packageLinux Ubuntu 18.04java version 1.8.0_221 - Oracle VendorFirefox 68Corporate Environment with Proxy SSL certificate added to the default Java Keystore on Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201184.1565291091000.10953.1565291400062%40Atlassian.JIRA.
[JIRA] (JENKINS-58867) Jenkins with proxy doens't work
Title: Message Title Renan Lopes updated an issue Jenkins / JENKINS-58867 Jenkins with proxy doens't work Change By: Renan Lopes Hi.I'm trying to install & configure Jenkins in my computer using the provided .war file on [http://mirrors.jenkins.io/war/latest/jenkins.war.] I'm trying to start Jenkins with the following command:java -Dhttp.auth.preference="basic" -jar jenkins.war --httpPort=8180 --httpsKeyStore=$JAVA_HOME/jre/lib/security/cacerts --httpsCertificate=~/Documents/PCAcert.crt Jenkins starts, but it doesn't download any plugin. So it suggested to configure a proxy. I did, but it is failing as the attached screenshot shows.If I try to test with a HTTP URL (no SSL) I get this exception:{code:java}java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer at org.apache.commons.httpclient.HttpMethodDirector.applyConnectionParams(HttpMethodDirector.java:360) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:404) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:178) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:404) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:330) at hudson.ProxyConfiguration$DescriptorImpl.doValidateProxy(ProxyConfiguration.java:409) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408) at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77) at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)Caused: javax.servlet.ServletException at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:797) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676) 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:873) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at jenkins.install.SetupWizard$1.doFilter(SetupWizard.java:627) at
[JIRA] (JENKINS-58867) Jenkins with proxy doens't work
Title: Message Title Renan Lopes created an issue Jenkins / JENKINS-58867 Jenkins with proxy doens't work Issue Type: Bug Assignee: Unassigned Attachments: http.png, https.png Components: core Created: 2019-08-08 19:04 Environment: Jenkins 2.189 using a war package Linux Ubuntu 18.04 java version 1.8.0_221 - Oracle Vendor Firefox 68 Corporate Environment with Proxy Priority: Minor Reporter: Renan Lopes Hi. I'm trying to install & configure Jenkins in my computer using the provided .war file on http://mirrors.jenkins.io/war/latest/jenkins.war. I'm trying to start Jenkins with the following command: java -Dhttp.auth.preference="basic" -jar jenkins.war --httpPort=8180 --httpsKeyStore=$JAVA_HOME/jre/lib/security/cacerts --httpsCertificate=~/Documents/PCAcert.crt Jenkins starts, but it doesn't download any plugin. So it suggested to configure a proxy. I did, but it is failing as the attached screenshot shows. If I try to test with a HTTP URL (no SSL) I get this exception: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer at org.apache.commons.httpclient.HttpMethodDirector.applyConnectionParams(HttpMethodDirector.java:360) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:404) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:178) at