Ultralight client not releasing license when session is closed
Postby ChristofferG »
We just started up a little WinCC OA solution using the Ultralight Client as our only interface (1 ultralight client license).
First morning after startup the customer calls and cannot connect to the system because of "No free license" :dry: See picture. I tried to close the Chrome browser and open it again, with same result. Then I restarted Control Manager "UltralightClientServer.ctl" and it was now possible to open the UI.
I then tried to replicate the problem by opening browser and logging into the system and then closing the browser again. After repeating this 2-3 times of i got stuck in the same situation as my customer. I then restarted the UltralightClientServer again and started repeating the same steps again 8-9 times without any problems.
Is this a problem any of you have seen before? And is there a way to fix it? Besides buying more ultralight client licenses
Re: Ultralight client not releasing license when session is closed
Postby Gertjan van Schijndel »
Ultralight client:
- Converts the panels to svg and javascript and runs in the browser
- Requires the control script 'UltralightClientServer.ctl' to run
- Default uri path is '/?panel=.xml'
- Has more restrictions than the ULC UX
ULC UX:
- Runs the user interface on the server and sends the results to the browser
- Requires a 'httpServer' control script, the help mentions the 'webclient_http.ctl'
- Default uri path is '/data/ulc/start.html'
Re: Ultralight client not releasing license when session is closed
Postby Tykes »
Unsure if this problem got resolved.
Using the ULC UX
However, I'm having the same issue with the ultralight client, after the UI is killed, the license isn't released. Has there been a patch for this?
After restarting the manager does the license get released.
Re: Ultralight client not releasing license when session is closed
Postby agruber »
Not a long time ago there was a similar issue. How limited is the used license (http, webserver, ui, webclient, ultralight)?
You could enable "-dbg http" on the CTRL manager of the webserver and post the logs from the time of the connect and reconnect (PVSS_II.log and WCCOACtrl?.log). The browser could also be of significance, so is the patch level of your OA installation.
This could indicate the reason for the mentioned behaviour.
Re: Ultralight client not releasing license when session is closed
Postby ChristofferG »
We didn't find a solution, besides restarting the manager. Later on the customer expanded their licenses from 1 to 3 ultralight clients duo to new system requirements. And because of the extra licenses we do not see the problem anymore, or we don't know if it is a bug or actual someone else who is logged in :blink:
I will enable the "-dbg http" flag and return if I catch it again.
Re: Ultralight client not releasing license when session is closed
Postby Tykes »
I've attached a copy of the log file, capturing from Start of the manager, to the error releasing the license.
An observation I have is, without logging out or killing the UI, I can refresh the page and the license is released. So utilizing the Inactivity to kill the UI or even logout won't allow me to have that license released.
Logging the following events
1. Starting the Manager
2. Starting the ULC UX Client
3. Logging into the System
4. Refreshing the page(released the license)
5. Logging back into the system
6. Closing the Virtualization (Killing the UI)
7. Refresh the page
8. Locked out of the client error stating Too many licenses in use.
Re: Ultralight client not releasing license when session is closed
Postby leoknipp »
As far as I've seen our developers are currently working on an issue where the problem description is the same or similar.
When the problem will be fixed and if then a patch will be available is not defined right now.
If a new patch is released please check the readme file for the fixed problems.
Best Regards
Leopold Knipp
Senior Support Specialist