jenkins-control-plugin icon indicating copy to clipboard operation
jenkins-control-plugin copied to clipboard

Doesn't work with proxy

Open cy6erGn0m opened this issue 11 years ago • 2 comments

It looks like you don't use IDEA's proxy settings so it doesn't work. Also the whole IDE hags in this case because it couldn't connect.

cy6erGn0m avatar Dec 10 '13 12:12 cy6erGn0m

This can be confirmed on the latest version and makes the plugin unusable for me.

johannes avatar Jan 15 '16 17:01 johannes

+1

stanislr avatar Sep 10 '19 07:09 stanislr

It's ten years later and proxy is still not supported. Cmon guys!

sivasuc avatar Sep 01 '23 11:09 sivasuc

What is not working for you exactly?

if you configure proxy in IDE it will be used Was implemented with 0.13.17

See #406

MCMicS avatar Sep 01 '23 11:09 MCMicS

I have the proxy configured in IDE: image When I test proxy settings using the button on the page and using jenkins url it succeeds.

When I click Test Connection in the jenkins server settings page I get in idea.log: 2023-09-01 13:28:07,552 [3466489] INFO - #org.codinjutsu.tools.jenkins.security.DefaultSecurityClient - IO Error during retrieve last Host for Redirection for URL 'https://server_name': Connect to server_name:443 [server_name/10.120.212.164] failed: Connect timed out org.apache.http.conn.ConnectTimeoutException: Connect to server_name:443 [server_name/10.120.212.164] failed: Connect timed out at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.executeHttp(DefaultSecurityClient.java:251) at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.getLastRedirectionHost(DefaultSecurityClient.java:183) at org.codinjutsu.tools.jenkins.security.BasicSecurityClient.doAuthentication(BasicSecurityClient.java:61) at org.codinjutsu.tools.jenkins.security.BasicSecurityClient.connect(BasicSecurityClient.java:51) at org.codinjutsu.tools.jenkins.logic.RequestManager.testAuthenticate(RequestManager.java:319) at org.codinjutsu.tools.jenkins.settings.ServerConfigurable.testConnection(ServerConfigurable.java:71) at org.codinjutsu.tools.jenkins.settings.ServerComponent.testConnection(ServerComponent.java:111) at org.codinjutsu.tools.jenkins.settings.ServerComponent.lambda$new$0(ServerComponent.java:71) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385) at java.desktop/java.awt.Component.processEvent(Component.java:6422) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4954) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4581) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4522) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2808) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:685) at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:633) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:588) at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363) at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:992) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:992) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:121) at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:191) at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:236) at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:234) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:234) at java.desktop/java.awt.Dialog.lambda$show$2(Dialog.java:1081) at java.desktop/sun.awt.SunToolkit.performOnMainThreadIfNeeded(SunToolkit.java:2164) at java.desktop/java.awt.Dialog.show(Dialog.java:1041) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:737) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:462) at com.intellij.openapi.ui.DialogWrapper.doShow(DialogWrapper.java:1685) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1643) at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.kt:104) at com.intellij.ide.actions.ShowSettingsAction.perform(ShowSettingsAction.java:60) at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:47) at com.intellij.openapi.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.java:339) at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:313) at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:362) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:313) at com.intellij.openapi.actionSystem.ex.ActionUtil.invokeAction(ActionUtil.java:538) at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:266) at com.intellij.ui.popup.ActionPopupStep.lambda$onChosen$3(ActionPopupStep.java:243) at com.intellij.ui.popup.AbstractPopup.lambda$dispose$18(AbstractPopup.java:1625) at com.intellij.openapi.wm.impl.FocusManagerImpl.lambda$doWhenFocusSettlesDown$3(FocusManagerImpl.java:173) at com.intellij.util.ui.EdtInvocationManager.invokeLaterIfNeeded(EdtInvocationManager.java:33) at com.intellij.ide.IdeEventQueue.ifFocusEventsInTheQueue(IdeEventQueue.kt:210) at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.kt:176) at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:169) at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:163) at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1623) at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:165) at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:394) at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:129) at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:161) at com.intellij.openapi.util.Disposer.dispose(Disposer.java:262) at com.intellij.openapi.util.Disposer.dispose(Disposer.java:250) at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:273) at com.intellij.ui.popup.list.ListPopupImpl.disposePopup(ListPopupImpl.java:496) at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:523) at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:483) at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:429) at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mouseReleased(ListPopupImpl.java:699) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385) at com.intellij.ui.popup.list.ListPopupImpl$MyList.processMouseEvent(ListPopupImpl.java:764) at java.desktop/java.awt.Component.processEvent(Component.java:6422) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4954) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4581) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4522) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2808) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:685) at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:633) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:588) at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363) at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:992) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113) at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:992) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: java.net.SocketTimeoutException: Connect timed out at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:551) at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) at java.base/java.net.Socket.connect(Socket.java:633) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:368) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ... 152 more 2023-09-01 13:28:17,563 [3476500] WARN - #c.i.d.PerformanceWatcherImpl - UI was frozen for 20012ms, details saved to C:\Users\xxberusm\AppData\Local\JetBrains\IntelliJIdea2023.2\log\threadDumps-freeze-20230901-132802-IU-232.9559.62-BasicSecurityClient.doAuthentication-20sec 2023-09-01 13:28:28,699 [3487636] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files 2023-09-01 13:28:38,403 [3497340] INFO - #org.codinjutsu.tools.jenkins.security.DefaultSecurityClient - IO Error during retrieve last Host for Redirection for URL 'https://server_name': Connect to server_name:443 [server_name/10.120.212.164] failed: Connect timed out org.apache.http.conn.ConnectTimeoutException: Connect to server_name:443 [server_name/10.120.212.164] failed: Connect timed out at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.executeHttp(DefaultSecurityClient.java:251) at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.getLastRedirectionHost(DefaultSecurityClient.java:183) at org.codinjutsu.tools.jenkins.security.BasicSecurityClient.doAuthentication(BasicSecurityClient.java:61) at org.codinjutsu.tools.jenkins.security.BasicSecurityClient.connect(BasicSecurityClient.java:51) at org.codinjutsu.tools.jenkins.logic.RequestManager.authenticate(RequestManager.java:300) at org.codinjutsu.tools.jenkins.logic.LoginService$1.run(LoginService.java:42) at org.codinjutsu.tools.jenkins.logic.JenkinsBackgroundTask.run(JenkinsBackgroundTask.java:41) at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:428) at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:115) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:478) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:251) at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:71) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173) at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:71) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:251) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:465) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.net.SocketTimeoutException: Connect timed out at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:551) at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) at java.base/java.net.Socket.connect(Socket.java:633) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:368) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ... 37 more

