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

Increasing WebSocket idle connections timeout

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 0.10.1
    • None
    • None

    Description

      Hi, after 5 minutes of inactivity, WebSocket connections get disconnected. Is it possible to increase this timeout?

      To reproduce:

      1. Run a Docker container: 
        docker run --rm -p 8080:8080 apache/zeppelin:0.10.1
      1. Open a WebSocket connection:
        wscat -c 'ws://localhost:8080/ws' 
      1. Do nothing for 5 minutes.

      This error appears:

      Disconnected (code: 1001, reason: "java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms")

      The same behavior can be observed with the UI. If I stop working for more than 5 minutes on my notebook, but I keep it open in my browser, it refreshes and I lose my outputs.

      Some kind of keepalive mechanism would actually be ideal, instead of increasing the timeout. What do you think?

      Thank you.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            sbonami Sebastien B.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment