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 0D80D200C72 for ; Fri, 12 May 2017 16:36:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0A764160BB8; Fri, 12 May 2017 14:36:51 +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 2890B160BA3 for ; Fri, 12 May 2017 16:36:50 +0200 (CEST) Received: (qmail 75409 invoked by uid 500); 12 May 2017 14:36:48 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 75399 invoked by uid 99); 12 May 2017 14:36:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2017 14:36:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6827EC8717 for ; Fri, 12 May 2017 14:36:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.38 X-Spam-Level: *** X-Spam-Status: No, score=3.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=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, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id WMWJSm-WAPYr for ; Fri, 12 May 2017 14:36:46 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1B2285F398 for ; Fri, 12 May 2017 14:36:46 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id u65so23384934wmu.1 for ; Fri, 12 May 2017 07:36:46 -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=QsEdIcHbEqZX0utuvPkq40kR8hvfUXNgx6u117kw5m4=; b=WTo73g1EBdFi8GWWGDGZXBkfN26sk+q8LQlslZoO82buNOz+D1Ti7dYuvb5F7HlJyj 8r7mzmYL6OLAYbK4YEZNMFP5elY2+qVW14k/Nbz5a4YeXgzzlPpUnZV176+5BoF5LWpI eEMbmSkK5ZAZL5yul54SNrVtxHBEnTkjQzzBkIJb1IpAYulSQr3RcL1FO88FpmweOCCs fhGBKMJq05K+wYFK1oSARiDTm7DpTN4nlAAH0redBm1Zg19pLzQPiXUErbg6j9GZMUa2 tHqZkg72dV92yfj9QJrZ/0Tr3iMPUVbBNgNgkEWV75wv0bLtzlp2kerypwA8KzoeBD2O SksQ== 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=QsEdIcHbEqZX0utuvPkq40kR8hvfUXNgx6u117kw5m4=; b=c/jdAraMk6v+7ctJW1l0VWOS3ab0Qv06PD2rbBammL8z9MQW2QHYGoxS1YUAv9ThwE KphdSO0Crj7zpKKWdp+sLjVqWaulE4b1hNSHH6jdjtoxMNbggur/TGnEybHeslYN+05X XOhHNhKNa+09h0Fcwuuyq2nYw0+KgpwZId4PoRtQ/mFXDuUBs+OPNGgjROLNztrj+9T/ cn4GxLcft66KyrND7RWNp+4p6xroe+zsQTr2/EQlIEq0RsBQUi2u0KgO7fbUvl1nyt/F MOuDDCV7d7KvEDAwXJh8LI9Hu0InFEKOa6Ch9xuC0vl/ZYSvF5u9cP26tabrjgUZ7iyY Tzsg== X-Gm-Message-State: AODbwcACPtV1leWhHWIMqs7Ch+99CxJL/AYv5hSSl1HC41w4YzAKaPAZ 9vSZlpQlxRLH0Cn8MKe+nY0oybFi2b3Y X-Received: by 10.80.146.71 with SMTP id j7mr3594934eda.17.1494599804946; Fri, 12 May 2017 07:36:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.154.194 with HTTP; Fri, 12 May 2017 07:36:24 -0700 (PDT) In-Reply-To: References: From: Daniel Date: Fri, 12 May 2017 16:36:24 +0200 Message-ID: To: "" Content-Type: multipart/alternative; boundary="f403045c0c527490a0054f54a2e1" Subject: Re: [users@httpd] Apache 2.4.25: Attempting to load balance websockets in conjunction with ProxyPassMatch archived-at: Fri, 12 May 2017 14:36:51 -0000 --f403045c0c527490a0054f54a2e1 Content-Type: text/plain; charset="UTF-8" Shouldn't this directive: "ProxyPassMatch ^/(.*\websocket)$ ws://10.x.x.x:80/$1" must be defined before "ProxyPass / http://..." for it to not be ignored ? 2017-05-12 15:34 GMT+02:00 Vinod Mulani : > In terms of intent, two application servers are load balanced by apache > which upgrade their http connection to ws connection when the requested url > has the string websocket towards the end of the url. > > I have attempted proxypassmatch for the upgrade and used the ROUTEID > session would forward the request to the appropriate application server. > > Based on the valuable inputs, it seems that the ws request url is > incomplete. > > > > On Fri, May 12, 2017 at 6:46 PM, Eric Covener wrote: > >> On Fri, May 12, 2017 at 9:10 AM, Vinod Mulani wrote: >> > Would there be any workaround to accomplish this type of task ? Would be >> > good to know. >> >> >> I can't really tell what the intent is. It probably belongs in the >> ProxyPassMatch 2nd parm as opposed to the balancer definition. >> >> -- >> Eric Covener >> covener@gmail.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> For additional commands, e-mail: users-help@httpd.apache.org >> >> > -- *Daniel Ferradal* IT Specialist email dferradal at gmail.com linkedin es.linkedin.com/in/danielferradal --f403045c0c527490a0054f54a2e1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Shouldn't this directive:
"ProxyPassMatch= ^/(.*\websocket)$ ws://10.x.x.x:80/$1"=C2=A0
must be defined before "ProxyPass / =C2=A0http://..." = for it to not be ignored ?

2017-05-12 15:34 GMT+02:00 Vinod Mulani = <vm390008@gmail.= com>:
In t= erms of intent, two application servers are load balanced by apache which u= pgrade their http connection to ws connection when the requested url has th= e string websocket towards the end of the url.=C2=A0

I h= ave attempted proxypassmatch for the upgrade and used the ROUTEID session w= ould forward the request to the appropriate application server.=C2=A0
<= br>
Based on the valuable inputs, it seems that the ws request ur= l is incomplete.=C2=A0



O= n Fri, May 12, 2017 at 6:46 PM, Eric Covener <covener@gmail.com> wrote:
On Fri, May 12, 2017 a= t 9:10 AM, Vinod Mulani <vm390008@gmail.com> wrote:
> Would there be any workaround to accomplish this type of task ? Would = be
> good to know.


I can't really tell what the intent is. It probably belongs in t= he
ProxyPassMatch 2nd parm as opposed to the balancer definition.




--
Daniel F= erradal
IT Specialist

=
<= div>email =C2=A0 =C2=A0 =C2=A0 =C2=A0 dferradal=C2=A0at gmail.com
--f403045c0c527490a0054f54a2e1--