Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1298

Invalid ticket error fills up zeppelin log when anoymous access is false

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.6.1, 0.7.0
    • Component/s: zeppelin-server
    • Labels:
      None

      Description

      When Shiro is enable follow instructions in here, if I just open the home page but don't login, I see the following ERROR message keep show up periodically (every 10s) in zeppelin log, which could potentially fill up this log file with this same error and make it really hard to trace the real error message.

      ERROR [2016-08-03 16:34:09,471] ({qtp636329330-37} NotebookServer.java[onMessage]:211) - Can't handle message
      java.lang.Exception: Invalid ticket  != 5d56af6b-a49c-4dc1-9723-abf47876c389
      	at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:117)
      	at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:56)
      	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:128)
      	at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(SimpleTextMessage.java:69)
      	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:65)
      	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextFrame(JettyListenerEventDriver.java:122)
      	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:161)
      	at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:309)
      	at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:214)
      	at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
      	at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)
      	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:632)
      	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:480)
      	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      	at java.lang.Thread.run(Thread.java:745)
      

      After I login, this message stop show up.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                khalidhnv Khalid Huseynov
                Reporter:
                weipuz Weipu Zhao
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: