Archived

This topic is now archived and is closed to further replies.

F3nTROn

WebUI no longer working in latest version of Firefox 32-bit (27.0.1)

Recommended Posts

I have been using the latest WebUI (v0.388) for a while now both through local lan and the internet but after Firefox updated to 27.0.1 I can no longer connect to the WebUI properly. I am prompted for a username and password which is validated but the loading icon is displayed and never goes away even when refreshing the page.

 

I have tried "http://YourIP:UTport/gui/?action=setsetting&s=webui.cookie&v={}" and then refreshing the page but when I use that URL I just get "Invalid Request".

 

I also redownloaded the WebUI and have restarted both uTorrent and the PC with no success.

 

uTorrent is running on an intel based PC with Windows 7 x64 Enterprise OS and is using the latest updates.

 

I have tried the URL in Internet Explorer and it works fine but my prefered browser is Firefox.

 

Any thoughts?

Share this post


Link to post
Share on other sites

Works for me. Try hitting Esc and resetting configuration. If that doesn't help/work, please check if any errors appear in the Firefox developer console (Ctrl+Shift+K).

Share this post


Link to post
Share on other sites

developer console shows the following information when I try to connect:

 

19:55:33.851 GET http://192.168.2.101:34351/gui/ [HTTP/1.1 304 Not Modified 1ms]
19:55:33.826 Use of getUserData() or setUserData() is deprecated.  Use WeakMap or element.dataset instead. requestNotifier.js:64
19:55:33.841 Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.[Learn More]
19:55:34.202 GET http://192.168.2.101:34351/gui/main.css [HTTP/1.1 304 Not Modified 3ms]
19:55:34.202 GET http://192.168.2.101:34351/gui/stable.css [HTTP/1.1 304 Not Modified 2ms]
19:55:34.202 GET http://192.168.2.101:34351/gui/mootools.js [HTTP/1.1 304 Not Modified 4ms]
19:55:34.203 GET http://192.168.2.101:34351/gui/flotr.js [HTTP/1.1 304 Not Modified 4ms]
19:55:34.203 GET http://192.168.2.101:34351/gui/utils.js [HTTP/1.1 304 Not Modified 7ms]
19:55:34.203 GET http://192.168.2.101:34351/gui/constants.js [HTTP/1.1 304 Not Modified 5ms]
19:55:34.203 GET http://192.168.2.101:34351/gui/lang/_.js [HTTP/1.1 304 Not Modified 7ms]
19:55:34.204 GET http://192.168.2.101:34351/gui/speedgraph.js [HTTP/1.1 304 Not Modified 6ms]
19:55:34.204 GET http://192.168.2.101:34351/gui/stable.js [HTTP/1.1 304 Not Modified 12ms]
19:55:34.204 GET http://192.168.2.101:34351/gui/tabs.js [HTTP/1.1 304 Not Modified 7ms]
19:55:34.204 GET http://192.168.2.101:34351/gui/webui.js [HTTP/1.1 304 Not Modified 8ms]
19:55:34.204 GET http://192.168.2.101:34351/gui/contextmenu.js [HTTP/1.1 304 Not Modified 9ms]
19:55:34.205 GET http://192.168.2.101:34351/gui/dialogmanager.js [HTTP/1.1 304 Not Modified 10ms]
19:55:34.205 GET http://192.168.2.101:34351/gui/main.js [HTTP/1.1 304 Not Modified 14ms]
19:55:34.205 GET http://192.168.2.101:34351/gui/images/snake.gif [HTTP/1.1 304 Not Modified 11ms]
19:55:34.205 GET http://192.168.2.101:34351/gui/images/ut.png [HTTP/1.1 304 Not Modified 12ms]
19:55:34.205 GET http://192.168.2.101:34351/gui/images/mootools.png [HTTP/1.1 304 Not Modified 12ms]
19:55:34.193 Use of getAttributeNode() is deprecated. Use getAttribute() instead. mootools.js:1
19:55:34.304 GET http://192.168.2.101:34351/gui/images/zoom.png [HTTP/1.1 304 Not Modified 2ms]
19:55:34.305 GET http://192.168.2.101:34351/gui/images/arrow.png [HTTP/1.1 304 Not Modified 3ms]
19:55:34.305 GET http://192.168.2.101:34351/gui/images/toolbar.png [HTTP/1.1 304 Not Modified 4ms]
19:55:34.305 GET http://192.168.2.101:34351/gui/images/tstatus.png [HTTP/1.1 304 Not Modified 5ms]
19:55:34.305 GET http://192.168.2.101:34351/gui/images/ut_small.png [HTTP/1.1 304 Not Modified 3ms]
19:55:34.253 ReferenceError: Overlay is not defined main.js:1

Share this post


Link to post
Share on other sites

I can confirm the same on Firefox 28 beta. WebUI gets stuck on the "Loading..." screen. I too end up with "Invalid request" when I try http://yourip:port/gui/?action=setsetting&s=webui.cookie&v={}. And Firefox's developer consolde shows the same series of messages as listed above.

 

In addition, I've tried clearing Firefox cookies and cache and downloaded the latest webui.zip. I can connect to utorrent using IE, so I know webui itself is running. Probably something Firefox changed in it's API, but I'm not a web developer, so I'm not sure how to go about troubleshooting this further.

Share this post


Link to post
Share on other sites

Nevermind the webui.cookie thing. It can't work so long as token authentication is enabled, and is severely outdated/deprecated advice in almost all cases. The popup when you press Esc takes care of whatever that should have taken care of.

 

I've tested this on Firefox v27.0.1 with µTorrent v3.3.2 and WebUI v0.388. No problems. Overlay shouldn't be undefined in main.js -- it's defined before main.js is even loaded, and if it failed to be defined earlier, there should almost definitely have been some warning/error in the console as well.

I really don't know what to tell you here; it's kind of difficult to debug an un-reproducible problem. Only possibility I can think of is that something else is trashing it. Maybe some Firefox extension (Firefox upgrades also trigger extension update checks, which could also explain the timing).

Share this post


Link to post
Share on other sites

I got the same problem today, it just stuck at loading page. Then I disabled adblockplus and problem solved.

 

That's it! Disable adblockplus for the webui page and it works! Thank you so much!

Share this post


Link to post
Share on other sites

Yes thank you. Disabling adblock plus sloves the problem. That add-on is so integrated into my browsing experience, and I have been using it for so long that I just forget it is even there. Problem solved.

Share this post


Link to post
Share on other sites

Yes thank you. Disabling adblock plus sloves the problem. That add-on is so integrated into my browsing experience, and I have been using it for so long that I just forget it is even there. Problem solved.

Disabling adblock plus surely resolves the problem, but it seems as if ABP itself is a problem. I am currently using AdGuard with firefox and it's working fine for me. You can try this too.

Share this post


Link to post
Share on other sites