Git Product home page Git Product logo

Comments (5)

bkueng avatar bkueng commented on May 27, 2024

Can you check if there's a timeout we can increase?

from flight_review.

henrykotze avatar henrykotze commented on May 27, 2024

Here are relevant links which help me solved the issue:
bokeh-server-2-0-0-session-expiration-duration
slow-response-protocol-exceptions-protocol-error-token-is-expired

I had to increase the DEFAULT_SESSION_TOKEN_EXPIRATION global variable which is used for the parameter session_token_expiration in the BokehTornado object. BokehTornado. Thus I increased the global variable in the bokeh/server/tornado.py file in my local user path.

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 serve.py file.

from flight_review.

bkueng avatar bkueng commented on May 27, 2024

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

from flight_review.

henrykotze avatar henrykotze commented on May 27, 2024

Interesting, I thought I tried that, and it didn't work. Will inspect and report.

from flight_review.

bkueng avatar bkueng commented on May 27, 2024

Did it work?

from flight_review.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.