Hi,
Have noticed a problem where a mango instance stops displaying point values (by XID). This causes intermittent failure of a dashboard app (as it cannot present current values). Restarting the mango server instance fixes the issue (until it occurs again). The problem can be reproduced via the 'mdAdmin' Custom Dashboard example:
http://mangohost/modules/dashboards/web/mdAdmin/#/dashboard/examples/basics/get-point-by-xid
When selecting XID for points which do exist in the instance, where mango shows a value when you view it in the data points view, no value is presented by the angular material dashboard. The point name and details can be seen, but the value doesn't appear. The following network calls can be seen:
http://mangohost/rest/v1/data-points/DP_HP-POD-004_9867690 (status 200)
ws://pod.energymadeclean.com:8080/rest/v1/websocket/point-value (status 101)
then another entry to indicate the following is finished:
ws://pod.energymadeclean.com:8080/rest/v1/websocket/point-value (status 'finished')
However no value is rendered.
Have tried to log out and back into mango (using the admin account) but the issue persists. Restarting the mango instance fixes the problem (for a while) - until it occurs again.
Is there a known problem with the mango instance and the web-socket point values not being returned after some time? There is no entry in the ma.log file which corresponds with the failure. Are there other locations to look for an error message?
Snippet which reproduces the problem (when it is occurring):
--
<!-- Display a point value using only its XID -->
<!-- Get a point (and value) using its XID and assign it to an output variable "myPoint" -->
<!-- example XIDs for points which do display current values in mango -->
R06-LI0073
DP_HP-POD-004_9867690
<ma-get-point-value point-xid="DP_HP-POD-004_9867690" point="myPoint"></ma-get-point-value>
<p>The point name is "{{myPoint.name}}" and its value is "{{myPoint.renderedValue}}".</p>
<!--
<span>
{{myPoint | json}}
</span>
-->
Regards,
Tim