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

    Weird prob. after dash loads it immediately redirects to the WAN traffic graph

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    17 Posts 7 Posters 2.6k 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.
    • I
      iamzam
      last edited by

      I know this has to be something that I did but just in case it's not here goes:

      This started today, when I load the pfS dashboard it immediately redirects to the WAN graph at:
      https://pfs/graph.php?ifnum=wan&ifname=WAN&timeint=10&initdelay=2
      The graph is now the only thing on the page.

      This is on Firefox 45, which I just updated to today from 44.0.1 after the first time this happened.  I also checked the flash version which is the latest, 20.0.0.306
      The only firefox plugins I have are uBlock0 and uMatrix and it happens with and without those plugins enabled, or even installed.

      It doesn't happen on Chrome or Safari so I'm at a loss to what is causing it.

      The only way I can get to the dashboard is to disable flash plugin loading.

      It happens with any dashboard theme.  I tried pfSense/pfSense-BETA/pfSense-dark-BETA.  I do have 3 columns but it also happens when I set it back to two columns.  It also happens whether I check any of the beta items at the bottom of the General Setup tab.

      If anyone has an idea how I can debug this please let me know, I am at a loss..

      I tried to follow what was happening in the Firefox Dev tools but it looks just like it finishes loading the main page and immediately loads the graph.php url:

      
      16:04:00.300 GET https://pfs.dv.loc/ [HTTP/1.1 200 OK 246ms]
      16:04:00.577 GET https://pfs.dv.loc/bootstrap/css/pfSense.css [HTTP/1.1 200 OK 1ms]
      16:04:00.578 GET https://pfs.dv.loc/font-awesome/css/font-awesome.min.css [HTTP/1.1 200 OK 1ms]
      16:04:00.580 GET https://pfs.dv.loc/sortable/sortable-theme-bootstrap.css [HTTP/1.1 200 OK 1ms]
      16:04:00.582 GET https://pfs.dv.loc/csrf/csrf-magic.js [HTTP/1.1 200 OK 1ms]
      16:04:00.584 GET https://pfs.dv.loc/logo.png [HTTP/1.1 200 OK 1ms]
      16:04:00.586 GET https://pfs.dv.loc/widgets/javascript/cpu_graphs.js [HTTP/1.1 200 OK 1ms]
      16:04:00.588 GET https://pfs.dv.loc/widgets/javascript/ipsec.js [HTTP/1.1 200 OK 0ms]
      16:04:00.591 GET https://pfs.dv.loc/widgets/javascript/thermal_sensors.js [HTTP/1.1 200 OK 1ms]
      16:04:00.592 GET https://pfs.dv.loc/widgets/javascript/traffic_graph.js [HTTP/1.1 200 OK 1ms]
      16:04:00.594 GET https://pfs.dv.loc/jquery/jquery-1.12.0.min.js [HTTP/1.1 200 OK 5ms]
      16:04:00.595 GET https://pfs.dv.loc/jquery/jquery-ui-1.11.4.min.js [HTTP/1.1 200 OK 14ms]
      16:04:00.596 GET https://pfs.dv.loc/bootstrap/js/bootstrap.min.js [HTTP/1.1 200 OK 16ms]
      16:04:00.598 GET https://pfs.dv.loc/jquery/pfSense.js [HTTP/1.1 200 OK 12ms]
      16:04:00.599 GET https://pfs.dv.loc/jquery/pfSenseHelpers.js [HTTP/1.1 200 OK 11ms]
      16:04:00.600 GET https://pfs.dv.loc/sortable/sortable.js [HTTP/1.1 200 OK 12ms]
      16:04:00.618 GET https://pfs.dv.loc/bootstrap/css/bootstrap.min.css [HTTP/1.1 200 OK 3ms]
      16:04:00.620 GET https://pfs.dv.loc/bootstrap/fonts/roboto.css [HTTP/1.1 200 OK 2ms]
      16:04:01.277 reflow: 6.58ms function k, jquery-1.12.0.min.js line 3
      16:04:01.278 reflow: 6.9ms function k, jquery-1.12.0.min.js line 3
      16:04:01.279 reflow: 0.11ms function k, jquery-1.12.0.min.js line 3
      16:04:01.280 reflow: 0.1ms function k, jquery-1.12.0.min.js line 3
      16:04:01.281 reflow: 0.08ms function k, jquery-1.12.0.min.js line 3
      16:04:01.281 reflow: 0.34ms function k, jquery-1.12.0.min.js line 3
      16:04:01.282 reflow: 0.14ms function k, jquery-1.12.0.min.js line 3
      16:04:01.283 reflow: 0.21ms function .offset, jquery-1.12.0.min.js line 4
      16:04:01.284 reflow: 0.04ms function n.fn[d]/<, jquery-1.12.0.min.js line 5
      16:04:01.285 reflow: 0.51ms function n.fn[d]/<, jquery-1.12.0.min.js line 5
      16:04:01.285 reflow: 0.33ms
      16:04:00.888 GET https://pfs.dv.loc/graph.php [HTTP/1.1 200 OK 33ms]
      16:04:00.889 GET https://pfs.dv.loc/graph.php [HTTP/1.1 200 OK 64ms]
      16:04:00.891 GET https://pfs.dv.loc/graph.php [HTTP/1.1 200 OK 94ms]
      16:04:00.946 GET https://pfs.dv.loc/font-awesome/fonts/fontawesome-webfont.woff2 [HTTP/1.1 200 OK 4ms]
      16:04:01.289 reflow: 0.02ms function sortable.getNodeValue, sortable.js line 218
      16:04:01.289 reflow: 0.32ms function sortable.getNodeValue, sortable.js line 218
      16:04:01.175 POST XHR https://pfs.dv.loc/widgets/widgets/gateways.widget.php [HTTP/1.1 200 OK 33ms]
      16:04:01.209 GET https://pfs.dv.loc/bootstrap/css/pfSense.css [HTTP/1.1 200 OK 1ms]
      16:04:01.210 GET https://pfs.dv.loc/csrf/csrf-magic.js [HTTP/1.1 200 OK 1ms]
      16:04:01.212 GET https://pfs.dv.loc/jquery/jquery-1.12.0.min.js [HTTP/1.1 200 OK 7ms]
      16:04:01.214 GET https://pfs.dv.loc/jquery/jquery-ui-1.11.4.min.js [HTTP/1.1 200 OK 19ms]
      16:04:01.215 GET https://pfs.dv.loc/bootstrap/js/bootstrap.min.js [HTTP/1.1 200 OK 19ms]
      16:04:01.217 GET https://pfs.dv.loc/jquery/pfSense.js [HTTP/1.1 200 OK 16ms]
      16:04:01.218 GET https://pfs.dv.loc/jquery/pfSenseHelpers.js [HTTP/1.1 200 OK 18ms]
      16:04:01.221 GET https://pfs.dv.loc/sortable/sortable.js [HTTP/1.1 200 OK 15ms]
      16:04:01.235 GET https://pfs.dv.loc/bootstrap/css/pfSense.css [HTTP/1.1 200 OK 3ms]
      16:04:01.236 GET https://pfs.dv.loc/csrf/csrf-magic.js [HTTP/1.1 200 OK 2ms]
      16:04:01.238 GET https://pfs.dv.loc/jquery/jquery-1.12.0.min.js [HTTP/1.1 200 OK 7ms]
      16:04:01.239 GET https://pfs.dv.loc/jquery/jquery-ui-1.11.4.min.js [HTTP/1.1 200 OK 19ms]
      16:04:01.241 GET https://pfs.dv.loc/bootstrap/js/bootstrap.min.js [HTTP/1.1 200 OK 20ms]
      16:04:01.242 GET https://pfs.dv.loc/jquery/pfSense.js [HTTP/1.1 200 OK 16ms]
      16:04:01.243 GET https://pfs.dv.loc/jquery/pfSenseHelpers.js [HTTP/1.1 200 OK 18ms]
      16:04:01.245 GET https://pfs.dv.loc/sortable/sortable.js [HTTP/1.1 200 OK 16ms]
      16:04:01.257 GET https://pfs.dv.loc/bootstrap/css/pfSense.css [HTTP/1.1 200 OK 6ms]
      16:04:01.258 GET https://pfs.dv.loc/csrf/csrf-magic.js [HTTP/1.1 200 OK 6ms]
      16:04:01.259 GET https://pfs.dv.loc/jquery/jquery-1.12.0.min.js [HTTP/1.1 200 OK 11ms]
      16:04:01.261 GET https://pfs.dv.loc/jquery/jquery-ui-1.11.4.min.js [HTTP/1.1 200 OK 20ms]
      16:04:01.262 GET https://pfs.dv.loc/bootstrap/js/bootstrap.min.js [HTTP/1.1 200 OK 20ms]
      16:04:01.263 GET https://pfs.dv.loc/jquery/pfSense.js [HTTP/1.1 200 OK 19ms]
      16:04:01.265 GET https://pfs.dv.loc/jquery/pfSenseHelpers.js [HTTP/1.1 200 OK 19ms]
      16:04:01.267 GET https://pfs.dv.loc/sortable/sortable.js [HTTP/1.1 200 OK 16ms]
      16:04:01.716 reflow: 1.02ms
      16:04:01.473 GET https://pfs.dv.loc/bootstrap/css/bootstrap.min.css [HTTP/1.1 200 OK 4ms]
      16:04:01.475 GET https://pfs.dv.loc/bootstrap/fonts/roboto.css [HTTP/1.1 200 OK 2ms]
      16:04:01.522 GET https://pfs.dv.loc/bootstrap/css/bootstrap.min.css [HTTP/1.1 200 OK 4ms]
      16:04:01.523 GET https://pfs.dv.loc/bootstrap/fonts/roboto.css [HTTP/1.1 200 OK 3ms]
      16:04:01.570 GET https://pfs.dv.loc/bootstrap/css/bootstrap.min.css [HTTP/1.1 200 OK 3ms]
      16:04:01.572 GET https://pfs.dv.loc/bootstrap/fonts/roboto.css [HTTP/1.1 200 OK 3ms]
      https://pfs.dv.loc/graph.php
      16:04:01.840 GET https://pfs.dv.loc/graph.php [HTTP/1.1 200 OK 27ms]
      16:04:02.213 reflow: 0.03ms
      16:04:02.214 reflow: 0.22ms
      16:04:02.085 GET XHR https://pfs.dv.loc/ifstats.php [HTTP/1.1 200 OK 26ms]
      16:04:02.295 reflow: 0.22ms
      16:04:14.193 GET XHR https://pfs.dv.loc/ifstats.php [HTTP/1.1 200 OK 26ms]
      16:04:14.297 reflow: 0.4ms
      16:04:24.244 GET XHR https://pfs.dv.loc/ifstats.php [HTTP/1.1 200 OK 26ms]
      16:04:24.345 reflow: 0.44ms
      16:04:34.288 GET XHR https://pfs.dv.loc/ifstats.php [HTTP/1.1 200 OK 26ms]
      16:04:34.395 reflow: 0.38ms
      
      
      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        There isn't anything there that would send a redirect like that. There is no Flash at all anywhere in the web interface, no way the behavior in our code changes depending on whether or not you have Flash enabled. Not sure what to suggest other than you have some kind of weird browser issue.

        1 Reply Last reply Reply Quote 0
        • jdillardJ
          jdillard
          last edited by

          I just upgraded to Firefox 45 as well and don't have this behavior.

          1 Reply Last reply Reply Quote 0
          • jdillardJ
            jdillard
            last edited by

            Seems to be another case on 2.2.6 (awaiting more details):

            https://www.reddit.com/r/PFSENSE/comments/49ot5a/logging_in_redirects_to_a_full_page_chart_of_wan/

            1 Reply Last reply Reply Quote 0
            • I
              iamzam
              last edited by

              @cmb:

              There isn't anything there that would send a redirect like that. There is no Flash at all anywhere in the web interface, no way the behavior in our code changes depending on whether or not you have Flash enabled. Not sure what to suggest other than you have some kind of weird browser issue.

              So I guess what I mean, since I have this umatrix plugin installed is that the page requires some plugin to render the traffic graphs, I assumed it was flash but maybe its something else.  If I have that type of request disabled I don't see the graphs.  Could it be some other plugin?  I don't think I have any other plugins installed beside silverlight.

              Here is the log from uMatrix ( https://github.com/gorhill/uMatrix )  with other requests for context(xhr is xmlhttprequest):

              
              12:13:56			css	https://pfs.dv.loc/bootstrap/css/pfSense.css
              12:13:55			xhr	https://pfs.dv.loc/widgets/widgets/gateways.widget.php
              12:13:51			xhr	https://pfs.dv.loc/getstats.php
              12:13:50			xhr	https://pfs.dv.loc/widgets/widgets/gateways.widget.php
              12:13:45			xhr	https://pfs.dv.loc/widgets/widgets/gateways.widget.php
              12:13:44			xhr	https://pfs.dv.loc/widgets/widgets/system_information.widget.php?getupdatestatus=1
              12:13:40			xhr	https://pfs.dv.loc/widgets/widgets/gateways.widget.php
              12:13:40			script	https://pfs.dv.loc/{inline_script}
              12:13:39			plugin	https://pfs.dv.loc/graph.php?ifnum=opt1&ifname=WL1&timeint=10&initdelay=0
              12:13:39			plugin	https://pfs.dv.loc/graph.php?ifnum=lan&ifname=LAN&timeint=10&initdelay=0
              12:13:39			plugin	https://pfs.dv.loc/graph.php?ifnum=wan&ifname=WAN&timeint=10&initdelay=0
              12:13:39			image	https://pfs.dv.loc/logo.png
              12:13:39			css	https://pfs.dv.loc/bootstrap/fonts/roboto.css
              
              
              1 Reply Last reply Reply Quote 0
              • MikeV7896M
                MikeV7896
                last edited by

                The traffic graph is a live-updating SVG (scalable vector graphics) file. If the browser plugin you have installed is trying to associate the traffic graph with a plugin, it shouldn't need one. I believe all current browsers can display SVG files.

                There is an OLD (YEARS old; likely full of vulnerabilities at this point) Adobe SVG plugin that can be used, but it shouldn't be necessary anymore.

                The S in IOT stands for Security

                1 Reply Last reply Reply Quote 0
                • I
                  iamzam
                  last edited by

                  I can verify that it only happens for me in Firefox 45, and not in 44.0.1 or 44.0.2.  I thought that it had happened in 44.0.1 before I upgraded but I just downloaded version 44.0.1 and 44.0.2 and it doesn't happen in either one of them.  For what it's worth, the traffic graphs were in column 3 and now they are in column two and for some reason now I can't move or remove the widget at all anymore, in fact I can't make any changes to the dashboard at all in FF45.  This is on version 2.3.b.20160308.0630

                  2.3-BETA (amd64)
                  built on Tue Mar 08 06:30:37 CST 2016
                  FreeBSD 10.3-RC1

                  I read through the FF45 release notes and there are some interesting changes but I don't know enough about javascript to follow that trail

                  https://developer.mozilla.org/en-US/Firefox/Releases/45

                  1 Reply Last reply Reply Quote 0
                  • I
                    iamzam
                    last edited by

                    The same thing happens on the Status -> Traffic Graph page:

                    https://pfs/status_graph.php?if=wan redirects immediately to https://pfs/graph.php?ifnum=wan&ifname=WAN

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      Are you logging in with your own account or the admin account? If it's not the 'admin' account, what are the accounts privileges?

                      The only way a redirect like that will usually happen is if a user tries to load a page for which it does not have privileges, and the system redirects it to the first page in its permissions list for which the account has access.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • I
                        iamzam
                        last edited by

                        just the admin account.  I did just create a new ca and user/server certs for openvpn use the day before but I have never logged in with anything other than admin

                        1 Reply Last reply Reply Quote 0
                        • I
                          iamzam
                          last edited by

                          I should probably mention that this is Mac OS X as well.  I will try on a VirtualBox Windows PC with FireFox 45 in a few.

                          1 Reply Last reply Reply Quote 0
                          • I
                            iamzam
                            last edited by

                            While I was trying to duplicate this with FF45 on windows 7 somehow my OSX Firefox profile prefs.js got reset, it went from 940K to 40K and this stopped happening now.  I do have a copy of the old profile with the prefs.js file and I can be pretty sure that something in that file caused this problem.

                            As far as not being able to change the desktop widget layout, the problem was in config.xml, somehow the widget sequence array got screwy with a couple of undefined entries:

                            
                            pfSense shell: print_r($config['widgets']['sequence']);
                            pfSense shell: exec
                            gateways:col1:open,system_information:col1:open,interfaces:col2:open,openvpn:col2:open,undefined:col2:close,undefined:col2:close,traffic_graphs:col2:open,services_status:col3:open
                            
                            

                            I deleted the undefined entries from /cf/conf/config.xml and now I can change the dashboard widgets again.

                            I have no idea how I managed to get the sequence into that state but I was changing the dashboard theme and the other BETA options in System -> General Setup and testing the widget in different columns when it happened so who knows?

                            1 Reply Last reply Reply Quote 0
                            • K
                              karaznie
                              last edited by

                              I can confirm exactly the same behaviour on FF 45. Immediately graph zoom to fullscreen. The same i open Status > Traffic graph. Anybody know how to fix this?

                              1 Reply Last reply Reply Quote 0
                              • I
                                iamzam
                                last edited by

                                For some reason this started happening again for me.

                                I do have a FF 45.0.1 update to try and I will try to upgrade from 2.3.b.20160316.1603 to 2.3.b.20160319.0607 apparently there are CSS changes in there somewhere.

                                There is something in my heavily modified prefs.js that causes this to happen.  And it's not any extensions although I have disabled the Openh323 Cisco abomination and the "default browser helper" whatever that is…

                                1 Reply Last reply Reply Quote 0
                                • I
                                  iamzam
                                  last edited by

                                  OK! I guess the 45.0.1 update solved the problem.

                                  1 Reply Last reply Reply Quote 0
                                  • jimpJ
                                    jimp Rebel Alliance Developer Netgate
                                    last edited by

                                    Given that it only affected a handful of people, started with FF 45, and went away with FF 45.0.1, it's pretty clear it was a Firefox problem in this case.

                                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                    Need help fast? Netgate Global Support!

                                    Do not Chat/PM for help!

                                    1 Reply Last reply Reply Quote 0
                                    • PerforadoP
                                      Perforado Rebel Alliance
                                      last edited by

                                      For those who can't/won't upgrade to 45.0.1:

                                      Hold "Shift" while starting Firefox.
                                      Clean settings.
                                      Reinstall/Configure Plugins

                                      also solves the Problem whatever it was ;)

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