Weird prob. after dash loads it immediately redirects to the WAN traffic graph
-
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/
-
@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
-
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.
-
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-RC1I 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
-
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
-
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.
-
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
-
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.
-
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?
-
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?
-
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…
-
OK! I guess the 45.0.1 update solved the problem.
-
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.
-
For those who can't/won't upgrade to 45.0.1:
Hold "Shift" while starting Firefox.
Clean settings.
Reinstall/Configure Pluginsalso solves the Problem whatever it was ;)