stratux icon indicating copy to clipboard operation
stratux copied to clipboard

browser traffic page stops updating displaying old data, still shows as connected,

Open d-hoke opened this issue 6 years ago • 1 comments

  1. Stratux version: v1.4r4 (5af6d77)

  2. Stratux config:

    SDR

    • [ ] single
    • [x] dual

    GPS

    • [x] yes
    • [ ] no type:

    AHRS

    • [x] yes
    • [ ] no

    power source: battery, wall

    usb cable:

  3. EFB app and version: (e.g., WingX Pro7 8.6.2) Microsoft Edge browser , chrome browser

    EFB platform: (e.g., iOS 9.2) Edge on Win10, chrome on nexus android tablet, firefox on linux EFB hardware: (e.g., iPad Mini 2) udoox86, nexus tablet linux running on netbook

  4. Description of your issue: When the traffic page is left open in the web browser for some period of time (usually within 1/2 hour) it stops updating leaving old data on page. Age column stops updating, page still shows as 'connected', but changes are not being displayed in either of the 'valid' or the 'invalid' sections. Other applications connected via other means (netcat for instance) to other provider sockets are still receiving data. 'Refreshing' the page will cause updates to start again, with a 'disconnect' status briefly displaying before 'Connected' is again displayed and updates resume. So far, seems other pages continue updating (status, GPS/AHRS) when the traffic page stops updating.

If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://192.168.10.1/logs/stratux/ and http://192.168.10.1/logs/stratux.log.

d-hoke avatar Apr 03 '18 20:04 d-hoke

Appears (one way) this may be caused is by having network traffic back up too far.

Using a version of this (https://github.com/gorilla/websocket/blob/master/examples/echo/client.go) on linux from a terminal, ctrl-s'ing the appl 'long enough' and then after some (yet to be determined) time ctrl-q releasing it, after the buffered console outputs are caught up, there does not seem to be any further updating. (I've only just found this so haven't been able to play much with it, wanted to record as by next week I may have forgotten about it... :) ).

d-hoke avatar Apr 13 '18 19:04 d-hoke