Ranorex 5.4.6 - License popups are out of control

Bug reports.
krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Ranorex 5.4.6 - License popups are out of control

Post by krstcs » Wed Jun 15, 2016 2:15 pm

Ranorex 5.4.6
Windows 7 and 10

When my laptop is removed from the work network (disconnect from VPN, sleep at end of day), the Ranorex IDE popups up the notice asking if I want to change the license information. This popup replicates over and over until you click a button, so if left very long, there can be 50-60 popups.

There should ONLY BE ONE POPUP for a system.



In addition, if you select NO, the popup closes not only Ranorex, but SharpDevelop as well, if it's open. Ranorex Studio should be the ONLY application that is closed.
Shortcuts usually aren't...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex 5.4.6 - License popups are out of control

Post by Support Team » Fri Jun 17, 2016 1:49 pm

Hello Kelly,

Thank you for the information, we will investigate on that.

Am I right, that you're referring to the following pop-up?
RanorexLicenseManagerConnection.png
RanorexLicenseManagerConnection.png (3.6 KiB) Viewed 867 times
Sincerely,
Robert
.
Image

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Ranorex 5.4.6 - License popups are out of control

Post by krstcs » Fri Jun 17, 2016 2:40 pm

No, it is the other one. It says something like "Would you like to change your license server information now? Yes/No".

I didn't get a screen shot of it, sorry. And I try not to let it happen because of how much trouble it is. :D
Shortcuts usually aren't...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex 5.4.6 - License popups are out of control

Post by Support Team » Mon Jun 20, 2016 2:20 pm

Hi,

Hmm. That's strange, I wasn't able to force the dialog to appear by disconnecting the machine from network. Maybe there is some custom code triggering the dialog? Could you provide a small sample solution which shows the mentioned behavior?

Thank you in advance.

Sincerely,
Robert
.
Image

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Ranorex 5.4.6 - License popups are out of control

Post by krstcs » Mon Jun 20, 2016 2:46 pm

There is no solution that causes it. I get it even when I don't have a solution loaded, so it is not related to anything on my side.

It tends to happen most often when my laptop is asleep for a while and then I wake it up without being connected to my work network, such as when I work from home and start up there. In the time it takes to connect to the VPN I can get 10 or more popups, especially if I have more than one Ranorex application running (it does it with Spy as well).

I'm sure it is partly a timing issue.

I think I've figured out a potential scenario, so try this:

1. With system connected to network and license server, startup Ranorex Studio or Spy.
2. Put system to sleep.
3. Disconnect from network with system still asleep.
4. Wake computer with network disconnected.
5. Wait for popups to appear.
Shortcuts usually aren't...

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Ranorex 5.4.6 - License popups are out of control

Post by krstcs » Wed Jun 22, 2016 2:12 pm

Here is a screenshot of the dialog:
Ranorex License Manager Popup.png
Ranorex License Manager Popup.png (5.98 KiB) Viewed 833 times
Shortcuts usually aren't...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex 5.4.6 - License popups are out of control

Post by Support Team » Thu Jun 23, 2016 8:34 am

Hi Kelly,

Thank you for the instructions and additional information.

Unfortunately, we are still not able to reproduce the mentioned behavior, nor do we have any other customers facing that issue. It must be somehow related to your VPN connection. I'm afraid that there is not much we can do on our side, without having the chance to reproduce the issue.

Sincerely,
Robert
.
Image

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Ranorex 5.4.6 - License popups are out of control

Post by krstcs » Thu Jun 23, 2016 1:17 pm

It is not related to our VPN. As I said, it happens when the system is NOT connected to the network. The VPN software is not running or connected at the time.
Shortcuts usually aren't...

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Ranorex 5.4.6 - License popups are out of control

Post by krstcs » Thu Jun 23, 2016 6:26 pm

Also, both systems are on the same domain but different subnets, and I am using the server's name (obviously from the screenshot... :D ) for the connection in License Server Manager, not the IP address. Could it be related to a failed DNS lookup by the License Manager code when I'm not on the network?

I can't use direct IP because our servers are not guaranteed to have the same IP address at all times.
Shortcuts usually aren't...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex 5.4.6 - License popups are out of control

Post by Support Team » Tue Jun 28, 2016 2:05 pm

Hi Kelly,

Sorry for the late reply, but I needed to talk to our developers.

Unfortunately, it's still unclear why this message is displayed on your machine. As already mentioned it's not reproducible, nor do we have other customers reporting this behavior.

I hope that closing Ranorex before leaving your work etc. is a sufficient solution for you so far.

Sincerely,
Robert
.
Image

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Ranorex 5.4.6 - License popups are out of control

Post by krstcs » Tue Jun 28, 2016 2:18 pm

Thanks for looking into it Robert.

Unfortunately, it doesn't just happen when I leave work for the day, it also happens sometimes when I go to meetings in the building, etc. Our desks have wired docking stations, but the meetings require wireless, which isn't connected directly to the same network as the wired connection, so we sometimes have to us the VPN even in our own building. There are times when this also causes the issue, but it is not as common.

At this point the issue is not a major problem, just more of an annoyance.

Another thing I thought of is that this happened on my old laptop as well, with Windows 7, so it isn't limited to my current system.

Anyway, no rush, I just wanted to make you guys aware of the issue.
Shortcuts usually aren't...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex 5.4.6 - License popups are out of control

Post by Support Team » Wed Jun 29, 2016 9:29 am

Hi Kelly,

Thank you for the additional information and reporting this behavior.

Sincerely,
Robert
.
Image