com.sun.grizzly.websockets.HandshakeException: Null keys are not > allowed. at > com.sun.grizzly.websockets.SecKey.(SecKey.java:79) at > com.sun.grizzly.websockets.ServerHandShake.(ServerHandShake.java:68) at > com.sun.grizzly.websockets.ServerNetworkHandler.handshake(ServerNetworkHandler.java:95) > > at > com.sun.grizzly.websockets.WebSocketEngine.upgrade(WebSocketEngine.java:136) > > at > com.sun.grizzly.websockets.WebSocketAsyncFilter.doFilter(WebSocketAsyncFilter.java:52) > > at > com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:171) > > at > com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:143) > > at > com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:94) >

Oracle Community | abhijitaitwade | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Websocket connection not establishing in glasshfish server. How to fix it?

    Oracle Community | 5 years ago | abhijitaitwade
    com.sun.grizzly.websockets.HandshakeException: Null keys are not > allowed. at > com.sun.grizzly.websockets.SecKey.(SecKey.java:79) at > com.sun.grizzly.websockets.ServerHandShake.(ServerHandShake.java:68) at > com.sun.grizzly.websockets.ServerNetworkHandler.handshake(ServerNetworkHandler.java:95) > > at > com.sun.grizzly.websockets.WebSocketEngine.upgrade(WebSocketEngine.java:136) > > at > com.sun.grizzly.websockets.WebSocketAsyncFilter.doFilter(WebSocketAsyncFilter.java:52) > > at > com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:171) > > at > com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:143) > > at > com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:94) >

    Root Cause Analysis

    1. com.sun.grizzly.websockets.HandshakeException

      Null keys are not > allowed. at > com.sun.grizzly.websockets.SecKey.(SecKey.java:79) at > com.sun.grizzly.websockets.ServerHandShake.(ServerHandShake.java:68) at > com.sun.grizzly.websockets.ServerNetworkHandler.handshake(ServerNetworkHandler.java:95) > > at > com.sun.grizzly.websockets.WebSocketEngine.upgrade(WebSocketEngine.java:136) > > at > com.sun.grizzly.websockets.WebSocketAsyncFilter.doFilter(WebSocketAsyncFilter.java:52) > > at > com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:171) > > at > com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:143) > > at > com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:94) >

      at com.sun.grizzly.http.TaskBase.run()
    2. Grizzly WS
      TaskBase.run
      1. com.sun.grizzly.http.TaskBase.run(TaskBase.java:193)
      1 frame