CodeMeter 8.00 keeps license session when hardware dongle is unplugged
TL;DR: Install CodeMeter Version 8.20
This issue can be reproduced by:
- Start Engineering studio with hardware dongle
license
- Plug out hardware dongle with license while Engineering Studio is
running
- Plugin hardware dongle again while Engineering Studio is still
running
- Close Engineering Studio and start it again.
- --> Engineering Studio complains that no free license can be found.
- Workaround: restarting CodeMeter License Server frees the license.
Reason for this is that CodeMeter continues to occupy the license and keeps the session open. When the Engineering Studio is reopened no free license can be found as the license is already occupied by a previous session.
You'll notice this in the sessions tab in License Monitoring in WebAdmin.
The CodeMeter event log could display errors like:
API request failed, Handle 82 is invalid. The handle is invalid handle.
API Event WB106 (INVALID HANDLE) occured (returned to caller)
Entry (3-4047139 6000111:111000) not found - Event WB0212 (NO MORE LICENSES), Request IP-Address local(IPV6)(CD\christian.feitler) (SID 0x0000 / 0x00) with StationShare Mode
2024-02-23 09:43:39: API Error 212 (NO MORE LICENSES) occurred!
This bug has been recognized and fixed in CodeMeter version 8.20.