JFYI
https://issues.apache.org/jira/browse/INFRA-17691

On Tue, 18 Dec 2018 at 15:31, Maxim Solodovnik <[email protected]> wrote:

> Hello Martin,
>
> Just have re-tested without 'www' (and ensured correct Apache2 config is
> "in charge")
> Adding
>        RewriteEngine On
>        RewriteCond %%{}{HTTP:Connection} Upgrade [NC]
>        RewriteCond %%{}{HTTP:Upgrade} websocket [NC]
>        RewriteRule /(.*) ws://localhost:8088/$1 [P,L]
>        RedirectMatch ^/$ http://examples8x.wicket.apache.org
>        ProxyPreserveHost On
>
> doesn't help :(
>
> Maybe the issue is caused by the fact OM VM is configured as follows:
> 1) global rewrite engine is configured [1]
> 2) proxy pass is configured for specific location [2]
>
> I'm not sure :(
>
> [1]
> https://github.com/apache/infrastructure-puppet/blob/13524566d230dd9db18fdeb244fb6703d9dc214d/data/nodes/openmeetings-vm2.apache.org.yaml#L71
> [2]
> https://github.com/apache/infrastructure-puppet/blob/13524566d230dd9db18fdeb244fb6703d9dc214d/data/nodes/openmeetings-vm2.apache.org.yaml#L79
>
>
> On Mon, 17 Dec 2018 at 13:08, Maxim Solodovnik <[email protected]>
> wrote:
>
>> Hello Martin,
>>
>> yes I have copied config from OM VM, and modified it to fit examples8x
>> Will double check if it work without `www`
>>
>> Testing is not easy due to puppet reverts manual changes :(
>> Will report back here
>>
>>
>> On Mon, 17 Dec 2018 at 13:03, Martin Grigorov <[email protected]>
>> wrote:
>>
>>> Maxim,
>>>
>>> I guess you have access to Openmeetings' VM and you have copied this
>>> config
>>> from there ?
>>> One thing that I notice in your snippet is that you have 'www.' in the
>>> DNS
>>> name which should not be there.
>>>
>>> On Mon, Dec 10, 2018 at 10:50 AM Maxim Solodovnik <[email protected]>
>>> wrote:
>>>
>>> > Hello All,
>>> >
>>> > current Apache config does not proxy websockets for 8.x examples
>>> > I was unable to make it work by adding
>>> >        RewriteEngine On
>>> >        RewriteCond %%{}{HTTP:Connection} Upgrade [NC]
>>> >        RewriteCond %%{}{HTTP:Upgrade} websocket [NC]
>>> >        RewriteRule /(.*) ws://localhost:8088/$1 [P,L]
>>> >        RedirectMatch ^/$ http://www.examples8x.wicket.apache.org
>>> >        ProxyPreserveHost On
>>> >
>>> > Maybe someone else knows how this should be set up?
>>> > If not I'll ask help from INFRA
>>> >
>>> > On Thu, 29 Nov 2018 at 15:31, Maxim Solodovnik <[email protected]>
>>> > wrote:
>>> >
>>> > > Hello All,
>>> > >
>>> > > I was able to restart wicket8-examples and no it seems to accessible
>>> > > WebSockets doesn't work
>>> > > I'm going to fix it later today/tomorrow, please write here if you
>>> will
>>> > > handle it earlier to avoid double efforts :)
>>> > >
>>> > > --
>>> > > WBR
>>> > > Maxim aka solomax
>>> > >
>>> >
>>> >
>>> > --
>>> > WBR
>>> > Maxim aka solomax
>>> >
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
> --
> WBR
> Maxim aka solomax
>


-- 
WBR
Maxim aka solomax

Reply via email to