sivasuc avatar Sep 01 '23 11:09 sivasuc

Sorry for this. I can investogate the issue next week. Is the setup available for me to test against?

The log say tha connection timeout for 10.120.212.164. This sound like an internal IP.

I try to retrieve the last url for possible redirections to determine real server url for jenkins server. it would easier for me if i can test against your setup to check the error. If not possible can you please describe your environemnt and proxy setup please?

MCMicS avatar Sep 01 '23 11:09 MCMicS

Thanks a lot. Wrt setup, unfortunately it's proprietary/intranet, so I can't share it. But the proxy is definitely working fine, as proven by the proxy test functionality of the IDE. It's a socks5 proxy created by ssh -D command. Jenkins server address is masked in the log snippet by server_name.

sivasuc avatar Sep 01 '23 12:09 sivasuc

I try to create such a setup. I tested with two proxies before but maybe I overlooked something. I simply use the proxy setting from IDE. But may I forgot one part. I'll look into this asap

Is it possible to test build with extended logs if i need more infos?

MCMicS avatar Sep 01 '23 12:09 MCMicS

Sure, I can help, thanks!

sivasuc avatar Sep 01 '23 12:09 sivasuc

Hi @sivasuc I tried to reproduce but on my machine it seems to work. Startet a SOCKS Proxy on port 1080 und configured it in IDE grafik

Then used the URL grafik

what I saw in Proxy test is that only checks that the proxy is used. but this not mean that the connection could be established to the correct server.

your log says taht a connection to one of the resolved hosts could not be established.

Can you please verify with following:

curl -v  -x socks5h://localhost:1080 https://jenkins_server/api/json

MCMicS avatar Sep 05 '23 18:09 MCMicS

Hi @MCMicS Btw this is a windows 11 host (if that helps) Here is the output:

mofo@SECRET_HOST MINGW64 ~/workspace/repos/release_gitca (newgitca) $ curl -v -x socks5h://localhost:18888 https://server_name/api/json

  • processing: https://server_name/api/json
  • Trying [::1]:18888...
  • Connected to localhost (::1) port 18888
  • SOCKS5 connect to server_name:443 (remotely resolved)
  • SOCKS5 request granted.
  • Connected to localhost (::1) port 18888
  • schannel: disabled automatic use of client certificate
  • using HTTP/1.x

