<div dir="ltr">Thanks Viktor for clarification <div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards<div>Somshekar C Kadam</div><div>9036660538</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 14, 2019 at 9:43 AM Viktor Dukhovni <<a href="mailto:openssl-users@dukhovni.org">openssl-users@dukhovni.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Java's TLS library is not OpenSSL.  This is not the right list<br>
for help with TLS in JDK8.  Speculatively, the timeout might be<br>
related to IPv6 being enabled on the board with JDK8 and Linux 4.x.<br>
Perhaps you're trying the IPv6 address, timing out, and then failing<br>
over to IPv4.  Or some middle-box is choking on larger client hellos.<br>
You'll need to analyze a packet capture.<br>
<br>
> On Aug 14, 2019, at 1:29 PM, Somshekar C Kadam <<a href="mailto:somkadam76@gmail.com" target="_blank">somkadam76@gmail.com</a>> wrote:<br>
> <br>
> Hi ,<br>
> we are running java 1.6 (older build) and java 1.8(newer build) on the same arm target board with different builds.<br>
> On 1.6 java we have Linux Kernel 2.6.35 and with Java 1.8 Linux kernel 4.x. version. so 2 environments and 2 use cases newer and older build. <br>
> while we access https website link <a href="https://transparencyreport.google.com/https/overview?hl=en" rel="noreferrer" target="_blank">https://transparencyreport.google.com/https/overview?hl=en</a><br>
> <br>
> we see it takes less than 2 seconds using java 1.6. (older build)<br>
> we see it takes 10 seconds using java 1.8 (newer build)<br>
> <br>
> On Java 1.8 did try disabling GCM ciphers and trying still we get the same 10 seconds delay. <br>
> <br>
> Attaching log of tls handshake for both. Not sure its to do with tls, may be java is causing the delay. <br>
> <br>
> I am not sure, please provide any pointers or feedback to rootcause it that will help to understand why we get 10seconds delay.<br>
> <br>
> One more info if just use curl on on newer build setup, it works fine within 2 seconds to access the https link. <br>
<br>
Curl may well be using OpenSSL, but that's not where you're seeing<br>
a problem, so the help you'll get on this list is rather limited.<br>
Try wireshark or similar.<br>
<br>
-- <br>
        Viktor.<br>
<br>
</blockquote></div>