Disable IP Check

Description

When a technology like load-balancing is used it may happen that public IP address changes between web service requests. This prevents synchronization from running and there are these errors repeating in the log:

--- 2022-05-23 15:17:03,495 [OUTLOOK] WARN [HASH: (null)] [WS: ] [USER: (null)] [EWAY: eWay-CRM Premium 7.2.0.76] [OL: 16.0.15128.20224] [WIN: Microsoft Windows NT 10.0.19044.0] ---
GetInfo failed (RC = 'rcBadSession') with the following error 'UserHostAddress changed from 'XXX.XXX.XXX.XXX' to 'YYY.YYY.YYY.YYY'. Re-login required.'
--- END TRACE ---

Version

All versions of eWay-CRM

Difficulty

High

Resolution

You need to add the PreventSessionRemoteAddressChange key to the Web.config file and set it to the 0 value.

<appSettings>
    <add key="PreventSessionRemoteAddressChange" value="0" />
</appSettings>