☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

FileInput Error

Community Supportserver
Cosmidark
Cosmidark

I am creating a typical Bokeh server application that uses the FileInput() widget.

For small enough files, the callback works as expected. For a file around 32 Mb or so, the websocket disconnects before the call back is handled and the browser states the file was too big.

Is there a known technique in Bokeh to get around the problem?

⌁   Link to post
Bryan
Bryan

See bokeh serve --help. You may need to tweak these for your application:

--websocket-max-message-size BYTES
    Set the Tornado websocket_max_message_size value (default: 20MB)
--websocket-compression-level LEVEL
    Set the Tornado WebSocket compression_level
--websocket-compression-mem-level LEVEL
    Set the Tornado WebSocket compression mem_level
⌁   Link to post

End of archived discussion · Replies are disabled