tyrus
  1. tyrus
  2. TYRUS-13

No error report reported if subprotocol not supported

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None

      Description

      An endpoint is created as:

      @WebSocketEndpoint(path="/endpoint", subprotocols="myProtocol")

      and the client initiates the connection as

      var websocket = new WebSocket(wsUri, "myProtocol2");

      The WebSocket on the client is correctly not initialized. But no error is thrown on the server-side to indicate what went wrong.

      The app is deployed on GlassFish build 57.

        Activity

        arungupta created issue -
        Martin Matula made changes -
        Field Original Value New Value
        Fix Version/s 1.0 [ 16078 ]
        Fix Version/s 1.0-backlog [ 16081 ]
        Pavel Bucek made changes -
        Assignee Pavel Bucek [ pavel_bucek ]
        Pavel Bucek made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Pavel Bucek made changes -
        Fix Version/s 1.x-backlog [ 16081 ]

          People

          • Assignee:
            Pavel Bucek
            Reporter:
            arungupta
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: