Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Traffic Graphs Broken in 2.4.0.b.20170512.1940?

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    41 Posts 13 Posters 9.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      azmike
      last edited by

      @Steve_B:

      Compatibility issue between d3.js and d3pie.js :(

      Change reverted

      Just updated to " built on Mon May 15 07:27:41 CDT 2017 ".  Should I see traffic graphs again?  I still see a blank widget and Traffic Graphs aren't listed under "Available Widgets" on the dashboard.

      1 Reply Last reply Reply Quote 0
      • T
        tadaog
        last edited by

        pfBlockerNB widget doesn't update download errors frame and it evens doesn't allow to remove the widget to reinstall it again to try to resolve the issue!

        1 Reply Last reply Reply Quote 0
        • P
          PiBa
          last edited by

          @Steve_B:

          Change reverted

          Forgot to revert it on 'master' branch? I do see its reverted on 2_3 branch (https://github.com/pfsense/pfsense/commit/2684f8d536501177839de9072a5006c1394ef09a)

          1 Reply Last reply Reply Quote 0
          • P
            Peen
            last edited by

            Back to working with 2.4.0.b.20170516.1310

            1 Reply Last reply Reply Quote 0
            • N
              neilgreene
              last edited by

              Working for me as well.

              1 Reply Last reply Reply Quote 0
              • M
                maverick_slo
                last edited by

                It`s working here as well but…
                See attached screen.
                Why on LAN traffic is doubled?

                Capture.PNG
                Capture.PNG_thumb

                1 Reply Last reply Reply Quote 0
                • X
                  xpxp2002
                  last edited by

                  Updated to 2.4.0.b.20170520.1905, but traffic graph is still blank. Is there another step needed to fix?

                  1 Reply Last reply Reply Quote 0
                  • P
                    pfBasic Banned
                    last edited by

                    hmmmm, I'm on that version as well and traffic graphs are working fine for me.

                    1 Reply Last reply Reply Quote 0
                    • P
                      PiBa
                      last edited by

                      Clear browser cache? Ctrl+F5 ?

                      1 Reply Last reply Reply Quote 0
                      • X
                        xpxp2002
                        last edited by

                        @PiBa:

                        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.

                        1 Reply Last reply Reply Quote 0
                        • S
                          shimano
                          last edited by

                          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 ? :(

                          a.JPG
                          a.JPG_thumb

                          1 Reply Last reply Reply Quote 0
                          • P
                            PiBa
                            last edited by

                            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?

                            1 Reply Last reply Reply Quote 0
                            • S
                              shimano
                              last edited by

                              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 :(

                              1 Reply Last reply Reply Quote 0
                              • P
                                PiBa
                                last edited by

                                Is the request for ifstats.php send by the timer in the browser? What interfaces are requested? And what does it return?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  shimano
                                  last edited by

                                  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.

                                  a.JPG
                                  a.JPG_thumb

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    PiBa
                                    last edited by

                                    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)

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      shimano
                                      last edited by

                                      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.

                                      a.JPG
                                      a.JPG_thumb

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        PiBa
                                        last edited by

                                        @shimano:

                                        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..

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          shimano
                                          last edited by

                                          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>
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            PiBa
                                            last edited by

                                            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..

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.