-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reconnect disconnected server #15
Comments
@ilyatsarev , i updated dgApi. But I have one problem. It seems like the new version can't read the existing nodes.json
Any suggestions on how to solve it? without having to reenter servers? |
I think i found the problem in the nodes.json file Changed from this:
to this
dgApi now starts, but it seems like the password has been corrupted. |
@ilyatsarev, after previous change the password is corrupted so, i could not just remove the escape character 'u001b' |
|
Reconnect works as expected (Forget the login/logout problem I described in previous post)
Values that are subscribed to are not updated when Niagara station is reconnected. You have to restart dgApi link to get updated values again. We have tried with subscriptions both from ETSDB and a proprietary link. Added screenshots of value JD-Random that has been added as watch path in ETSDB. But value is not updated either in dgApi or ETSDB. Values with no subscribtions are updated correctly. |
@ilyatsarev, i hope the previous post was understandable. If not, let me know what I need to clarify. |
@jdsdc thanks, yes I understand the description. I'll open an internal ticket for a developer to take a look at this. Do you have any recommendations on what would be the best way to reproduce this in our lab? |
@ilyatsarev, see previous post for recreation |
Hi @ilyatsarev, any update on this issue? do you need any more information from me? |
Hi @jdsdc, there are no updates yet on the ticket I opened. Developer hasn't look into your issue. |
Environment
DGLux 5, Revision 9012
Niagara 4.9
DgApi 1.06
Windows 10
Recreate error
To conclude, it seems like errors occur when the server is restarted and a Niagara station is offline. Then dgApi
needs to be restarted to reconnect. But some values are note updated. So another restart of dgApi is needed.
** Stability **
If there is an automatic restart of the dgLux service we cannot trust dgApi to reconnect to stations and update values
correctly. Which leads to need of additional monitoring to see if all stations are connected or not.
It would be a huge help to be able to trust that stations are reconnected if server is restarted.
Additional:
Definition of property in station, oBIX format
<obj name="Link" href="local:|foxs:|station:|h:1e7/Link/" is="def/baja:Link def/baja:Relation" display="Indirect: h:1f1.out -> slot:/System/LB01/JD$2dRandom.in10" icon="/ord?module://icons/x16/link.png"> <uri name="sourceOrd" val="h:1f1" href="local:|foxs:|station:|h:1e7/Link/sourceOrd/" displayName="Source Ord" writable="true"/> <str name="sourceSlotName" val="out" href="local:|foxs:|station:|h:1e7/Link/sourceSlotName/" displayName="Source Slot Name" writable="true"/> <str name="targetSlotName" val="in10" href="local:|foxs:|station:|h:1e7/Link/targetSlotName/" displayName="Target Slot Name" writable="true"/> <bool name="enabled" val="true" href="local:|foxs:|station:|h:1e7/Link/enabled/" displayName="Enabled" writable="true"/> </obj>
Added station backup as attachment.
backup_dgluxtest_210617_1340.zip
@rinick , @ilyatsarev
The text was updated successfully, but these errors were encountered: