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) >>

Oracle Community | abhijitaitwade | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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) >>

    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()
    2. Grizzly WS
      TaskBase.run
      1. com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:94)
      2. com.sun.grizzly.http.TaskBase.run(TaskBase.java:193)
      2 frames