You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/01/18 16:13:58 UTC
[Bug 54449] New: HTTPS requests hange for 4-5 seconds for each
request when using IP's without reverse DNS
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Bug ID: 54449
Summary: HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Product: JMeter
Version: 2.8
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: tlb@rapanden.dk
Classification: Unclassified
Created attachment 29866
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29866&action=edit
Jmeter plan that shows the issue
When using HTTPClient4 with HTTPS, requests hangs for 4-5 seconds for each
request when using IP's without reverse DNS, using the DNS names or adding the
IP and DNS name to hosts file removes the delay. Also using HTTPClient3.1
instead seems to solve the issue.
I have added a plan that shows the issue.
Regards Troels
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
CC| |p.mouawad@ubik-ingenierie.c
| |om
--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
What java version are you using ?
Regards
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests using HC4 hang for 4-5 seconds when using
IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
--- Comment #17 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Could this be an explanation:
- http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6450279
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests using HC4 hang for 4-5 seconds when using
IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|HTTPS requests hangs for |HTTPS requests using HC4
|4-5 seconds for each |hang for 4-5 seconds when
|request when using IP's |using IP's without reverse
|without reverse DNS under |DNS under Windows
|Windows |
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests using HC4 hang for 4-5 seconds when using
IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Dzmitry Kashlach <dz...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dzmitrykashlach@gmail.com
--- Comment #16 from Dzmitry Kashlach <dz...@gmail.com> ---
Failed to reproduce on Xubuntu 12.04
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests using HC4 hang for 4-5 seconds when using
IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
--- Comment #12 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
I thought that:
- https://issues.apache.org/jira/browse/HTTPCLIENT-1302
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests using HC4 hang for 4-5 seconds when using
IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #30151|0 |1
is obsolete| |
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests using HC4 hang for 4-5 seconds when using
IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P3
Severity|normal |minor
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|All |Windows XP
--- Comment #10 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
I reproduce on Windows 7 but not on Mac OS.
Seems to affect Windows Family only.
Could be something related to this:
http://www.velocityreviews.com/forums/showpost.php?p=2959030&postcount=8
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
--- Comment #2 from Sebb <se...@apache.org> ---
Here is a stack dump during the pause:
"Thread Group 1-1" prio=6 tid=0x038f3c00 nid=0xd80 runnable [0x03b7f000]
java.lang.Thread.State: RUNNABLE
at java.net.Inet4AddressImpl.getHostByAddr(Native Method)
at java.net.InetAddress$1.getHostByAddr(Unknown Source)
at java.net.InetAddress.getHostFromNameService(Unknown Source)
at java.net.InetAddress.getHostName(Unknown Source)
at java.net.InetAddress.getHostName(Unknown Source)
at sun.security.ssl.SSLSocketImpl.getHost(Unknown Source)
- locked <0x1349be48> (a sun.security.ssl.SSLSocketImpl)
at sun.security.ssl.Handshaker.getHostSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.getKickstartMessage(Unknown
Source)
at sun.security.ssl.Handshaker.kickstart(Unknown Source)
at sun.security.ssl.SSLSocketImpl.kickstartHandshake(Unknown Source)
- locked <0x1349be48> (a sun.security.ssl.SSLSocketImpl)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown
Source)
- locked <0x1349c038> (a java.lang.Object)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.getSession(Unknown Source)
at
org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:91)
at
org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:572)
at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:284)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1075)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1064)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:426)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
at java.lang.Thread.run(Unknown Source)
This will need further investigation.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
--- Comment #8 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
I don't reproduce on Mac OSx:
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-10M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
@sebb do you use the plan as is or do you point
@Troels Liebe Bentsen Is the IP in the test plan public ?
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
--- Comment #9 from Sebb <se...@apache.org> ---
(In reply to comment #8)
> I don't reproduce on Mac OSx:
> java version "1.6.0_37"
> Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-10M3909)
> Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
>
> @sebb do you use the plan as is or do you point
Yes (except I unchecked "Follow redirects" - not relevant here)
> @Troels Liebe Bentsen Is the IP in the test plan public ?
>
> Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
--- Comment #5 from Troels Liebe Bentsen <tl...@rapanden.dk> ---
C:\Users\TroelsLiebeBentsen>java -version
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests using HC4 hang for 4-5 seconds when using
IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Hitesh <gu...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests using HC4 hang for 4-5 seconds when using
IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #15 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Yes it's related to 54799
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
--- Comment #3 from Sebb <se...@apache.org> ---
The stack dump was on WinXP using JMeter 2.8.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Troels Liebe Bentsen <tl...@rapanden.dk> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Troels Liebe Bentsen <tl...@rapanden.dk> ---
Should note that this is on Windows 8
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Troels Liebe Bentsen <tl...@rapanden.dk> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|Windows NT |Windows 7
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hangs for 4-5 seconds for each request
when using IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|HTTPS requests hange for |HTTPS requests hangs for
|4-5 seconds for each |4-5 seconds for each
|request when using IP's |request when using IP's
|without reverse DNS |without reverse DNS under
| |Windows
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests using HC4 hang for 4-5 seconds when using
IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #14 from Sebb <se...@apache.org> ---
(In reply to comment #13)
> Created attachment 30151 [details]
> Jmeter file for Mac OS x attached
Seems to be for a different bug report. Was this intended for Bugzilla 54799 ?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests using HC4 hang for 4-5 seconds when using
IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
--- Comment #13 from Hitesh <gu...@gmail.com> ---
Created attachment 30151
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30151&action=edit
Jmeter file for Mac OS x attached
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
--- Comment #7 from Sebb <se...@apache.org> ---
Using:
2013/01/18 17:25:52 INFO - jmeter.JMeter: Version 2.8 r1393162
2013/01/18 17:25:52 INFO - jmeter.JMeter: java.version=1.6.0_38
2013/01/18 17:25:52 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) Client
VM
2013/01/18 17:25:52 INFO - jmeter.JMeter: os.name=Windows XP
I get similar results:
"Thread Group 1-1" prio=6 tid=0x03c4c400 nid=0x27c runnable [0x055ff000]
java.lang.Thread.State: RUNNABLE
at java.net.Inet4AddressImpl.getHostByAddr(Native Method)
at java.net.InetAddress$1.getHostByAddr(InetAddress.java:852)
at java.net.InetAddress.getHostFromNameService(InetAddress.java:532)
at java.net.InetAddress.getHostName(InetAddress.java:475)
at java.net.InetAddress.getHostName(InetAddress.java:447)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.getHost(SSLSocketImpl.java:1971)
- locked <0x1302b5b8> (a com.sun.net.ssl.internal.ssl.SSLSocketImpl)
at
com.sun.net.ssl.internal.ssl.Handshaker.getHostSE(Handshaker.java:257)
at
com.sun.net.ssl.internal.ssl.ClientHandshaker.getKickstartMessage(ClientHandshaker.java:1020)
at
com.sun.net.ssl.internal.ssl.Handshaker.kickstart(Handshaker.java:620)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.kickstartHandshake(SSLSocketImpl.java:1305)
- locked <0x1302b5b8> (a com.sun.net.ssl.internal.ssl.SSLSocketImpl)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1202)
- locked <0x1302b718> (a java.lang.Object)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1230)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:2036)
at
org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:91)
at
org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:572)
at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:284)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1075)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1064)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:426)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
at java.lang.Thread.run(Thread.java:662)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #29866|application/octet-stream |text/plain
mime type| |
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hangs for 4-5 seconds for each request
when using IP's without reverse DNS under Windows
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
--- Comment #11 from Sebb <se...@apache.org> ---
However the problem only affects HC4, not the HC3.1 or Java implementations.
So if it is a Windows issue, why is it being triggered by HC4 only?
I think it may be something to do with the way SSL verification is handled in
HC4.
Even though we use the HC4TrustAllSSLSocketFactory, it still invokes
org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:91)
which calls getSession, even though the session is not needed later.
I've not yet had a chance to try recoding to avoid this; if it is the cause
then I think we may need to raise an enhancement request against HC4.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54449] HTTPS requests hange for 4-5 seconds for each request
when using IP's without reverse DNS
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54449
--- Comment #6 from Sebb <se...@apache.org> ---
(In reply to comment #3)
> The stack dump was on WinXP using JMeter 2.8.
2013/01/18 16:55:19 INFO - jmeter.JMeter: Version 2.8 r1393162
2013/01/18 16:55:19 INFO - jmeter.JMeter: java.version=1.7.0_11
2013/01/18 16:55:19 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) Client
VM
--
You are receiving this mail because:
You are the assignee for the bug.