Stuck on "Waiting Initial Data"

Hello,

For a long time, AltUI has been working fine on my system (Vera Plus on FW 1.7.4970). But for about two weeks, it’s not loading anymore (stuck on “Waiting Initial Data”).
According to the control panel of the device, I’m on version v2.03.

I’ve tried

  • Uninstall/reinstall AltUI (from the “regular” Vera interface)
  • Using the “default configuration” button within the settings

…but it’s still stuck.
Any idea about how to restore a proper behavior?

Hi Gabriel,

In the ALTUI variables look for ControlTimeout and increase it’s value. I suspect that will help.

Cheers Rene

altui version ?
did you change / add devices 2 weeks ago ?
are you using it locally or remotely ?
can you check the javascript console logs ( ctrl +J in chrome ) messages and share them ?

The questions brought by amg0 have led to a “resolution”/workaround of the issue :slight_smile: (ie: change browser)

First, the answers (in case that could be of help to anyone):

  • AltUI version 2.03.2245, used locally
  • No device/change intentionally done 2 weeks ago…but…some of my blinds decided to open themselves during the night. Maybe something strange happened…
  • I am using Firefox (77.0.1). When firing up Chrome in order to check the javascript console logs, I’ve noticed that AltUI is loading fine under chrome.

-> it looks to be related to the browser.

Using chrome enabled AltUI to update itself to 2546. -> same situation

The Javascript console log (Chrome) shows the following message:
A cookie associated with a cross-site resource at http://www.google.com/ was set without the SameSiteattribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set withSameSite=NoneandSecure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

Edit:
Here are the console logs from Firefox:
//////////////////////
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource. URL de la ressource : moz-extension://999e27a7-667c-47fb-9731-9359a31f21e2/js/jquery.min.js URL du lien source : jquery.min.map

ALTUI:HTML5 Speech Recognition (xxxSpeechRecognition) not supported in this browser J_ALTUI_utils.js:569:12

Error: Must call google.charts.load before google.charts.setOnLoadCallback jsapi:89:298

jQuery.Deferred exception: g_ALTUI is undefined @http://192.168.10.8/port_3480/J_ALTUI_uimgr.js:16088:2 e@http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:29453 l/</t<@http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:29755 undefined jquery.min.js:2:31008

TypeError: g_ALTUI is undefined

J_ALTUI_uimgr.js:16088:2
//////////////////////////

understood.
yes I am now focusing on browsers that I can test.
i.e safari , chrome, edge chromium version

yet it is strange that jquery.min would not load. is Firefox using any special things( cache ?)

As suggested by reneboer, I’ve increased the ControlTimeout value (to 60000).

It seems to solve the jquery loading error (which is puzzling me, as I’m assuming that my 100Mbps connection is fast enough), but there are still issues:

ALTUI:HTML5 Speech Recognition (xxxSpeechRecognition) not supported in this browser J_ALTUI_utils.js:569:12

Error: Must call google.charts.load before google.charts.setOnLoadCallback jsapi:89:298

jQuery.Deferred exception: g_ALTUI is undefined @http://192.168.10.8/port_3480/J_ALTUI_uimgr.js:16088:2 e@http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:29453 l/</t<@http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:29755 undefined jquery.min.js:2:31008

TypeError: g_ALTUI is undefined

J_ALTUI_uimgr.js:16088:2

Best Home Automation shopping experience. Shop at getvera!

© 2020 Vera Control Ltd., All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules