NoScript 2.6.8.20 Breaks Plex Web App?

Ask for help about NoScript, no registration needed to post
Bleakassassin

NoScript 2.6.8.20 Breaks Plex Web App?

Post by Bleakassassin »

I couldn't help but notice that I'm unable to access my Plex server via the Plex Web App anymore. I've been able to just fine with NoScript enabled until the 2.6.8.20 update. Whenever I try to load it, all I get is an error message stating that the server can't be accessed. This happens even if I enable scripts globally. However, if I disable NoScript, the server will work as normal.

I would have asked this at the Plex forums, but I figured that it would be more applicable here. Is there some setting in NoScript that I need to alter now to get Plex to work right, or is this an issue with the new version?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript 2.6.8.20 Breaks Plex Web App?

Post by therube »

Anything related noted in the Error Console?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 SeaMonkey/2.27a2
Bleakassassin

Re: NoScript 2.6.8.20 Breaks Plex Web App?

Post by Bleakassassin »

Sorry, I didn't see that part of the requirements when I skimmed through the "Read this first" for the forum. Now that you mention it, there's a lot of blue messages that pop up as the page loads:

Code: Select all

Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. main-desktop.css:9
Unknown property 'zoom'.  Declaration dropped. main-desktop.css:9
Expected declaration but found '*'.  Skipped to next declaration. main-desktop.css:9
Unknown property 'box-sizing'.  Declaration dropped. main-desktop.css:9
Unknown property 'user-select'.  Declaration dropped. main-desktop.css:9
Error in parsing value for 'background-image'.  Declaration dropped. main-desktop.css:9
Expected 'none' or URL but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. main-desktop.css:9
Expected color but found 'top'.  Error in parsing value for 'background-image'.  Declaration dropped. main-desktop.css:9
Error in parsing value for 'background'.  Declaration dropped. main-desktop.css:9
Expected color but found 'top'.  Error in parsing value for 'background'.  Declaration dropped. main-desktop.css:9
Expected color but found 'bottom'.  Error in parsing value for 'background-image'.  Declaration dropped. main-desktop.css:9
Expected media feature name but found '-webkit-min-device-pixel-ratio'. main-desktop.css:9
Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. main-desktop.css:9
Unknown pseudo-class or pseudo-element '-ms-input-placeholder'.  Ruleset ignored due to bad selector. main-desktop.css:9
Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'.  Ruleset ignored due to bad selector. main-desktop.css:9
Unknown property 'backgound-color'.  Declaration dropped. main-desktop.css:9
Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. main-desktop.css:9
Unknown pseudo-class or pseudo-element '-webkit-scrollbar'.  Ruleset ignored due to bad selector. main-desktop.css:9
Unknown pseudo-class or pseudo-element '-webkit-scrollbar-track'.  Ruleset ignored due to bad selector. main-desktop.css:9
Unknown pseudo-class or pseudo-element '-webkit-scrollbar-thumb'.  Ruleset ignored due to bad selector. main-desktop.css:9
Unknown property '-moz-border-top-left-radius'.  Declaration dropped. main-desktop.css:9
Unknown property '-moz-border-top-right-radius'.  Declaration dropped. main-desktop.css:9
Unknown property '-moz-border-bottom-left-radius'.  Declaration dropped. main-desktop.css:9
Unknown property '-moz-border-bottom-right-radius'.  Declaration dropped. main-desktop.css:9
Unknown property 'touch-action'.  Declaration dropped. main-desktop.css:9
Error in parsing value for 'display'.  Declaration dropped. main-desktop.css:9
Unknown property 'box-sizing'.  Declaration dropped. app
"Primary server is waiting for servers to populate" plex.js:699
...
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Bleakassassin

Re: NoScript 2.6.8.20 Breaks Plex Web App?

Post by Bleakassassin »

Hold on, ignore that. That console stuff is relevant whether or not NoScript is enabled. Here's the relevant part (edited to remove personal information):

Code: Select all

