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.
    • C
      cozkramer
      last edited by

      @Steve_B:

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

      Change reverted

      Thanks Steve for reverting it, I miss my stats!

      Looking at the changelog for d3pie, it seems the last version that supports d3 v3.x is 0.1.9, and he also changed a method in 0.1.7 that could break things.  Seems sticking to 0.1.6 is best until d3 is updated to v4.  If d3 is already v4, then the method he changed in 0.1.7 should be looked at I would think.

      I'm also curious as to how d3pie is used for dashboard stats, it's use would seem for the pie charts in the graphing areas, not the non-pie graphs.  I'm just curious here, that's all.

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

        Besides d3 and d3pie, traffic graphs also use nvd3.

        https://github.com/novus/nvd3

        Do we support D3 v4.x?
        No, we do not...
        
        1 Reply Last reply Reply Quote 0
        • C
          cozkramer
          last edited by

          Well, that settles that than…

          I'm glad I wasn't the one who wanted this to start with, I'd have even less friends..  :o

          1 Reply Last reply Reply Quote 0
          • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.