GET /api/json HTTP/1.1 Host: server_name User-Agent: curl/8.2.1 Accept: /

  • schannel: server closed the connection < HTTP/1.1 200 < Cache-Control: private < Expires: Thu, 01 Jan 1970 01:00:00 CET < X-Content-Type-Options: nosniff < X-Jenkins: 2.421 < X-Jenkins-Session: 2d946a7f < X-Frame-Options: deny < Content-Type: application/json;charset=UTF-8 < Transfer-Encoding: chunked < Date: Tue, 05 Sep 2023 19:41:04 GMT < Connection: close < {"_class":"hudson.model.Hudson","assignedLabels":[{"name":"sbt"},{"name":"daily-tmp-cleanup"},{"name":"master"}],"mode":"NORMAL","nodeDescription":"the Jenkins controller's built-i n node","nodeName":"","numExecutors":8,"description":"This is the Jenkins instance used by the Git RMS Development Team.","jobs":[{"_class":"hudson.model.FreeStyleProject","name":" ca-metadata-service","url":"https://server_name/job/ca-metadata-service/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"ca-metadata-servic e-verified","url":"https://server_name/job/ca-metadata-service-verified/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"ca-service-gc-clea nup","url":"https://server_name/job/ca-service-gc-cleanup/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"ca-service-gc-cleanup-native","u rl":"https://server_name/job/ca-service-gc-cleanup-native/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"ca-service-gitca","url":"https:/ /server_name/job/ca-service-gitca/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"ca-service-gitca-docker-functiontest","url":"https://sel iius01120.seli.gic.ericsson.se/job/ca-service-gitca-docker-functiontest/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"ca-service-gitca-functiontest","url":"ht tps://server_name/job/ca-service-gitca-functiontest/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"ca-service-gitca-verified","url":"http s://server_name/job/ca-service-gitca-verified/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"ca-service-network","url":"https://seliius01 120.seli.gic.ericsson.se/job/ca-service-network/","color":"blue"},{"_class":"org.jenkinsci.plugins.workflow.job.WorkflowJob","name":"ca-service-network-new","url":"https://seliius0 1120.seli.gic.ericsson.se/job/ca-service-network-new/","color":"notbuilt"},{"_class":"hudson.model.FreeStyleProject","name":"ca-service-network-verified","url":"https://seliius0112 0.seli.gic.ericsson.se/job/ca-service-network-verified/","color":"blue"},{"_class":"org.jenkinsci.plugins.workflow.job.WorkflowJob","name":"ca-service-network-verified-conversion", "url":"https://server_name/job/ca-service-network-verified-conversion/","color":"notbuilt"},{"_class":"hudson.model.FreeStyleProject","name":"ca-service-rp"," url":"https://server_name/job/ca-service-rp/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"ca-service-rp-verified","url":"https://seliius 01120.seli.gic.ericsson.se/job/ca-service-rp-verified/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"clean_test","url":"https://seliius01120.seli.gic.ericsson. se/job/clean_test/","color":"red"},{"_class":"hudson.model.FreeStyleProject","name":"clean_up_load_test_projects","url":"https://server_name/job/clean_up_load _test_projects/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"cleanup-bazel","url":"https://server_name/job/cleanup-bazel/","color":"blue "},{"_class":"hudson.model.FreeStyleProject","name":"cleanup-tmp","url":"https://server_name/job/cleanup-tmp/","color":"disabled"},{"_class":"hudson.model.Fre eStyleProject","name":"code-check-tmp","url":"https://server_name/job/code-check-tmp/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"code- style-apply","url":"https://server_name/job/code-style-apply/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"code-style-check","url":"http s://server_name/job/code-style-check/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"COS-alert-gitca","url":"https://seliius01120.seli.gic .ericsson.se/job/COS-alert-gitca/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"COS-alerts-gitca-verified","url":"https://server_name/job /COS-alerts-gitca-verified/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"documentation-verified","url":"https://server_name/job/document ation-verified/","color":"disabled"},{"_class":"hudson.model.FreeStyleProject","name":"e2e-gc-conductor-docker","url":"https://server_name/job/e2e-gc-conducto r-docker/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"e2e-load-test-dev","url":"https://server_name/job/e2e-load-test-dev/","color":"bl ue"},{"_class":"hudson.model.FreeStyleProject","name":"e2e-load-test-dr","url":"https://server_name/job/e2e-load-test-dr/","color":"notbuilt"},{"_class":"huds on.model.FreeStyleProject","name":"e2e-some-test-dev","url":"https://server_name/job/e2e-some-test-dev/","color":"blue"},{"_class":"hudson.model.FreeStyleProj ect","name":"e2e-stable-test-dev","url":"https://server_name/job/e2e-stable-test-dev/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"e2e-t ests-dev","url":"https://server_name/job/e2e-tests-dev/","color":"disabled"},{"_class":"hudson.model.FreeStyleProject","name":"e2e-tests-gc-conductor-staging" ,"url":"https://server_name/job/e2e-tests-gc-conductor-staging/","color":"disabled"},{"_class":"hudson.model.FreeStyleProject","name":"e2e-tests-high-availabi lity-dev","url":"https://server_name/job/e2e-tests-high-availability-dev/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"e2e-tests-its-mhw eb-dev","url":"https://server_name/job/e2e-tests-its-mhweb-dev/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"e2e-tests-rename-project-v3 ","url":"https://server_name/job/e2e-tests-rename-project-v3/","color":"disabled"},{"_class":"hudson.model.FreeStyleProject","name":"e2e-tests-staging","url": "https://server_name/job/e2e-tests-staging/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"e2e-tests-v3","url":"https://seliius01120.seli. gic.ericsson.se/job/e2e-tests-v3/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"e2e-tests_eaekpel","url":"https://server_name/job/e2e-tes ts_eaekpel/","color":"disabled"},{"_class":"hudson.model.FreeStyleProject","name":"gatling-sbt-gerrit-load-test-dr","url":"https://server_name/job/gatling-sbt -gerrit-load-test-dr/","color":"notbuilt"},{"_class":"hudson.model.FreeStyleProject","name":"gerrit-plugins-stable-branches-in-tree-java-11","url":"https://seliius01120.seli.gic.er icsson.se/job/gerrit-plugins-stable-branches-in-tree-java-11/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"gerrit-plugins-stable-branches-in-tree-java-8","url ":"https://server_name/job/gerrit-plugins-stable-branches-in-tree-java-8/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"gerrit-plugins-ve rified-in-gerrit-tree-java-11","url":"https://server_name/job/gerrit-plugins-verified-in-gerrit-tree-java-11/","color":"blue"},{"_class":"org.jenkinsci.plugin s.workflow.job.WorkflowJob","name":"gerrit-plugins-verified-in-gerrit-tree-java-11-pipeline","url":"https://server_name/job/gerrit-plugins-verified-in-gerrit- tree-java-11-pipeline/","color":"notbuilt"},{"_class":"hudson.model.FreeStyleProject","name":"gerrit-plugins-verified-in-gerrit-tree-java-8","url":"https://seliius01120.seli.gic.er icsson.se/job/gerrit-plugins-verified-in-gerrit-tree-java-8/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"gerrit-stable-2.X-ericsson","url":"https://seliius01 120.seli.gic.ericsson.se/job/gerrit-stable-2.X-ericsson/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"gerrit-stable-3.X-ericsson","url":"https://seliius01120. seli.gic.ericsson.se/job/gerrit-stable-3.X-ericsson/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"gerrit-verified-java-11","url":"https://seliius01120.seli.gi c.ericsson.se/job/gerrit-verified-java-11/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"gerrit-verified-java-8","url":"https://seliius01120.seli.gic.ericsson. se/job/gerrit-verified-java-8/","color":"blue"},{"_class":"hudson.maven.MavenModuleSet","name":"gerrit3-load-test-prod2","url":"https://server_name/job/gerrit 3-load-test-prod2/","color":"blue"},{"_class":"hudson.maven.MavenModuleSet","name":"gerrit3-load-test-tmp-epk","url":"https://server_name/job/gerrit3-load-tes t-tmp-epk/","color":"aborted"},{"_class":"hudson.model.FreeStyleProject","name":"gerrit_project_cleanup","url":"https://server_name/job/gerrit_project_cleanup /","color":"blue"},{"_class":"hudson.maven.MavenModuleSet","name":"gerritcentral-release-newgitca","url":"https://server_name/job/gerritcentral-release-newgit ca/","color":"blue"},{"_class":"hudson.maven.MavenModuleSet","name":"gerritcentral-release-newgitca-verified","url":"https://server_name/job/gerritcentral-rel ease-newgitca-verified/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"gitca-deployment","url":"https://server_name/job/gitca-deployment/" ,"color":"blue"},{"_class":"hudson.maven.MavenModuleSet","name":"gitca-load-tests","url":"https://server_name/job/gitca-load-tests/","color":"red"},{"_class": "org.jenkinsci.plugins.workflow.job.WorkflowJob","name":"gitca-load-tests-sequential","url":"https://server_name/job/gitca-load-tests-sequential/","color":"bl ue"},{"_class":"hudson.model.FreeStyleProject","name":"gitca-release-deployment-dev-verified","url":"https://server_name/job/gitca-release-deployment-dev-veri fied/","color":"disabled"},{"_class":"hudson.model.FreeStyleProject","name":"gitca-release-deployment-prod-seli-verified","url":"https://server_name/job/gitca -release-deployment-prod-seli-verified/","color":"disabled"},{"_class":"hudson.model.FreeStyleProject","name":"gitca-release-deployment-prod-sero-verified","url":"https://seliius01 120.seli.gic.ericsson.se/job/gitca-release-deployment-prod-sero-verified/","color":"disabled"},{"_class":"hudson.model.FreeStyleProject","name":"gitca-release-deployment-staging-se ro-verified","url":"https://server_name/job/gitca-release-deployment-staging-sero-verified/","color":"disabled"},{"_class":"hudson.model.FreeStyleProject","na me":"gitca-sla","url":"https://server_name/job/gitca-sla/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"gitca-sla-control","url":"https:/ /server_name/job/gitca-sla-control/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"gitca-sla-deployment","url":"https://seliius01120.seli. gic.ericsson.se/job/gitca-sla-deployment/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"gitca-sla-verified","url":"https://server_name/jo b/gitca-sla-verified/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"gitca-update-certificates","url":"https://server_name/job/gitca-updat e-certificates/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"Jenkins upgrade","url":"https://server_name/job/Jenkins%20upgrade/","color" :"blue"},{"_class":"hudson.model.FreeStyleProject","name":"jgit-verified-docker","url":"https://server_name/job/jgit-verified-docker/","color":"blue"},{"_clas s":"hudson.model.FreeStyleProject","name":"karma_test","url":"https://server_name/job/karma_test/","color":"notbuilt"},{"_class":"hudson.model.FreeStyleProjec t","name":"lint-check","url":"https://server_name/job/lint-check/","color":"notbuilt"},{"_class":"hudson.maven.MavenModuleSet","name":"load-test-executor","ur l":"https://server_name/job/load-test-executor/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"on-call-gitca","url":"https://seliius01120. seli.gic.ericsson.se/job/on-call-gitca/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"prometheus-alerts-gerrit-publish","url":"https://seliius01120.seli.gic.er icsson.se/job/prometheus-alerts-gerrit-publish/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"publish-opentelemetry-cpp-contrib-modules-to-ARM","url":"https:// server_name/job/publish-opentelemetry-cpp-contrib-modules-to-ARM/","color":"blue"},{"_class":"hudson.model.FreeStyleProject","name":"publish_nginx_rpm_to_ARM" ,"url":"https://server_name/job/publish_nginx_rpm_to_ARM/","color":"blue"},{"_class":"hudson.matrix.MatrixProject","name":"release-verified","url":"https://se liius01120.seli.gic.ericsson.se/job/release-verified/","color":"blue_anime"},{"_class":"org.jenkinsci.plugins.workflow.job.WorkflowJob","name":"scrpip_test","url":"https://seliius0 1120.seli.gic.ericsson.se/job/scrpip_test/","color":"notbuilt"},{"_class":"hudson.model.FreeStyleProject","name":"ssh-load-test-dev","url":"https://seliius01120.seli.gic.ericsson.s e/job/ssh-load-test-dev/","color":"blue"}],"overallLoad":{},"primaryView":{"_class":"hudson.model.ListView","name":"Main","url":"https://server_name/"},"quiet DownReason":null,"quietingDown":false,"slaveAgentPort":34000,"unlabeledLoad":{"_class":"jenkins.model.UnlabeledLoadStatistics"},"url":"https://server_name/"," useCrumbs":true,"useSecurity":true,"views":[{"_class":"hudson.model.AllView","name":"All","url":"https://server_name/view/All/"},{"_class":"hudson.model.ListV iew","name":"GitCA","url":"https://server_name/view/GitCA/"},{"_class":"hudson.model.ListView","name":"Main","url":"https://server_name/ "},{"_class":"hudson.model.ListView","name":"build-gerrit-and-plugins","url":"https://server_name/view/build-gerrit-and-plugins/"},{"_class":"hudson.model.Lis tView","name":"clean-ups","url":"https://server_name/view/clean-ups/"},{"_class":"hudson.model.ListView","name":"component-verified","url":"https://seliius011 20.seli.gic.ericsson.se/view/component-verified/"},{"_class":"se.diabol.jenkins.pipeline.DeliveryPipelineView","name":"dev-pipeline","url":"https://seliius01120.seli.gic.ericsson.s e/view/dev-pipeline/"},{"_class":"hudson.model.ListView","name":"gerritcentral-release","url":"https://server_name/view/gerritcentral-release/"},{"_class":"hu dson.model.ListView","name":"grafana","url":"https://server_name/view/grafana/"},{"_class":"hudson.model.ListView","name":"load-and-feature-test","url":"https ://server_name/view/load-and-feature-test/"},{"_class":"hudson.model.ListView","name":"publish-platform","url":"https://server_name/view /publish-platform/"},{"_class":"se.diabol.jenkins.pipeline.DeliveryPipelineView","name":"staging-pipeline","url":"https://server_name/view/staging-pipeline/"} ,{"_class":"hudson.model.ListView","name":"update-gerritcentral-projects","url":"https://server_name/view/update-gerritcentral-projects/"}]}* Closing connection
  • schannel: shutting down SSL/TLS connection with server_name port 443

sivasuc avatar Sep 05 '23 19:09 sivasuc

It looks fine on first look. Have you tried to setup the proxy url manually instead of use automatic detection in IDE?

And please increse the timeout setting because we have unfortunately issues with large responses (much data) which could lead to timeout exception. I only think about this because your stack before shows an connection timeout error

BTW i also have tested with windows 11 host where the socks proxy was created to a linux server

MCMicS avatar Sep 05 '23 19:09 MCMicS

Yes, I tried it to no avail. I set the same proxy host and port in the manual section.

sivasuc avatar Sep 05 '23 19:09 sivasuc

And tried the increase of timeout setting? i prepare a app with additional logs. Maybe I find the cause for the issue

it is hard to say where the issue exist because the could be different environment settings.

it will be easier to have access to server or maybe to ssh to create the proxy on my side to the server. BUt i understand if it is not possible due company restrictions. I can provide a private channel for communication if needed. Or use gitter with private channel)

MCMicS avatar Sep 05 '23 20:09 MCMicS

I created extended logging version. can you please enable debug logs:

org.codinjutsu.tools.jenkins
#org.codinjutsu.tools.jenkins:trace

grafik

you should see logs in idea.log like: Sending HEAD request to, Executing POST or Call url 'http://server'

jenkins-control-plugin-0.13.19-eap3-2023.2-signed.zip

MCMicS avatar Sep 06 '23 06:09 MCMicS

And tried the increase of timeout setting? i prepare a app with additional logs. Maybe I find the cause for the issue

it is hard to say where the issue exist because the could be different environment settings.

it will be easier to have access to server or maybe to ssh to create the proxy on my side to the server. BUt i understand if it is not possible due company restrictions. I can provide a private channel for communication if needed. Or use gitter with private channel)

Sorry, which timeout setting?

sivasuc avatar Sep 07 '23 14:09 sivasuc

Here is the log with the custom plugin:

2023-09-07 16:36:36,303 [ 361456] INFO - #org.codinjutsu.tools.jenkins.security.DefaultSecurityClient - IO Error during retrieve last Host for Redirection for URL 'https://server_name': Connect to server_name:443 [server_name/10.120.212.164] failed: Connect timed out org.apache.http.conn.ConnectTimeoutException: Connect to server_name:443 [server_name/10.120.212.164] failed: Connect timed out at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.executeHttp(DefaultSecurityClient.java:260) at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.getLastRedirectionHost(DefaultSecurityClient.java:186) at org.codinjutsu.tools.jenkins.security.BasicSecurityClient.doAuthentication(BasicSecurityClient.java:61) at org.codinjutsu.tools.jenkins.security.BasicSecurityClient.connect(BasicSecurityClient.java:51) at org.codinjutsu.tools.jenkins.logic.RequestManager.testAuthenticate(RequestManager.java:319) at org.codinjutsu.tools.jenkins.settings.ServerConfigurable.testConnection(ServerConfigurable.java:71) at org.codinjutsu.tools.jenkins.settings.ServerComponent.testConnection(ServerComponent.java:129) at org.codinjutsu.tools.jenkins.settings.ServerComponent.lambda$new$1(ServerComponent.java:83) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385) at java.desktop/java.awt.Component.processEvent(Component.java:6422) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4954) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4581) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4522) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2808) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:685) at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:633) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:588) at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363) at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:992) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:992) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:121) at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:191) at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:236) at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:234) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:234) at java.desktop/java.awt.Dialog.lambda$show$2(Dialog.java:1081) at java.desktop/sun.awt.SunToolkit.performOnMainThreadIfNeeded(SunToolkit.java:2164) at java.desktop/java.awt.Dialog.show(Dialog.java:1041) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:737) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:462) at com.intellij.openapi.ui.DialogWrapper.doShow(DialogWrapper.java:1685) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1643) at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.kt:104) at com.intellij.ide.actions.ShowSettingsAction.perform(ShowSettingsAction.java:60) at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:47) at com.intellij.openapi.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.java:339) at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:313) at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:362) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:313) at com.intellij.openapi.actionSystem.ex.ActionUtil.invokeAction(ActionUtil.java:538) at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:266) at com.intellij.ui.popup.ActionPopupStep.lambda$onChosen$3(ActionPopupStep.java:243) at com.intellij.ui.popup.AbstractPopup.lambda$dispose$18(AbstractPopup.java:1625) at com.intellij.openapi.wm.impl.FocusManagerImpl.lambda$doWhenFocusSettlesDown$3(FocusManagerImpl.java:173) at com.intellij.util.ui.EdtInvocationManager.invokeLaterIfNeeded(EdtInvocationManager.java:33) at com.intellij.ide.IdeEventQueue.ifFocusEventsInTheQueue(IdeEventQueue.kt:210) at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.kt:176) at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:169) at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:163) at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1623) at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:165) at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:394) at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:129) at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:161) at com.intellij.openapi.util.Disposer.dispose(Disposer.java:262) at com.intellij.openapi.util.Disposer.dispose(Disposer.java:250) at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:273) at com.intellij.ui.popup.list.ListPopupImpl.disposePopup(ListPopupImpl.java:496) at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:523) at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:483) at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:429) at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mouseReleased(ListPopupImpl.java:699) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385) at com.intellij.ui.popup.list.ListPopupImpl$MyList.processMouseEvent(ListPopupImpl.java:764) at java.desktop/java.awt.Component.processEvent(Component.java:6422) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4954) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4581) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4522) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2808) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:685) at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:633) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:588) at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363) at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:992) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113) at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:992) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: java.net.SocketTimeoutException: Connect timed out at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:551) at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) at java.base/java.net.Socket.connect(Socket.java:633) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:368) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ... 152 more 2023-09-07 16:36:41,577 [ 366730] WARN - #c.i.i.s.e.c.EventLogStatisticsService - java.io.IOException: HTTP/1.1 header parser received no bytes java.io.IOException: HTTP/1.1 header parser received no bytes at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:586) at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123) at com.intellij.internal.statistic.eventLog.connection.request.StatsRequestBuilder.trySend(StatsRequestBuilder.java:115) at com.intellij.internal.statistic.eventLog.connection.request.StatsRequestBuilder.trySend(StatsRequestBuilder.java:110) at com.intellij.internal.statistic.eventLog.connection.request.StatsRequestBuilder.send(StatsRequestBuilder.java:95) at com.intellij.internal.statistic.eventLog.connection.SettingsConnectionService.loadSettings(SettingsConnectionService.java:74) at com.intellij.internal.statistic.eventLog.connection.SettingsConnectionService.lambda$new$0(SettingsConnectionService.java:43) at com.intellij.internal.statistic.eventLog.connection.StatisticsCachingSupplier.get(StatisticsCachingSupplier.java:24) at com.intellij.internal.statistic.eventLog.connection.SettingsConnectionService.getExternalSettings(SettingsConnectionService.java:68) at com.intellij.internal.statistic.eventLog.connection.EventLogUploadSettingsService.isSettingsReachable(EventLogUploadSettingsService.java:65) at com.intellij.internal.statistic.eventLog.connection.EventLogStatisticsService.send(EventLogStatisticsService.java:101) at com.intellij.internal.statistic.eventLog.connection.EventLogStatisticsService.send(EventLogStatisticsService.java:57) at com.intellij.internal.statistic.updater.StatisticsJobsSchedulerKt$runEventLogStatisticsService$2$1.invokeSuspend(StatisticsJobsScheduler.kt:90) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) Caused by: java.io.IOException: HTTP/1.1 header parser received no bytes at java.net.http/jdk.internal.net.http.common.Utils.wrapWithExtraDetail(Utils.java:348) at java.net.http/jdk.internal.net.http.Http1Response$HeadersReader.onReadError(Http1Response.java:675) at java.net.http/jdk.internal.net.http.Http1AsyncReceiver.checkForErrors(Http1AsyncReceiver.java:302) at java.net.http/jdk.internal.net.http.Http1AsyncReceiver.flush(Http1AsyncReceiver.java:268) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:205) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.io.EOFException: EOF reached while reading at java.net.http/jdk.internal.net.http.Http1AsyncReceiver$Http1TubeSubscriber.onComplete(Http1AsyncReceiver.java:596) at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion(SocketTube.java:640) at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.read(SocketTube.java:845) at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowTask.run(SocketTube.java:181) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:303) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:256) at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalReadable(SocketTube.java:774) at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent.signalEvent(SocketTube.java:957) at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowEvent.handle(SocketTube.java:253) at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent(HttpClientImpl.java:979) at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.lambda$run$3(HttpClientImpl.java:934) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:934) 2023-09-07 16:36:46,342 [ 371495] WARN - #c.i.d.PerformanceWatcherImpl - UI was frozen for 20081ms, details saved to C:\Users\xxberusm\AppData\Local\JetBrains\IntelliJIdea2023.2\log\threadDumps-freeze-20230907-163631-IU-232.9559.62-BasicSecurityClient.doAuthentication-20sec 2023-09-07 16:37:01,395 [ 386548] FINER - #org.codinjutsu.tools.jenkins.security.DefaultSecurityClient - Sending HEAD request to: https://server_name 2023-09-07 16:37:01,781 [ 386934] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files 2023-09-07 16:37:02,402 [ 387555] INFO - #c.i.c.ComponentStoreImpl - Saving appAbbreviationManager took 83 ms, FileTypeManager took 39 ms 2023-09-07 16:37:02,604 [ 387757] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=GitCA, containerState=COMPONENT_CREATED, componentStore=C:\Users\xxberusm\workspace\repos\repository-gitca)RunManager took 50 ms 2023-09-07 16:37:02,796 [ 387949] INFO - #c.i.o.c.i.s.StoreUtil - saveProjectsAndApp took 1015 ms 2023-09-07 16:37:11,399 [ 396552] INFO - #org.codinjutsu.tools.jenkins.security.DefaultSecurityClient - IO Error during retrieve last Host for Redirection for URL 'https://server_name': Connect to server_name:443 [server_name/10.120.212.164] failed: Connect timed out org.apache.http.conn.ConnectTimeoutException: Connect to server_name:443 [server_name/10.120.212.164] failed: Connect timed out at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.executeHttp(DefaultSecurityClient.java:260) at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.getLastRedirectionHost(DefaultSecurityClient.java:186) at org.codinjutsu.tools.jenkins.security.BasicSecurityClient.doAuthentication(BasicSecurityClient.java:61) at org.codinjutsu.tools.jenkins.security.BasicSecurityClient.connect(BasicSecurityClient.java:51) at org.codinjutsu.tools.jenkins.logic.RequestManager.authenticate(RequestManager.java:300) at org.codinjutsu.tools.jenkins.logic.LoginService$1.run(LoginService.java:42) at org.codinjutsu.tools.jenkins.logic.JenkinsBackgroundTask.run(JenkinsBackgroundTask.java:41) at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:428) at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:115) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:478) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:251) at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:71) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173) at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:71) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:251) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:465) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.net.SocketTimeoutException: Connect timed out at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:551) at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) at java.base/java.net.Socket.connect(Socket.java:633) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:368) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ... 37 more 2023-09-07 16:37:21,404 [ 406557] WARN - org.codinjutsu.tools.jenkins.logic.JenkinsBackgroundTask - org.codinjutsu.tools.jenkins.exception.ConfigurationException: Error during authentication: Connect to server_name:443 [server_name/10.120.212.164] failed: Connect timed out 2023-09-07 16:37:21,405 [ 406558] FINE - org.codinjutsu.tools.jenkins.logic.JenkinsBackgroundTask - org.codinjutsu.tools.jenkins.exception.ConfigurationException: Error during authentication: Connect to server_name:443 [server_name/10.120.212.164] failed: Connect timed out at org.codinjutsu.tools.jenkins.security.BasicSecurityClient.doAuthentication(BasicSecurityClient.java:77) at org.codinjutsu.tools.jenkins.security.BasicSecurityClient.connect(BasicSecurityClient.java:51) at org.codinjutsu.tools.jenkins.logic.RequestManager.authenticate(RequestManager.java:300) at org.codinjutsu.tools.jenkins.logic.LoginService$1.run(LoginService.java:42) at org.codinjutsu.tools.jenkins.logic.JenkinsBackgroundTask.run(JenkinsBackgroundTask.java:41) at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:428) at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:115) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:478) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:251) at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:71) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173) at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:71) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:251) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:465) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to server_name:443 [server_name/10.120.212.164] failed: Connect timed out at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.executeHttp(DefaultSecurityClient.java:260) at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.executeHttp(DefaultSecurityClient.java:256) at org.codinjutsu.tools.jenkins.security.BasicSecurityClient.doAuthentication(BasicSecurityClient.java:67) ... 26 more Caused by: java.net.SocketTimeoutException: Connect timed out at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:551) at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) at java.base/java.net.Socket.connect(Socket.java:633) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:368) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ... 37 more

sivasuc avatar Sep 07 '23 14:09 sivasuc

Unchanged intellij proxy settings, the url works in browsers on the host

sivasuc avatar Sep 07 '23 14:09 sivasuc

And tried the increase of timeout setting? i prepare a app with additional logs. Maybe I find the cause for the issue it is hard to say where the issue exist because the could be different environment settings. it will be easier to have access to server or maybe to ssh to create the proxy on my side to the server. BUt i understand if it is not possible due company restrictions. I can provide a private channel for communication if needed. Or use gitter with private channel)

