KB Article #182639

Fail to connect tsclient after upgrade.

Problem

After B2Bi server was upgraded to version UP202-10, the tsclient was upgraded too but after this upgrade, ts client can't connect to the server, the following error appears in the login window:

mburl.s4:358:Detected errors, analysing...
mburl.s4:365:Received HTTP code 400, instead of expected 200
mburl.s4:367:Response data: <html>
="text/html;charset=ISO-8859-1"/>
e>
ed</h2>
tions</td></tr>
ed</td></tr>


Resolution

On the B2Bi server side, the following file must be changed for whitelisting the tsclient hosts:

<B2Bi_installation>/Interchange/webapps/jettyCN.xml

Uncomment the line:

<!--Set name="allowedHosts">localhost;subdomain.domain.com;192.168.0.10;*parentdomain.com</Set-->

the following arguments are described below:

localhost= does not need to be changed

subdomain.domain.com = B2Bi server long host

192.168.0.10 = the tsclient host, but can use 0.0.0.0 to allow all the hosts in the domain

*parentdomain.com = permit hosts from all the domain and subdomain

If you don't use 0.0.0.0 for tsclient host then for each host new allowed hosts must be added

An example for the allowed hosts line:

<!--Set name="allowedHosts">localhost;server2.production.local;0.0.0.0;*production.local</Set-->