Wire-webapp: TypeError: Ha(...).family is null on login attempt

Created on 12 Aug 2018  ·  6Comments  ·  Source: wireapp/wire-webapp

Hello.

Looks like last fix of osFamily detection wasn't the last one. This time I can see the login screen but I can't get further. I receive TypeError: Ha(...).family is null error trying to submit username/password. This happens in Runtime.js:61

const getOsFamily = () => getOs().family.toLowerCase();

What I have:

»platform
  {…}
    description: "Firefox 60.0"
    ​layout: "Gecko"
  ​  manufacturer: null
    ​name: "Firefox"
  ​  os: {…}
      ​​architecture: null
  ​​    family: null
    ​​  toString: toString()
    ​​​    length: 0
        ​​​name: "toString"
      ​​​  prototype: Object { … }
        ​​​__proto__: function ()
  ​​    version: null
    ​​  __proto__: Object { … }
  ​  parse: function e()
    ​prerelease: null
  ​  product: null
    ​toString: function toString()
  ​  ua: "Mozilla/5.0 (X11; DragonFly x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
    ​version: "60.0"
  ​  __proto__: Object { … }

This time it looks like jQuery isn't populating all fields, probably?… I'm zero at Javascript.

Thanks in advance.

bug / fix 🐞

Most helpful comment

Yep, works perfectly now!

All 6 comments

The libary we use to parse your user agent chokes on Dragonfly. We have opened an issue on the library https://github.com/bestiejs/platform.js/issues/156. Looks like we need to add a safeguard also in the place where we detect the device type when creating an new device linked to your account until the library has fixed this.

@kworr A fix mitigating the situation has been deployed to production a few days agin. Can you confirm it is working for you now?

Still the same error.

@Yserz Can you please take a look?

We deployed a new version of the webapp with additional safeguard in place for platform detection. Does this work for you now?

Yep, works perfectly now!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sd166 picture sd166  ·  3Comments

dietmarw picture dietmarw  ·  4Comments

ghost picture ghost  ·  4Comments

mat1th picture mat1th  ·  6Comments

Nuruddinjr picture Nuruddinjr  ·  4Comments