Sorry, which timeout setting?

grafik

MCMicS avatar Sep 07 '23 16:09 MCMicS

can you try following curl HEAD request only:

curl -I -v   --connect-timeout 10 -x socks5h://localhost:1080 https://jenkins_server/api/json

your log show a 10.120.xx.xx IP Is this the IP of the jenkins server or the proxy?

MCMicS avatar Sep 07 '23 16:09 MCMicS

`curl -I -v --connect-timeout 10 -x socks5h://localhost:18888 https://server_name/api/json

  • processing: https://server_name/api/json
  • Trying [::1]:18888...
  • Connected to localhost (::1) port 18888
  • SOCKS5 connect to server_name:443 (remotely resolved)
  • SOCKS5 request granted.
  • Connected to localhost (::1) port 18888
  • schannel: disabled automatic use of client certificate
  • using HTTP/1.x

HEAD /api/json HTTP/1.1 Host: server_name User-Agent: curl/8.2.1 Accept: /

  • schannel: server closed the connection < HTTP/1.1 200 HTTP/1.1 200 < Cache-Control: private Cache-Control: private < Expires: Thu, 01 Jan 1970 01:00:00 CET Expires: Thu, 01 Jan 1970 01:00:00 CET < X-Content-Type-Options: nosniff X-Content-Type-Options: nosniff < X-Jenkins: 2.421 X-Jenkins: 2.421 < X-Jenkins-Session: 2d946a7f X-Jenkins-Session: 2d946a7f < X-Frame-Options: deny X-Frame-Options: deny < Content-Type: application/json;charset=UTF-8 Content-Type: application/json;charset=UTF-8 < Transfer-Encoding: chunked Transfer-Encoding: chunked < Date: Fri, 08 Sep 2023 09:03:36 GMT Date: Fri, 08 Sep 2023 09:03:36 GMT < Connection: close Connection: close

<

  • Closing connection
  • schannel: shutting down SSL/TLS connection with server_name port 443` It's the ip of the jenkins server. The proxy is at 127.0.0.1:18888.

