Sebastien B. created ZEPPELIN-5947: -------------------------------------- Summary: Increasing WebSocket idle connections timeout Key: ZEPPELIN-5947 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5947 Project: Zeppelin Issue Type: Bug Components: conf, GUI, zeppelin-server, zeppelin-web Affects Versions: 0.10.1 Reporter: Sebastien B.
Hi, after 5 minutes of inactivity, WebSocket connections get disconnected. Is it possible to increase this timeout? To reproduce: # Run a Docker container: {code:java} docker run --rm -p 8080:8080 apache/zeppelin:0.10.1{code} # Open a WebSocket connection: {code:java} wscat -c 'ws://localhost:8080/ws' {code} # Do nothing for 5 minutes. This error appears: {code:java} Disconnected (code: 1001, reason: "java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms"){code} 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)