Ansuel / tch-nginx-gui

Modified file to apply to a stock technicolor GUI
GNU General Public License v3.0
344 stars 52 forks source link

Traffic Monitor in Telstra GUI not working #244

Closed FrancYescO closed 5 years ago

FrancYescO commented 5 years ago

Device Model: DGA4132 1.2.0 / TG789 UNO 17.2 Gui Version: 8.8.37

Description of problem: Traffic Monitor in Telstra GUI (Services>Traffic Monitor) is not working it just show a blank page

Tue Oct  2 01:18:46 2018 daemon.err nginx: 2018/10/02 01:18:46 [error] 796#0: *31 attempt to set status 500 via ngx.exit after sending out the response status 200, client: 192.168.1.77, server: localhost, request: "GET /telstra-modals/traffic.lp?iface=wl0 HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/telstra-modals/dyndns.lp"
Tue Oct  2 01:18:46 2018 daemon.err nginx: 2018/10/02 01:18:46 [error] 796#0: *31 open() "/www/docroot/js/graphic-min.js" failed (2: No such file or directory), client: 192.168.1.77, server: localhost, request: "GET /js/graphic-min.js HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/telstra-modals/traffic.lp?iface=wl0"
Tue Oct  2 01:18:46 2018 daemon.err nginx: 2018/10/02 01:18:46 [error] 796#0: *31 open() "/www/docroot/js/graphic-min.js" failed (2: No such file or directory), client: 192.168.1.77, server: localhost, request: "GET /js/graphic-min.js HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/telstra-modals/traffic.lp?iface=wl0"
kevdagoat commented 5 years ago

Looks like the script that it is referring to doesn’t exist.

On 2 Oct 2018, at 7:19 am, Francesco M notifications@github.com wrote:

NB: Before submitting an issue, check if there is one already open that suits the problem you are having!

Device Model: DGA4132 1.2.0 / TG789 UNO 17.2 Gui Version: 8.8.37

Description of problem: Traffic Monitor in Telstra GUI (Services>Traffic Monitor) is not working it just show a blank page

Tue Oct 2 01:18:46 2018 daemon.err nginx: 2018/10/02 01:18:46 [error] 796#0: 31 attempt to set status 500 via ngx.exit after sending out the response status 200, client: 192.168.1.77, server: localhost, request: "GET /telstra-modals/traffic.lp?iface=wl0 HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/telstra-modals/dyndns.lp" Tue Oct 2 01:18:46 2018 daemon.err nginx: 2018/10/02 01:18:46 [error] 796#0: 31 open() "/www/docroot/js/graphic-min.js" failed (2: No such file or directory), client: 192.168.1.77, server: localhost, request: "GET /js/graphic-min.js HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/telstra-modals/traffic.lp?iface=wl0" Tue Oct 2 01:18:46 2018 daemon.err nginx: 2018/10/02 01:18:46 [error] 796#0: *31 open() "/www/docroot/js/graphic-min.js" failed (2: No such file or directory), client: 192.168.1.77, server: localhost, request: "GET /js/graphic-min.js HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/telstra-modals/traffic.lp?iface=wl0"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

FrancYescO commented 5 years ago

the missing graphic-min.js file is not the only issue, also after a restore the error 500 still here and the page shows half-empty so i would ask if on telstra firmwares this was working good

flywire commented 5 years ago

Duplicate to https://github.com/Ansuel/tch-nginx-gui/issues/107#issuecomment-418237460. Works in original Telstra gui but I'd just call the tch-nginx-gui version.

Better still use vnstat - https://github.com/Ansuel/tch-nginx-gui/issues/96.

FrancYescO commented 5 years ago

@flywire or @kevdagoat could you post here /root/trafficmon/ folder? seems is something related to the content of this dir...

flywire commented 5 years ago

@FrancYescO - Check PM I sent you on the Italian Forum a few weeks ago (unencrypted files).

FrancYescO commented 5 years ago

@flywire i have only the www dir this folder is under /root/

FrancYescO commented 5 years ago

Seems the folder is not present in the extracted rbi... could you check if is present runtime? probably some script will generate the content...

flywire commented 5 years ago

Traffic Monitor does not work on my system because it is screwed. I don't want to reflash it until I sort out https://github.com/Ansuel/tch-nginx-gui/issues/197 to reload vnstat after each reflash. I'll find another modem and check /root.

FrancYescO commented 5 years ago

if you have a script that enable vnstats for our gateway share it

flywire commented 5 years ago

https://drive.google.com/file/d/1BplnYw2rSlw6YF29EOr_UBRvOqAioSmn/view?usp=sharing

No Wan traffic and a little Lan traffic.

FrancYescO commented 5 years ago

the dir i was searching was not here.. probably is just a placeholder cannot understand how this traffic monitor is working...

flywire commented 5 years ago

Ansuel eliminated a few [duplicate] files when porting across and Traffic Monitor is really a duplicate of tch-nginx-gui modal.

Happy to give more support if there are features you want to extract.

FrancYescO commented 5 years ago

i just want that the GUI is fully working no matther that is a duplicate (all the Telstra GUI in my point of view is a useless duplicate :D )