realearn icon indicating copy to clipboard operation
realearn copied to clipboard

Server determines wrong IP address when VPN adapter present

Open TheMiscreant opened this issue 4 years ago • 3 comments

Hey there, you asked over on the Reaper forum to open an issue for the following (in your words):

"It's not very convenient that way but it seems your particular network setup is a bit too complicated for ReaLearn to figure out the correct IP address automatically - it chooses the wrong one (maybe the one in use by your VPN adapter). If this is bothering you and you need the QR code convenience, please open a ticket on GitHub. Maybe I can improve the detection mechanism to prefer "192.168." (= local) IP addresses, or at least provide a possibility to enter a fixed IP address in ReaLearn's INI file."

TheMiscreant avatar Sep 01 '21 23:09 TheMiscreant

Correcting myself: Fixed IP address probably doesn't make too much sense because most setups use DHCP. So preferring "192.168." is maybe the only way.

helgoboss avatar Sep 02 '21 17:09 helgoboss

Yeah, honestly, not using the QR code isn't too big of a deal. I boot up, check my IP, boot up ReaLearn and input. Ta-da.

TheMiscreant avatar Sep 02 '21 17:09 TheMiscreant

Not trivial because there's no code right now to enumerate all network adapters. The only thing we could do right now is logging a warning that the determined IP address doesn't look like a local address and therefore it probably won't work. Mmh.

helgoboss avatar Sep 06 '21 19:09 helgoboss