I'm trying to manage users and groups from Desktop UI. Code that works fine using 3.16, but since we update to 3.17 we had problems to modify the _Users DPT. Just when applying changes with the function savesChanges(), the info was saved, but the connection closes and don't continue with the rest of the code (a reconnecting panel comes out and connection returns).
If it were an authentication or privilegies problem, the connection would be closed before apply the changes.
Running the code in Gedi, the program succeed. When we use Desktop UI is when we receives a connection closed after use that function.
We tried observing logfiles with the -dbg dispatch and -dbg http flags on the Control Manager web_client.ctl, and we are not able to understand what happens.
Connection closed after savesChanges() in Desktop UI
- pablo.chamorro
- Posts:54
- Joined: Mon Jan 27, 2020 1:42 pm
Connection closed after savesChanges() in Desktop UI
- miquel.pujal
- Posts:1
- Joined: Thu Aug 09, 2018 11:22 am
Re: Connection closed after savesChanges() in Desktop UI
For a better undestanding of the problem, we provide the relevant part of the log PVSS_II.log on the Destop UI:
We see that the manager disconnect and after 10 seconds timeout, it reconnects.
We saw the same behaviour when using original panels (vision\ud_users.pnl), via Desktop UI. Therefore we thought that our code is ok.
We observed on comments in 3.17\scripts\libs\classes\userManagementUserManagement.ctl, that sometimes the changes are made, but the command expires. A UI manager disconnection, stops subsequent code running, and this is a problem for us.
Could you provide some comments or a workaround about this seem known issue?
Thanks.
We see that the manager disconnect and after 10 seconds timeout, it reconnects.
We saw the same behaviour when using original panels (vision\ud_users.pnl), via Desktop UI. Therefore we thought that our code is ok.
We observed on comments in 3.17\scripts\libs\classes\userManagementUserManagement.ctl, that sometimes the changes are made, but the command expires. A UI manager disconnection, stops subsequent code running, and this is a problem for us.
Could you provide some comments or a workaround about this seem known issue?
Thanks.
- horvathr
- Posts:10
- Joined: Fri Dec 14, 2018 10:24 am
Re: Connection closed after savesChanges() in Desktop UI
was solved by SR
br
Roland Horvath
br
Roland Horvath