PX4 / flight_review

web application for flight log analysis & review
https://logs.px4.io/
BSD 3-Clause "New" or "Revised" License
202 stars 195 forks source link

Problem: Graph functions does not work after some times pass #101

Closed bigbellmercy closed 6 years ago

bigbellmercy commented 6 years ago

Problem: Since all functions of graphs (zoom, pan and etc.) works well in the beginning, after some time passes, those functions does not work for all the graphs. In this status, the buttons are pushed, flight modes are displayed when hovered on graphs and rubber band appears but they does not work.

Workaround: If the web page reloaded by web browser refresh function, all works well again.

Environment: Windows 7 service pack 1, Chrome v. 65.0.3325.181 (official build) (32 bit)

The issue #99 seems to be related this issue.

bkueng commented 6 years ago

This is either a problem with the internet connection (maybe on your side?), or a problem in the bokeh library that flight review uses. In either case there is not much I can do in flight review.

It could also be that the browser closes the connection due to inactivity, but bokeh has a keep-alive option, set to 37 seconds by default. What I can try is reducing this. Does it happen after more than 37 seconds?

bigbellmercy commented 6 years ago

Yes, it happens more than 37 seconds. The time seems to be several minutes or a few tens of minutes. Currently refreshing workaround is likely the solution.

bkueng commented 6 years ago

Ok then changing the keep-alive option will not help. Yes, refreshing is the best work-around. Sorry, I don't have a better solution. Closing this, but should it be a persistent problem to other users as well, we need to revisit.

bigbellmercy commented 6 years ago

Good!