sivasuc avatar Sep 08 '23 09:09 sivasuc

Hard to find. Maybe i enable logging of underlying http request to see the reason. its strange that the stackstrace says timeout for the accessing the ip adress

i have to look further into it.

MCMicS avatar Sep 08 '23 09:09 MCMicS

Hi @sivasuc sorry for the delay. I have tested to reproduce it.

But I found another place where I missed the proxy settings. Can you please try following: jenkins-control-plugin-0.13.19-eap3-2023.2-signed.zip

If you will recevice something like failed to respond then the proxy will not be detected/configured correctly because it expects an http proxy instead SOCKS for internal Apache HttpClient. But please try test on your side please.

MCMicS avatar Sep 24 '23 18:09 MCMicS

Hi @sivasuc I have added basic support for SOCKS proxy. I've not tested an authenticated SOCKS Proxy. Could you please test if it works on your side?

jenkins-control-plugin-0.13.19-eap4-2023.2-signed.zip

MCMicS avatar Sep 25 '23 20:09 MCMicS

Hi @MCMicS, Yes I noticed that this was an issue of SOCKS support. I resolved my issues with his plugin (and a couple others, e.g. gerrit, jfrog) by switching to a HTTP proxy. I just reverted back to my previous setup with SOCKS to test it for you but intellij says the plugin file is missing the manifest: image

Thanks for your help and effort, much appreciated.

sivasuc avatar Oct 02 '23 10:10 sivasuc

Thanks maybe i built a wrong version

i currently add SOCKS authentication support and then build a new version. it would be nice if you can then test this again.

MCMicS avatar Oct 02 '23 10:10 MCMicS

released with 0.13.19

MCMicS avatar Oct 03 '23 11:10 MCMicS