Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1046

RSV Bit error in WebSocket server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 1.4.8.Final
    • Servlet
    • Hide

      Not easily reproducible

      Show
      Not easily reproducible
    • User Experience

    Description

      I have a WebSocket server running on Undertow, and I get a lot of reports of people who can't connect to them, with any browser.

      On the server logs, I see this error when they try to connect:


      1ERROR CONNECTION -Jrr1g9eD79ojJNCanngxqhnxvkQfk5tMFPwiy_X
      java.io.IOException: io.undertow.websockets.core.WebSocketFrameCorruptedException: UT002015: Extensions not allowed but received rsv of 4
      at io.undertow.websockets.core.WebSocketChannel.parseFrame(WebSocketChannel.java:174)
      at io.undertow.server.protocol.framed.AbstractFramedChannel.receive(AbstractFramedChannel.java:428)
      at io.undertow.websockets.core.AbstractReceiveListener.handleEvent(AbstractReceiveListener.java:38)
      at io.undertow.websockets.core.AbstractReceiveListener.handleEvent(AbstractReceiveListener.java:33)
      at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:932)
      at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:913)
      at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
      at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
      at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)
      Caused by: io.undertow.websockets.core.WebSocketFrameCorruptedException: UT002015: Extensions not allowed but received rsv of 4
      at io.undertow.websockets.core.protocol.version07.WebSocket07Channel$WebSocketFrameHeader.handle(WebSocket07Channel.java:255)
      at io.undertow.websockets.core.WebSocketChannel.parseFrame(WebSocketChannel.java:164)
      ... 10 more
      1CLOSE CONNECTION -Jrr1g9eD79ojJNCanngxqhnxvkQfk5tMFPwiy_X


      It doesn't happen to most people, but it does happen very frequently, and therefore a lot of users can't use my application.

      Is there anyway to make it ignore the RSV bit being set?

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            federicojm Federico Mouse (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: