I use Bokeh to create live dashboards for the company - I have a backend script that pulls data from GA every 24hr and this is read by a Bokeh script that then plots the data.
Unfortunately, the WebSocket connection now closes in under 24hr… as such, it requires that I refresh the web browser in order for the new data points to be correctly displayed. I had been using Tornado v 4.3 which reduced the amount of time this error (I guess it’s not technically an error?) displayed - the dashboards were typically running for 4-5 days before the WebSocket connection was closing. However, this seemed to stop working and I updated Tornado to 4.5.3 and now this error appears to display in less than 24hours.
Has anyone come across a solution to this (that doesn’t require me refreshing the web page periodically?)
The libraries and versions are as follows:
The exact message shown in terminal is ‘WebSocket connection closed: code=None, reason=None’
Thanks in advance