Jump to content

Firefox error: Uncaught (in promise) TypeError: can't access property


Go to solution Solved by dethknite,

Recommended Posts

Posted

Emby v4.9.0.30 beta

Firefox Developer v132.0b7 (64-bit)  /  Firefox v131.0.3 (64-bit)

 

You may already be aware, when trying to navigate to the Emby address, it hangs. (Works fine in Chrome /  Edge)

 

From the Dev Console:

Uncaught (in promise) TypeError: can't access property "brands", navigator.userAgentData is undefined
    getDeviceName https://192.168.1.11:8920/web/modules/apphost.js?v=4.9.0.30:1
    init https://192.168.1.11:8920/web/modules/apphost.js?v=4.9.0.30:1
    promise callback*init https://192.168.1.11:8920/web/modules/apphost.js?v=4.9.0.30:1
    loadServiceLocator https://192.168.1.11:8920/web/app.js?v=4.9.0.30:1
    promise callback*loadServiceLocator/< https://192.168.1.11:8920/web/app.js?v=4.9.0.30:1
    promise callback*loadServiceLocator https://192.168.1.11:8920/web/app.js?v=4.9.0.30:1
    promise callback*start https://192.168.1.11:8920/web/app.js?v=4.9.0.30:1
    <anonymous> https://192.168.1.11:8920/web/app.js?v=4.9.0.30:1
    <anonymous> https://192.168.1.11:8920/web/app.js?v=4.9.0.30:1
apphost.js:1:2675

Posted

Hi, does this only occur over https?

Posted (edited)

No. I just tried connecting http:// as well and the same error is in the console.

 

-- some of the leading up to it code --

defining from importMap: appRouter: ./modules/approuter.js app.js:1:11766
defining from importMap: actionsheet: ./modules/actionsheet/actionsheet.js app.js:1:11766
defining from importMap: multi-download: ./modules/multidownload.js app.js:1:11766
defining from importMap: localassetmanager: ./modules/localdatabase/localassetmanager.js app.js:1:11766
defining from importMap: inputManager: ./modules/common/inputmanager.js app.js:1:11766
loadSecondLevelPolyfills app.js:1:44141
loadThirdLevelPolyfills app.js:1:41031
loadServiceLocator app.js:1:7459
loadServiceLocator - inner load 1 app.js:1:7638
loadServiceLocator - inner load 2 app.js:1:8318
loadServiceLocator - calling serviceLocator.initialize app.js:1:8929
loadServiceLocator - calling appHost.init app.js:1:9330
Uncaught (in promise) TypeError: can't access property "brands", navigator.userAgentData is undefined
    getDeviceName http://192.168.1.11:8096/web/modules/apphost.js?v=4.9.0.30:1
    init http://192.168.1.11:8096/web/modules/apphost.js?v=4.9.0.30:1

apphost.js:1:2675

 

-----

Perhaps a plugin.. I will attempt to disable and see how that fares..

Edited by dethknite
Posted

Strange. I don't it in firefox 132 b7. We'll investigate though. Thanks.

  • Agree 1
Happy2Play
Posted

Not seeing any errors in 133

image.thumb.png.5df21309c672604f6baeaa9b4d7c36ee.png

  • Agree 1
Posted (edited)

Removed plugins and still hitting it..  seems the navigator object is not defined for some reason when it gets to the code.

image.png.971e24b9e7a26d62b3fd1fd45fe0f24d.png

 

Edited by dethknite
  • Solution
Posted

Figured it out.. the Firefox plugin "Container Tab Groups" causes the issue...

  • Thanks 1
Posted

* Further fix to allow the addon:

Need to go into extensions, and select Modify on "Container Tab Groups" addon. Then go to Options, Languages and User Agents, and Check "Per-container User-Agent Overrides", and set whatever container Emby will load in as "Chrome" for the user agent.  (Default, Custom -- with valid Mozilla UA, and others do not work -- apparently only faking Chrome UA works in the addon)

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...