[undertow-dev] Proxying WebSockets

Hicks, Matt matt at matthicks.com
Fri Jun 3 11:01:22 EDT 2016


Hi Stuart, any updates on this?  Sorry to pester, I'm just hoping to use
Undertow for a project I'm working on, but it's contingent on being able to
proxy websockets.

On Wed, May 25, 2016 at 9:39 AM Stuart Douglas <sdouglas at redhat.com> wrote:

> I am traveling and in meetings all week, I will look into it next week.
>
> Stuart
>
> On Wed, May 25, 2016 at 3:54 PM, Hicks, Matt <matt at matthicks.com> wrote:
>
>> Stuart, is there anything else you need from me to look into this further?
>>
>> On Mon, May 23, 2016 at 11:29 AM Hicks, Matt <matt at matthicks.com> wrote:
>>
>>> Yes, I do. You can run the example code and it runs against
>>> hyperscala.org.  If you go to
>>> http://hyperscala.org/example/realtime/chat.html or
>>> http://localhost:8080/example/realtime/chat.html you can test the Chat
>>> example that uses WebSockets.  If you connect directly it works fine, if
>>> you connect via the Proxy it doesn't.
>>>
>>> On Mon, May 23, 2016, 11:17 AM Stuart Douglas <sdouglas at redhat.com>
>>> wrote:
>>>
>>>> Do you have a reproduce I can run (complete with JS etc so I can see
>>>> exactly what is going on)?
>>>>
>>>> Stuart
>>>>
>>>> On Mon, May 23, 2016 at 3:24 PM, Hicks, Matt <matt at matthicks.com>
>>>> wrote:
>>>>
>>>>> Stuart, I created a ticket with all the information I know to provide:
>>>>>
>>>>>
>>>>> [UNDERTOW-714] Broken WebSocket Proxying Support - JBoss Issue Tracker
>>>>> <https://issues.jboss.org/browse/UNDERTOW-714?_sscc=t>
>>>>> I have been attempting to write a test proxy server to proxy
>>>>> explicitly to another server.
>>>>> <https://issues.jboss.org/browse/UNDERTOW-714?_sscc=t>
>>>>> issues.jboss.org
>>>>> <https://issues.jboss.org/browse/UNDERTOW-714?_sscc=t> [image: Mixmax]
>>>>> <https://mixmax.com/r/rExsBBgirNC89QPSv>
>>>>>
>>>>>
>>>>> I'm not positive which side is closing the connection, but looking at
>>>>> the JavaScript console it's showing the connection is being closed almost
>>>>> immediately after any message is sent from the browser to the server.
>>>>>
>>>>> On Mon, May 23, 2016 at 2:48 AM Stuart Douglas <sdouglas at redhat.com>
>>>>> wrote:
>>>>>
>>>>>> When you say it does not work exactly what behaviour are you seeing?
>>>>>> Does the connection get established? If it gets established and then fails
>>>>>> which side drops the connection?
>>>>>>
>>>>>> We have extensive tests for this in the test suite, as web socket
>>>>>> tests are run through the proxy server, we need more info to see why it is
>>>>>> not working for you.
>>>>>>
>>>>>> Stuart
>>>>>>
>>>>>> On Fri, May 20, 2016 at 1:18 AM, Hicks, Matt <matt at matthicks.com>
>>>>>> wrote:
>>>>>>
>>>>>>> I did some additional testing with 2.0.0.Alpha1 and got the exact
>>>>>>> same results.  If there is some way to accomplish proper proxying with
>>>>>>> Undertow I'm not seeing it.
>>>>>>>
>>>>>>> Should I file a bug report?
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> undertow-dev mailing list
>>>>>>> undertow-dev at lists.jboss.org
>>>>>>> https://lists.jboss.org/mailman/listinfo/undertow-dev
>>>>>>>
>>>>>>
>>>>>>
>>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20160603/54335621/attachment.html 


More information about the undertow-dev mailing list