"Primary server is waiting for servers to populate" plex.js:699
"%cTesting connection to (my media center) at http://(ip address)/" "color: blue;" plex.js:699
"%cTesting connection to (my media center) at http://(pc's ip address):32400/" "color: blue;" plex.js:699
"%cTesting connection to Cloud at https://plex.tv/pms/:/ip" "color: blue;" plex.js:699
"%c(my media center) is unavailable at http://(ip address):64062/ (Status 0)" "color: #ff6600;" plex.js:699
"%c(my media center) is unavailable at http://(pc's ip address):32400/ (Status 0)" "color: #ff6600;" plex.js:699
"%cAll connections for (my media center) failed" "color: red;" plex.js:699
"Waiting to resolve servers promise, pending initial servers = 2" plex.js:699
"%cSetting active connection for Cloud (https://plex.tv/pms/:/ip)" "color: green;" plex.js:699
(my username) plex.js:700
"subscription: none" plex.js:699
"Requesting secondary servers through https://plex.tv/" plex.js:699
"Secondary servers requested through https://plex.tv/" plex.js:699
"Resolving servers promise, available servers = 1" plex.js:699
"%cNo primary server" "color: #ff6600;"
When it works, it looks like this:

Code: Select all

"Primary server is waiting for servers to populate" plex.js:699
"%cTesting connection to (my media center) at http://(ip address):64062/" "color: blue;" plex.js:699
"%cTesting connection to (my media center) at http://(pc's ip address):32400/" "color: blue;" plex.js:699
"%cTesting connection to Cloud at https://plex.tv/pms/:/ip" "color: blue;" plex.js:699
"%c(my media center) is available at (link with ip address):64062/" "color: green;" plex.js:699
"%cSetting active connection for (my media center) ((ip address))" "color: green;" plex.js:699
"setting primary server immediately to (my media center)" plex.js:699
"%cSetting primary server to (my media center)" "color: green;" plex.js:699
"Requesting secondary servers through (link with ip address):64062/" plex.js:699
"%c(my media center) is available at (link with pc's ip address):32400/" "color: green;" plex.js:699
"%cSetting active connection for (my media center) ((pc's ip address))" "color: green;" plex.js:699
"%cSocket connection to (my media center) opened." "color: green;" plex.js:699
"%cTesting connection to (my media center) at http://127.0.0.1:32400/" "color: blue;" plex.js:699
"Secondary servers requested through (link with ip address):64062/" plex.js:699
"Waiting to resolve servers promise, pending initial servers = 1" plex.js:699
"%cSetting active connection for Cloud (https://plex.tv/pms/:/ip)" "color: green;" plex.js:699
(my username) plex.js:700
"subscription: none" plex.js:699
"Requesting secondary servers through https://plex.tv/" plex.js:699
[/code]
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript 2.6.8.20 Breaks Plex Web App?

Post by barbaz »

Hmmm, I wonder if you're running into ABE here...
Does it work if you go
NoScript menu -> Options -> Advanced -> ABE -> un-check "Enable ABE"?

If so, assuming "ip address" and "pc's ip address" are both local, re-enable ABE and try adding at the very beginning of SYSTEM rules

Code: Select all

Site ip-address:64062 pc's-ip-address:32400 127.0.0.1:32400
Accept from https://plex.tv/
(just a wild guess... since you didn't post the actual message from NoScript, no guarantees that will work - but if disabling ABE fixes it you probably need something at least similar to that)

If not, can you turn off CSS warnings in the browser console, try again with NS enabled, watch it fail, and check the browser console for related messages again? (may not be different, but just in case)
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0 SeaMonkey/2.28a1
Bleakassassin

Re: NoScript 2.6.8.20 Breaks Plex Web App?

Post by Bleakassassin »

That did it! Thanks so much for the advice. I hope others using both NoScript and Plex will figure out to do this to avoid a world of hurt.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript 2.6.8.20 Breaks Plex Web App?

Post by barbaz »

Bleakassassin wrote:That did it! Thanks so much for the advice. I hope others using both NoScript and Plex will figure out to do this to avoid a world of hurt.
In that case could you please post here *exactly* what steps worked for you, so that those others can reference it? As I said, I was just making wild but educated guess without having the proper information. I have no idea what about my post helped you.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0 SeaMonkey/2.28a1
Post Reply