KB Article #178519
B2Bi PE TA B2BXGI OB Task(procengine(ta_b2bxgi)):Failed to establish connection against GI pluggable server. Host = myHost Port = 6070 Error=SOCKET_CONNECT: connect() system call failed: Connection refused
Problem
-- always getting this error in Trace Viewer when trying to send a message from Integrator to Interchange
ERROR :20170318:11.15.54.97:B2Bi PE TA B2BXGI OB Task(procengine(ta_b2bxgi)):TA.SENDMESSAGEDONE: unknown message
ERROR :20170318:11.15.54.97:B2Bi PE TA B2BXGI OB Task(procengine(ta_b2bxgi)):SendMessageExpire failed
ERROR :20170318:11.16.31.21:B2Bi PE TA B2BXGI OB Task(procengine(ta_b2bxgi)):Failed to establish connection against GI pluggable server. Host = myHost Port = 6070 Error=SOCKET_CONNECT: connect() system call failed: Connection refused
DEBUG :20170321:12.42.23.94:B2Bi PE TA B2BXGI OB Task(procengine(ta_b2bxgi)):Failed to establish connection against GI pluggable server. Host = myHost Port = 6070 Error=SOCKET_CONNECT: connect() system call failed: Connection refused
Resolution
* make sure that Interchange is fully started : the full starts includes the start of all exchange points, include the B2Bi Server Exchange Point that handles the communication from Integrator to Interchange
* as soon as the B2Bi exchange point is started, this logs is thrown
- in cn node :
2017-03-20 10:26:28,086 - INFO [ExchangePointDistributorProcessor] (StartStopMessenger.start:47) - Starting consumer exchange point B2BiServer://localhost:6070 in exchange Global B2Bi Server Exchange Point (id=17501) on node xxxxx_te
- in the te node :
2017-03-27 23:50:51,838 - INFO [Cluster Thread 46] (ManagedB2BiServer.start:45) - Starting B2Bi Embedded Server - Port: 6070
* if Interchange is started and there is no such lines in the logs :
- make sure that the port 6070 is not somehow blocked by a network security / firewall configuration. you might try to change the port in the UI "processing Configuration -> Configure global processing settings" and try again
- look at the exchange points defined in Interchange database. The exchage point is “Global B2Bi Server Exchange Point”. The "enable" value should be set to true, otherwise, the exchange point will not be activated at startup
SQl query to be used : select * from exchangepoints where FriendlyName = 'Global B2Bi Server Exchange Point'