Error when trying to use plugin manager in Jmeter 3.0

2,366 views
Skip to first unread message

ben.do...@gmail.com

unread,
Aug 2, 2016, 10:02:20 AM8/2/16
to jmeter-plugins
Whenenver I try to run the Jmeter Plugin manager on Jmeter 3.0 I am getting the following error:

java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:542)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:412)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:179)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:328)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:612)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
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 org.jmeterplugins.repository.PluginManager.getJSON(PluginManager.java:149)
at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:78)
at org.jmeterplugins.repository.PluginManagerDialog.componentShown(PluginManagerDialog.java:178)
at java.awt.AWTEventMulticaster.componentShown(Unknown Source)
at java.awt.Component.processComponentEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$300(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at org.jmeterplugins.repository.PluginManagerMenuItem.actionPerformed(PluginManagerMenuItem.java:41)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$300(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


Can someone please explain to me what is wrong and how I can resolve this?   

Andrey Pokhilko

unread,
Aug 2, 2016, 10:49:41 AM8/2/16
to jmeter-...@googlegroups.com

Hi,

Try setting following property in user.properties file: jpgc.repo.timeout=60000

Andrey Pokhilko
--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ben.do...@gmail.com

unread,
Aug 2, 2016, 11:01:34 AM8/2/16
to jmeter-plugins
Hi,

I tried setting that propery in the user.properties file but I'm still getting a very similar error.  The only difference I can see in the error is in the first line.  Please find below.

java.net.ConnectException: Connection timed out: connect

Andrey Pokhilko

unread,
Aug 2, 2016, 12:03:42 PM8/2/16
to jmeter-...@googlegroups.com

Can it be proxy server requirement in your network?

Andrey Pokhilko

Mital Majmundar

unread,
Aug 8, 2016, 5:31:57 AM8/8/16
to jmeter-plugins
Andrey is pointing in the right direction.

Use the code as below to invoke jmeter through command prompt.

jmeter -H "<Company proxy>" -P "<port used>" -u "<user name for authentication if required>" -a "<Password for authentication if required>"



sachit vashisht

unread,
Aug 21, 2017, 5:28:20 AM8/21/17
to jmeter-plugins, ben.do...@gmail.com

Can u help with this issue . I am also getting same issue.

Andrey Pokhilko

unread,
Aug 21, 2017, 5:30:12 AM8/21/17
to jmeter-...@googlegroups.com

Sachit Vashisht

unread,
Aug 21, 2017, 5:32:51 AM8/21/17
to jmeter-...@googlegroups.com
how to send this cmd

JVM_ARGS="-Dhttps.proxyHost=myproxy.com -Dhttps.proxyPort=8080" jmeter\bin\jmeter.bat

With Best Regards,
Sachit Vashisht
VVDN Technologies Pvt. Ltd
Cell : +91 8800425151| Skype : sachit....@vvdntech.in

To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugins+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "jmeter-plugins" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/T-RftD3b07U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jmeter-plugins+unsubscribe@googlegroups.com.

Andrey Pokhilko

unread,
Aug 21, 2017, 5:33:41 AM8/21/17
to jmeter-...@googlegroups.com

You need connect timeout property setting, not proxy settings.

Andrey Pokhilko

To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.

srpra...@gmail.com

unread,
Feb 1, 2018, 11:58:12 AM2/1/18
to jmeter-plugins
i ran into issues with sockets and certificates. adding set JVM_ARGS=-Djava.net.useSystemProxies=true in jmeter.bat resolved it. Also, for Proxy.pac issues, add HTTP Authorization Manager config element, and enter username password without a base url and basic digest, to resolve proxy connection issues for http requests.

Priyanka Saxena

unread,
Apr 20, 2022, 7:57:31 AM4/20/22
to jmeter-plugins
Add JVM_ARGS="-Dhttps.proxyHost=myproxy.com -Dhttps.proxyPort=8080" jmeter\bin\jmeter.bat in jmeter.properties file in section "JMeter Proxy configuration" and restart Jmeter. It should work fine.
Reply all
Reply to author
Forward
0 new messages