Ultralight client not releasing license when session is closed

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
17 posts • Page 1 of 2
ChristofferG
Posts:12
Joined: Thu Dec 17, 2015 8:50 am

Ultralight client not releasing license when session is closed

Post by 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 :P

Image
Attachments
NoFreeLicense.png

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Ultralight client not releasing license when session is closed

Post by leoknipp »

please tell us which WinCC OA version and which operating system you are using.
Are you using the Ultralight client or the ULC UX?

Best Regards
Leopold Knipp
Senior Support Specialist

ChristofferG
Posts:12
Joined: Thu Dec 17, 2015 8:50 am

Re: Ultralight client not releasing license when session is closed

Post by ChristofferG »

The server is running Windows 7 Professional SP1, WinCC OA 3.14 Patch 3 and Google Chrome 50.0.2661.75.

I do not know the difference between Ultralight client and ULC UX?

I use the one where I do not have to install anything on the client, and access it at "https://ip-adress/data/ulc/start.html".

ChristofferG
Posts:12
Joined: Thu Dec 17, 2015 8:50 am

Re: Ultralight client not releasing license when session is closed

Post by ChristofferG »

Just updated to 3.14 Patch 4.

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Ultralight client not releasing license when session is closed

Post by 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'

Tykes
Posts:14
Joined: Thu Jul 14, 2016 9:51 pm

Re: Ultralight client not releasing license when session is closed

Post by 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.

agruber
Posts:147
Joined: Tue Sep 07, 2010 2:52 pm

Re: Ultralight client not releasing license when session is closed

Post by 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.

ChristofferG
Posts:12
Joined: Thu Dec 17, 2015 8:50 am

Re: Ultralight client not releasing license when session is closed

Post by 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.

Tykes
Posts:14
Joined: Thu Jul 14, 2016 9:51 pm

Re: Ultralight client not releasing license when session is closed

Post by 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.

https://www.winccoa.com/fileadmin/image ... Actrl2.txt
Attachments
WCCOActrl2.txt
(32.96 KiB) Downloaded 230 times

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Ultralight client not releasing license when session is closed

Post by 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

17 posts • Page 1 of 2