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 512D2200CC8 for ; Fri, 14 Jul 2017 20:30:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4F91616E26F; Fri, 14 Jul 2017 18:30:55 +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 6FC2616E26C for ; Fri, 14 Jul 2017 20:30:54 +0200 (CEST) Received: (qmail 88286 invoked by uid 500); 14 Jul 2017 18:30:53 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 88275 invoked by uid 99); 14 Jul 2017 18:30:53 -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, 14 Jul 2017 18:30:53 +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 D77EB1806D2 for ; Fri, 14 Jul 2017 18:30:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.208 X-Spam-Level: X-Spam-Status: No, score=0.208 tagged_above=-999 required=6.31 tests=[FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=disabled 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 GX7XKeeI5-Mn for ; Fri, 14 Jul 2017 18:30:51 +0000 (UTC) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-oln040092065015.outbound.protection.outlook.com [40.92.65.15]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A681F5F613 for ; Fri, 14 Jul 2017 18:30:50 +0000 (UTC) Received: from HE1EUR01FT007.eop-EUR01.prod.protection.outlook.com (10.152.0.52) by HE1EUR01HT091.eop-EUR01.prod.protection.outlook.com (10.152.0.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1240.9; Fri, 14 Jul 2017 18:30:49 +0000 Received: from VI1PR0901MB0893.eurprd09.prod.outlook.com (10.152.0.58) by HE1EUR01FT007.mail.protection.outlook.com (10.152.1.243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.9 via Frontend Transport; Fri, 14 Jul 2017 18:30:49 +0000 Received: from VI1PR0901MB0893.eurprd09.prod.outlook.com ([fe80::91c5:438c:8a88:bbc6]) by VI1PR0901MB0893.eurprd09.prod.outlook.com ([fe80::91c5:438c:8a88:bbc6%14]) with mapi id 15.01.1261.017; Fri, 14 Jul 2017 18:30:49 +0000 From: Adel Boutros To: "users@qpid.apache.org " Subject: Re: Reactor receiver stuck when transport is broken Thread-Topic: Reactor receiver stuck when transport is broken Thread-Index: AQHS+dn125vIP9yMTEmX4UqOt86MFqJTi82pgAAcd40= Date: Fri, 14 Jul 2017 18:30:49 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: qpid.apache.org; dkim=none (message not signed) header.d=none;qpid.apache.org; dmarc=none action=none header.from=live.com; x-incomingtopheadermarker: OriginalChecksum:BE9179698CF9E311FCBAE0E3CAEE765F89B9A76E1542808F06D567914B0FE8B5;UpperCasedChecksum:945B729994AF1751F11B74124BE74D5F49050AEDEB5E33B6BA46644A3183CADD;SizeAsReceived:7385;Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [rZ27Em5j8rMx3KzXd6ugb10ncYpzzopv] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HE1EUR01HT091;7:ChfPFsQcPUInCDbt9l6mDt++rEaNeN3e/IFgal9R/3be+ShJKaHwWxJfovGEoFqA8TVdKDusTL6EZJrV7rEUqd/wT5yHRzzVA828pDD7s+2j3RCOjiBdYS0cNXW4jz/eroqA69EXtGRwiJIACJAlG4mN2bqYOPITIgQgZw6xh1lhsI7gU7fWkT3z46WO1Rjfp0HTZdw3aQIMs7TE/1Z4QypUWXTiX5hgeIXnA73+jPv3fCxKzaW/Ml7OMNK0/l0dlnAIlgqWSejuOmyQlvb/d1UKdXxRO59ajoXFrbwi+dNHSdTd0WstRQegZBrhvGttLJPuc+9lUzjvdsre2HdjcjhxuD87gTYa36FPTgBvejYqg29lUqD675YMKKBBxkUlD+0oKM5AoCWj70Nda8wB44pMAuH49LtfwNLflmgDX7MdfWHPP5UDqdnwKw0xLEPg12Zzs4JjliZedQLP/FRvoaB6kaOoVxMYeLHJevoc28xC7ZuSwEAJPTXDISD80FU5GlUt7CImB/mToiqar5NhXabGYiaFJmhTk8EyUPlhjvOyPMH4JUzg/RGJfhotwmUOAMMOEELpjoHSztjPHJEYa1uH8x5+l/0BI8ow3Rx6/WGH3Bwo6Ie5cJ11ikOgzZq1AA4c7sVjwYBO4BM88pCZYqtdr8sSytPjm2NEiMvzVp13nNDRfYlmMIiDzTXMM41ExuP4M3Xp3Q6G/2NbEPU1xeY+ynDhLsWUN4fnN8pIrnL5LNlNZHDYtV1Vqvf/c857gZZpWCp8YW41a0Hah1Ps/g== x-incomingheadercount: 45 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:HE1EUR01HT091;H:VI1PR0901MB0893.eurprd09.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: 819e2a3e-d4ff-4000-082f-08d4cae67394 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1603101448)(1601125374)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:HE1EUR01HT091; x-ms-traffictypediagnostic: HE1EUR01HT091: x-exchange-antispam-report-test: UriScan:(43050042349365)(156600954879566)(236129657087228)(37052965297144)(90097320859284)(48057245064654)(25034144782879)(225559137633274)(50300203121483)(247924648384137); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031);SRVR:HE1EUR01HT091;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:HE1EUR01HT091; x-forefront-prvs: 0368E78B5B spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_VI1PR0901MB0893C01265E776019914A4F0CDAD0VI1PR0901MB0893_" MIME-Version: 1.0 X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jul 2017 18:30:49.5827 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT091 archived-at: Fri, 14 Jul 2017 18:30:55 -0000 --_000_VI1PR0901MB0893C01265E776019914A4F0CDAD0VI1PR0901MB0893_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hello, I imagine you are talking about Qpid Proton's reactor? If that is the case, have you implemented the "onError" as well? Some error= s go there. Also, the reactor will always be running until you close the connection in = one of the callbacks; are you doing so? void on_transport_error(proton::transport &t) { t.connection().close(); } Regards, Adel ________________________________ From: Garlapati Sreeram Kumar Sent: Friday, July 14, 2017 6:39 PM To: users@qpid.apache.org Subject: RE: Reactor receiver stuck when transport is broken Hello Folks! Any help is much appreciated=85. Sent from Mail for Window= s 10 [http://www.microsoft.com/en-us/outlook-com/img/Outlook_Facebook_Icon-2927f= 4df28.jpg] Check out Outlook.com =96 free, personal email from Microsoft. go.microsoft.com Find the right Outlook for you. Get the optimum email experience across all= your devices From: Garlapati Sreeram Kumar Sent: Monday, July 10, 2017 5:09 PM To: users@qpid.apache.org Subject: Reactor receiver stuck when transport is broken Hello folks! We have a client with 1 Connection with 1 ReceiveLink running in 1 Thread w= here it prints when ever onDelivery() handler is invoked. Receiver sends flow for every 100 messages and Connection IdleTimeout on th= e Service is 4 mins. In some cases where there are transport issues =96 we noticed that neither = onDelivery(event) nor onTransportError() are raised. The receiver is stuck forever. Even the idleTimeout empty frame is logged a= s written but, it is not detecting that the transport is broken. When we wo= rkarounded this stuck receiver with creating another brand-new receiveLink = on the same Connection =96 we then see onTransportError() event. Is anyone experiencing this issue? Do, I have to actually listen for any ot= her Transport events? Help is much appreciated=85 Thanks a lot for your Time! Sreeram Sent from Mail for Window= s 10 --_000_VI1PR0901MB0893C01265E776019914A4F0CDAD0VI1PR0901MB0893_--