PDA

View Full Version : "License key conflict"



mystara
June 17th, 2012, 12:23
Hi,

I'm trying to connect to my own server using a duplicate copy of Fantasygrounds.
Unfortunately, whenever I do so, I get a "License key conflict" - presumably because both versions are presenting the same license key.

How do I work around this? I just want to be able to connect to my own server as a player in order to test my configuration.

damned
June 17th, 2012, 13:17
you can launch 2 instances locally on the same computer - one as host and one as player/client...

Blahness98
June 17th, 2012, 14:58
To do this, you will have to launch two instances of FG on the same PC. The first instance should be a GM side running whatever you need testing. To connect as a player, use your loopback address of 127.0.0.1 to connect to your gm client.

mystara
June 17th, 2012, 15:34
Hi,

That's what I'm trying to do, but I get the above "License key conflict" error.

If it makes any difference, I'm using crossover on mac.

Griogre
June 17th, 2012, 17:49
It might matter, I've never heard of someone getting a license key conflict running two instances of FG on the same machine unless they were trying to connect with the alias. Maybe someone else with Crossover will speak up.

DrZuess had a recent post about the pros and cons of various arrangements on the Mac not too long ago and he didn't mention anything. You might want to post about your problem on this thread in the House of Healing: https://www.fantasygrounds.com/forums/showthread.php?t=16661

Doswelk
June 17th, 2012, 18:21
I suspect it might, I suspect Crossover keeps each running app in it's own virtual windows PC and thus FGII will see it as two different PCs running the same license key.

Zeus
June 17th, 2012, 19:34
Under CrossOver for Mac, to launch a 2nd instance of FGII you cannot launch it from the shortcut under the Programs menu or using the .app shortcut links within Finder. Instead you have to select 'Run command' from CrossOver's Programs menu and then manually browse to the FantasyGrounds.exe file under your FGII bottle.

This will ensure a 2nd instance of the .exe is executed.

From there you should be able to then join your localhost game.

mystara
June 18th, 2012, 07:15
I'm afraid that doesn't seem to work for me.

I still get the "license key conflict" error.

Moon Wizard
June 18th, 2012, 07:38
Make sure that you are using "localhost" or "127.0.0.1" as the host name for the client connection. If you use the internal IP or external IP address, you will still get that error.

Regards,
JPG

mystara
June 18th, 2012, 08:28
I've tried both localhost and 127

mystara
June 21st, 2012, 08:49
Any ideas?

Moon Wizard
June 21st, 2012, 19:51
Unfortunately, I don't have a Mac machine for development, so I have no way of testing this scenario. If the host resolves to 127.0.0.1 for the network connection, then the license check will be bypassed. My guess is that localhost is resolving to something other than 127.0.0.1 in the Crossover configuration, but I have no way to test.

Perhaps one of the Mac guys in the community has some other ideas?

Regards,
JPG

mystara
June 21st, 2012, 20:36
hm, that could make sense. After all, is a connection to localhost trying to connect to the virtual machine or to the mac?

Ruien
June 22nd, 2012, 10:09
I know it's not much of a data point, but running FG2 under Crossover on Linux (64-bit Xubuntu 12.04) I am able to launch two separate instances of FG directly using the desktop .lnk file and having no issues connecting to myself on 'localhost'. So, it seems this is a Mac problem, not a Crossover problem.


After all, is a connection to localhost trying to connect to the virtual machine or to the mac?
I am not sure what this means - you don't have any "virtual machine" with crossover; you're using wine, and /etc/hosts (on the host) affects domain resolution directly.

Zeus
June 22nd, 2012, 11:04
mystara - can you navigate to Crossover's Program Menu, select Run Command. When the dialog opens, make sure you have selected the correct bottle for your FGII install from the Use bottle: pull down. Then open the Debug Options pane and click the Open Shell button.

You should now be in a shell environment in the drive_c folder of the FGII bottle.

First, lets establish whether localhost is resolving to 127.0.0.1 and that we can reach the interface, type in ping localhost

You should get some repeating output of:


64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.038 ms

If thats the case, something odd is going on within the bottle.

To help deduce the root of the problem, you can launch fantasy grounds from the Programs->Run Command dialog and capture CrossOvers/Wine events/errors. Make sure you Select the right bottle and use browse to navigate to the FantasyGrounds.exe, make sure Create Log File under Debug options is selected and then click run.

You will need to do this for both instances of FGII.

You can then examine the log files for any hints as to whats going wrong.

mystara
June 23rd, 2012, 10:28
Interesting...

I'm actually away from home right at the minute and I tested this on a different network.

The ping response was correct and the client connects to the server correctly!

I wonder if it's something to do with how I've set up port forwarding.