When a user logs in to NBS Chorus they may get this error message:-




"There was an error that prevented the requested operation - Cannot read property 'inGrace' of null"


The only option is to Return To Dashboard and this will create an endless spinning circle.


Currently this error has appeared twice and had 2 different fixes.


Fix 1 -  Updating the version of Adobe Flash


The latest version of Flash is V32.0.0.192 


Chrome, Firefox, Safari and Edge should all have in-built Flash players but the best way to check which Flash play is installed is as follows:


Chrome: in the address bar type " chrome://flash/ "


Firefox: In the address bar type " about:plugins "


Safari: From the Safari menu, select Preferences.... Go to the Websites tab and locate the Plug-ins section. Under Adobe Flash Player is the Flash version number. (If you're using Mac OS X 10.10 or older, go to Safari > Preferences... > Security and then click Plug-in Settings... or Manage Website Settings... to see the Flash version.)


Edge: Open Control Panel and go to Programs and then Programs and Features. Click or tap once on Adobe Flash Player and note the number next to Product version at the bottom of Control Panel, or under the Version column off to the right. 


If the Flash player is out of date get the customer to speak to their IT team to update this.


Fix 2 - Enabling websockets


This fix will require the user/users IT team to add an exception to their firewall


In Chrome, Firefox & Edge you can check if their Firewall is the issue by getting the user to log in to NBS Chorus and generating the error then pressing F12 on their keyboard ( Command + Option + I in Safari). 

This will bring up the developer tools on the right hand side. You will see an error of "Websocket connection to "wss://api.chorus.thenbs.com/realtime" Failed: Error during web socket handshake: Unexpected response code"   





The fix for this is to get the customer to add "wss://api.chorus.thenbs.com/realtime" to their firewall and make sure Web sockets are enabled. The app connects to wss://api.chorus.thenbs.com/realtime for all our real time updates.