[JIRA] (JENKINS-59711) can not install for cannot connect to google

6 views
Skip to first unread message

lihechao@gmail.com (JIRA)

unread,
Oct 9, 2019, 3:16:03 AM10/9/19
to jenkinsc...@googlegroups.com
li hechao created an issue
 
Jenkins / Improvement JENKINS-59711
can not install for cannot connect to google
Issue Type: Improvement Improvement
Assignee: Ulli Hafner
Components: warnings-ng-plugin
Created: 2019-10-09 07:15
Priority: Minor Minor
Reporter: li hechao

hi, when i install warnings-ng.hpi offline, upload the plug in and install, but it need to connect to google, my environ cannot connect to google, as you konw, there is a Great Firewall, could it used offline?

 

准备
  • Checking internet connectivity
  • Checking update center connectivity
  • Failed to connect to http://www.google.com/. Perhaps you need to configure HTTP proxy?
  • java.net.ConnectException: Connection timed out (Connection timed out) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673) 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.protocol.https.HttpsClient.(HttpsClient.java:264) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) at hudson.model.UpdateCenter$UpdateCenterConfiguration.testConnection(UpdateCenter.java:1262) at hudson.model.UpdateCenter$UpdateCenterConfiguration.checkUpdateCenter(UpdateCenter.java:1045) at hudson.model.UpdateCenter$ConnectionCheckJob.run(UpdateCenter.java:1494) 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:112) at java.lang.Thread.run(Thread.java:748)
Pipeline: Groovy  失败 -java.net.ConnectException: Connection timed out (Connection timed out) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) 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:1220) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3000) at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629) at java.net.URLConnection.getContentLengthLong(URLConnection.java:501) at java.net.URLConnection.getContentLength(URLConnection.java:485) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1121) Caused: java.net.ConnectException: Connection timed out (Connection timed out) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1137) Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/workflow-cps/2.54/workflow-cps.hpi to /root/.jenkins/plugins/workflow-cps.jpi.tmp at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1144) Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/workflow-cps/2.54/workflow-cps.hpi at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1178) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1715) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1978) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1689) 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:112) at java.lang.Thread.run(Thread.java:748)
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 9, 2019, 3:49:02 AM10/9/19
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Improvement JENKINS-59711
 
Re: can not install for cannot connect to google

If you are installing the plugin offline, you need to install the dependencies offline as well (see list in https://plugins.jenkins.io/warnings-ng). (You also need the dependencies of the dependencies). This is somewhat cumbersome.

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 9, 2019, 3:50:02 AM10/9/19
to jenkinsc...@googlegroups.com
Ulli Hafner closed an issue as Not A Defect
 

You should better use the mailing lists (for Gitter channels) to get a better feedback on how to create a custom Jenkins installation with a seat of predefined plugins.

Change By: Ulli Hafner
Status: Open Closed
Resolution: Not A Defect

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 9, 2019, 3:51:02 AM10/9/19
to jenkinsc...@googlegroups.com
Ulli Hafner edited a comment on Improvement JENKINS-59711
 
Re: can not install for cannot connect to google
You should better use the mailing lists ( for or Gitter channels) to get a better feedback on how to create a custom Jenkins installation with a seat of predefined plugins.
Reply all
Reply to author
Forward
0 new messages