Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 820C2200CE0 for ; Fri, 25 Aug 2017 16:52:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7EA0816C10B; Fri, 25 Aug 2017 14:52:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C6A3F16C028 for ; Fri, 25 Aug 2017 16:52:18 +0200 (CEST) Received: (qmail 29156 invoked by uid 500); 25 Aug 2017 14:52:15 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 29143 invoked by uid 99); 25 Aug 2017 14:52:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2017 14:52:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 185A7180CB6 for ; Fri, 25 Aug 2017 14:52:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ds300UN1LPj0 for ; Fri, 25 Aug 2017 14:52:13 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 4D90C5FE34 for ; Fri, 25 Aug 2017 14:52:13 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id z132so300610wmg.1 for ; Fri, 25 Aug 2017 07:52:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=PjP86UjQGvFC9cZ9LSR3TjSUyAE+JKzYiezHUbJjH1c=; b=sbBCG3B/5a275FwnEU4tTbzIplCG+qLbbjXNfvvxGdEbVA5yZXYSCliDFiIB164hXj DMojPwWOxdWKFk2JfDzW0whG1ZYurzxN4jPTx8CROvU87df/RxZUqD9Bwuu17kv50JGd kziF1CWl7hpNGkPeY4OS5pfspEVl9g+VDK41Grk7Qe/sxr/U03bYnIWUYNfKmevQfLMA tFo4T+zSIapaoy6FxE6Xp1if9akdpLl9zq6GxL8/5DNZq+ePhK/9GpZmrfN9gmEcFwev cLXi1L0Y+ZOvNIzNm+ntk3BBGF0WJfOwEIuZLTR8TZeDYyJn269rHAapupoNAA3XGSzS IZlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=PjP86UjQGvFC9cZ9LSR3TjSUyAE+JKzYiezHUbJjH1c=; b=AUs+CZjaeYjNAhIBjK8qEQwfSWOcjahXKY6RlszruDCjXFDhEGC5SAEBZgMbAIVFRi B2UyhXG1LmZeISyWjbHBHwEPueBWZmvhYDi9QZBFeL8eRJ7FUp/Z57OXaB45AR1AqANn ty9vWJ24O6vCUxUxeu1fzvtLi2bv2X+pQQGGgoabLw+0LvRLdNF0L535qWYknJX5lHdl tfhYiYFDNbLv14+/gdlc5EGelGjuoWfRGPYdSSza5Mto7ZzK+UJ4Y0YQWlhyt0cjSEH1 vOviGetsTfQKD/Dnqki7he+YXQK7tPHT2In2GGJ8Po0LlYzZuqNWWyDsc9wxid39uErc qAzA== X-Gm-Message-State: AHYfb5j7NKKhTn1Yh+gutjvG6Y34pGvvg0vhhg1mlYNDjxLNb2JpcHBJ ZQFUzZN2eTSvEAJUKmjFusbJuiUaxA== X-Received: by 10.28.215.2 with SMTP id o2mr1387887wmg.5.1503672732713; Fri, 25 Aug 2017 07:52:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.216.212 with HTTP; Fri, 25 Aug 2017 07:52:11 -0700 (PDT) In-Reply-To: <1503670876.9374.1.camel@apache.org> References: <1503655110.29787.1.camel@apache.org> <1503668110.5742.1.camel@apache.org> <1503670876.9374.1.camel@apache.org> From: Vasudevan Comandur Date: Fri, 25 Aug 2017 20:22:11 +0530 Message-ID: Subject: Re: Facing an issue with a portal throwing socket Timeout Exception To: HttpClient User Discussion Content-Type: multipart/alternative; boundary="001a114696be17878d05579517f4" archived-at: Fri, 25 Aug 2017 14:52:19 -0000 --001a114696be17878d05579517f4 Content-Type: text/plain; charset="UTF-8" On 25 August 2017 at 19:51, Oleg Kalnichevski wrote: > On Fri, 2017-08-25 at 19:23 +0530, Vasudevan Comandur wrote: > > Thanks Oleg for your reply. > > > > The Wireshark trace shows clearly that data was coming in > > chunks/frames and > > also got assembled finally with HTTP headers. > > Can JRE close the socket on its own when it receives TCP Flags [FIN, > > PSH, > > ACK] in the frame without the caller closing the socket? > > > > All sorts of things can happen between the OS TCP/IP stack and the > application layer of JRE especially on Windows. I doubt JRE would close > the socket on its own but the OS could. > Are you saying that Linux platform is better?. Unfortunately, some clients use Windows environment only. > > > > Is there any other solution other than trying with different JDK > > versions? > > > > 1.8.0.102 sounds reasonably stable to me. > > What I would do though is to make sure that connections do not stay > alive too long by imposing a total time to live, say, under 30 seconds, > as false NoHttpResponseException tend to occur with connections that > stay idle for some while. > I am using HTMLUnit and how do I set the ttl value?. Is there a way to set the value? Regards Vasu > > Oleg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > For additional commands, e-mail: httpclient-users-help@hc.apache.org > > --001a114696be17878d05579517f4--