Traffic Graphs Broken in 2.4.0.b.20170512.1940?
-
Back to working with 2.4.0.b.20170516.1310
-
Working for me as well.
-
It`s working here as well but…
See attached screen.
Why on LAN traffic is doubled?
-
Updated to 2.4.0.b.20170520.1905, but traffic graph is still blank. Is there another step needed to fix?
-
hmmmm, I'm on that version as well and traffic graphs are working fine for me.
-
Clear browser cache? Ctrl+F5 ?
-
Clear browser cache? Ctrl+F5 ?
Thanks, that worked. Didn't think about it since I tried two different browsers, one of which hasn't been used to access pfSense in a long time. Figured cache would've expired or been cleared by now.
-
This issue still persists, i have 2.4.2 and Traffic Graph is blank and Retrieving CPU data wheel is spinning forever.
Is there any fix for this ? :(
-
There is no fix as there isn't anything reproducible broken (that i know of anyhow).
You will have to investigate a bit more to find why it is not working on your machine. Check browser developer network tab are there any javascript errors? Do requests for ifstat.php get a valid reply? Did already try to clear browser cache right?
-
I did clear browser cache, no java errors, tried on 3 different computers, tried on my iphone, macbook pro, windows pc, linux laptop, tired in incognito i don't think its a browser problem :(
-
Is the request for ifstats.php send by the timer in the browser? What interfaces are requested? And what does it return?
-
Can you help me identify this ifstat.php request ? where should i look for it ? in this scenarie no widget would refresh, i cannot move any widget or close any widget, only way to make things work again si to ingo Traffic Graphs config, and remove all the interfaces from being shown there, then everything starts to work again and Traffic Graphs is hidden.
-
In chrome you would press F12, then on network tab you could filter on the name ifstats and a new requests would show there. Possibly refresh the page with F5 to be sure everything gets shown.. Click one of those ifstats requests and you will be able to view the headers of the send request and also the response, make sure it looks valid from begin with a { until the end }.
![2018-01-30 00_26_29-pfSense.png](/public/imported_attachments/1/2018-01-30 00_26_29-pfSense.png)
![2018-01-30 00_26_29-pfSense.png_thumb](/public/imported_attachments/1/2018-01-30 00_26_29-pfSense.png_thumb) -
Thank you very much for your help ! i did like you told me and there seems to be no response at all from ifstats, please check out the image.
Let me know what you think.
-
no java errors
Perhaps no java error..
But your screenshot shows at the bottom some 'red' text in the 'console' tab, that surely looks like a Javascript error ;). (p.s. Java is not related to Javascript..)Can you copy that text in full into a code # block here on the forum? It might help tell whats going on..
-
Sure thing ! that is what i noticed that are some errors there and why i did capture them in in the screenshot, here they are in all their glory !
Uncaught SyntaxError: Invalid or unexpected token traffic-graphs.js?v=1510914901:162 Uncaught ReferenceError: nv is not defined at String. <anonymous>(traffic-graphs.js?v=1510914901:162) at Function.each (jquery-1.12.0.min.js?v=1510914902:2) at draw_graph (traffic-graphs.js?v=1510914901:141) at graph_init (traffic-graphs.js?v=1510914901:59) at (index):1120 at HTMLDocument. <anonymous>(pfSense.js?v=1513000593:261) at i (jquery-1.12.0.min.js?v=1510914902:2) at Object.fireWith [as resolveWith] (jquery-1.12.0.min.js?v=1510914902:2) at Function.ready (jquery-1.12.0.min.js?v=1510914902:2) at HTMLDocument.K (jquery-1.12.0.min.js?v=1510914902:2)</anonymous></anonymous>
-
Is it possible to click on the "Uncaught SyntaxError: Invalid or unexpected token" line? Does it show some other file/script where that syntax error is present.?
The second error where 'nv' is not defined is probably caused by the first syntax error skipping parts of code that is available..
-
No, i can only click on nv.d3.js:9656 right next to invalid or unexpected token and is shows this.
-
Any ideas what i should do so i can have a working traffic graph ?
-
What does line 9656 of that file look like?
And a bit around it.