-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bokeh raises Token is Expired exception #231
Comments
Can you check if there's a timeout we can increase? |
Here are relevant links which help me solved the issue: I had to increase the DEFAULT_SESSION_TOKEN_EXPIRATION global variable which is used for the parameter I dont see a way how to increase this parameter from flight review without extending bokeh to provide access to this variable from the bokeh.server.server object (Server)which is called from the |
It looks like you can just pass it in: diff --git a/app/serve.py b/app/serve.py
index 0abc47f..6e8293d 100755
--- a/app/serve.py
+++ b/app/serve.py
@@ -95,6 +95,7 @@ server_kwargs['websocket_max_message_size'] = 100 * 1024 * 1024
# increase the maximum upload size (default is 100MB)
server_kwargs['http_server_kwargs'] = {'max_buffer_size': 300 * 1024 * 1024}
+server_kwargs['session_token_expiration'] = 300
show_ulog_file = False |
Interesting, I thought I tried that, and it didn't work. Will inspect and report. |
Did it work? |
For logs which are large, and takes time to fully load the webapp results in Bokeh throwing "Token is expired" exception. This occurs when I run the webapp locally and launch it using the
./serve -f /path/to/ulog.ulg
The console output is the following:
The program than just waits here indefinitely with the web application waiting on "Loading Plots"
The text was updated successfully, but these errors were encountered: