TCP Inbound Adapter - Call Interval Error

Primary tabs

hi,

Product: 

IRIS for Windows (x86-64) 2019.1.1 (Build 612U) Mon Oct 28 2019 11:29:24 EDT [HealthConnect:1.1.2]
 

i am using a TCP Inbound  Adapter with call interval set to 5.

To my understanding this means that the adapter check to see if there any connections to the port every 5 seconds.

But i am getting error  "No Connection made on port 12123 within interval 5"

The sending application connections to the port happen at no specific interval, what are the recommended setting for call interval?.

 

Thanks


 

 

 

Replies

Have a look at the StayConnected setting under Connection Settings. By default, it is set to -1 which means the adapter expects to always have an active connection and will throw an error if it doesn't.

Setting StayConnected to 0 would mean the remote system can connect and disconnect as needed without triggering an error.

Stay Connected

Applies to all TCP adapters.

If StayConnected is a positive value, the adapter stays connected to the remote system for this number of seconds between input events. A zero value means to disconnect immediately after every input event. The default of –1 means to stay permanently connected, even during idle times. Adapters are assumed idle at startup and therefore only auto-connect if they are configured with a StayConnected value of –1.

The value of StayConnected controls how the TCP adapter treats disconnections. If StayConnected
has a value of –1, the TCP adapter treats a disconnection as an error. If it has a value of 0 or a positive integer, the TCP adapter does not consider a disconnection an error.