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 E5997200C72 for ; Fri, 12 May 2017 14:52:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E4561160BB8; Fri, 12 May 2017 12:52:03 +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 103EF160BA3 for ; Fri, 12 May 2017 14:52:02 +0200 (CEST) Received: (qmail 98038 invoked by uid 500); 12 May 2017 12:52:01 -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 98023 invoked by uid 99); 12 May 2017 12:52:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2017 12:52:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3720CC0145 for ; Fri, 12 May 2017 12:52:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.929 X-Spam-Level: ** X-Spam-Status: No, score=2.929 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, 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: spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id nK5Zbo3scpq8 for ; Fri, 12 May 2017 12:51:59 +0000 (UTC) Received: from mail-qt0-f179.google.com (mail-qt0-f179.google.com [209.85.216.179]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 469CD5F202 for ; Fri, 12 May 2017 12:51:58 +0000 (UTC) Received: by mail-qt0-f179.google.com with SMTP id l7so4896772qte.1 for ; Fri, 12 May 2017 05:51:58 -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=s2efGjs7wJd1Zokxcp1ua0Cp5ehPFVbWj310vrmGfAY=; b=dlh1Hxjcw0VWzdR2Q8Wng2tWanVazeb0YJwJbyca435CvrfkiEMwHx59ntqJcoEL4i 7JU5s/AzkHqgxU8wodEhvRArPPGjItYQOaR4laWvnNv6HcSrSa0jpF/smsmc1EyXTpva MikvWnRSCEBfnjr6w83ENo2qeOpj5F+9WVlcrQCtz22opOP3c3RANGjzEMOxFjpFyjCM 6Kf6ysSFAKWiTLUtELIaaI4wUaq6xbWXZvLR3yUuhAtxIPYl6IdJ41rz/7xHcmdantj+ XphTZ2F1psHJl4vuOml3nvNcZlERDV8AhXiKMdJuf0E2gZNM7J1J0kmT3YY4+KTmmCx3 CLlA== 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=s2efGjs7wJd1Zokxcp1ua0Cp5ehPFVbWj310vrmGfAY=; b=MuEEqLkdPK+CXumNI6efZ03DOzGepskomr35u87uYUlr1FNGguYmofUISwT9TW/L3b 4XXADtObQzbRIwqUTTiJ7NHm7U8ZkajxGECfBEg/pnhDCT4ZqrHudPUxe0F/o5V3iCKb 8CmfLzTZ1P3eNfTKhS8A/YlqpOSrFPRV9PYA61lu4UHzQ5ywGPWwJUsmjjRU3D8D40k+ 2YIdRlyDipXt6zONBlSmuQ4WRMRfU6sTTLWvt5eNZMbxMrVkoW+07DELRWmwqcZlkxaK PmX3jt29lS1TfLg4DmEn6pwWCUY+388u7YUGWD0MMdjDqdLDFjhArPT2ifFGf1LK3I34 mikw== X-Gm-Message-State: AODbwcCYymTNhwAwe4iqwkUV1Nkf/XcSblk6SsN1wmymTzvSTeiHQ2VT RQYxe3Y8LpdxU/jIYobOg9AM2BycFDoO X-Received: by 10.237.34.199 with SMTP id q7mr3869395qtc.289.1494593517256; Fri, 12 May 2017 05:51:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.62.18 with HTTP; Fri, 12 May 2017 05:51:56 -0700 (PDT) In-Reply-To: References: From: Vinod Mulani Date: Fri, 12 May 2017 18:21:56 +0530 Message-ID: To: users@httpd.apache.org Content-Type: multipart/alternative; boundary="001a11394156ae081d054f532b27" Subject: Re: [users@httpd] Apache 2.4.25: Attempting to load balance websockets in conjunction with ProxyPassMatch archived-at: Fri, 12 May 2017 12:52:04 -0000 --001a11394156ae081d054f532b27 Content-Type: text/plain; charset="UTF-8" Eric, I would think so, since the direct request listed below goes well and the ws url (i think) would be incomplete without it. *ProxyPassMatch "^/(.*\websocket)$" "ws://10.x.x.x:80/$1"* *VM* On Fri, May 12, 2017 at 6:17 PM, Eric Covener wrote: > On Fri, May 12, 2017 at 8:45 AM, Vinod Mulani wrote: > > > > BalancerMember "ws://10.x.x.x:80/$1" loadfactor=50 route=node1 > ttl=1200 > >>smax=5 > > BalancerMember "ws://10.y.y.y:80/$1" loadfactor=50 route=node2 > ttl=1200 > >>smax=5 > > ProxySet stickysession=ROUTEID > > > > Does that $1 really work? > > > -- > Eric Covener > covener@gmail.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --001a11394156ae081d054f532b27 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Eric,=C2=A0

I would think so, since the= direct request listed below goes well and the ws url (i think) would be in= complete without it.=C2=A0

ProxyPassMatch "^/(.*\websocket)$" "ws://10.= x.x.x:80/$1"
=

VM=

O= n Fri, May 12, 2017 at 6:17 PM, Eric Covener <covener@gmail.com> wrote:
On Fri, May= 12, 2017 at 8:45 AM, Vinod Mulani <vm390008@gmail.com> wrote:
>=C2=A0 =C2=A0 <Proxy balancer://wsbalservers>
>=C2=A0 =C2=A0 BalancerMember=C2=A0 "ws://10.x.x.x:80/$1" load= factor=3D50 route=3Dnode1 ttl=3D1200
>>smax=3D5
>=C2=A0 =C2=A0 BalancerMember=C2=A0 "ws://10.y.y.y:80/$1" load= factor=3D50 route=3Dnode2 ttl=3D1200
>>smax=3D5
>=C2=A0 =C2=A0 ProxySet stickysession=3DROUTEID
>=C2=A0 =C2=A0 </Proxy>

Does that $1 really work?


--
Eric Covener
covener@gmail.com

-----------------------------------------------------------------= ----
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


--001a11394156ae081d054f532b27--