Question
Yakov Berger · Aug 25

TCPInboundAdapter - AllowedIPAddresses Error

After setting AllowedIPAddresses with a valid IP address 

i get the following errors.

ERROR <Ens>ErrException: <READ>zOnTask+44 ^EnsLib.TCP.InboundAdapter.1 -- logged as '-'
number - @''

what am i doing wrong?

and question:

where in the message viewer can i see the source IP of the message?

Thanks

Product version: IRIS 2019.1
00
3 0 3 102
Log in or sign up to continue

It's not normally a property of the message header or body objects. You can often find the port number in the Source property of the Body, but not the IP address. To get that, you'll need to look at the Event Log for the service. It will look something like this:

As for what you're doing wrong ... hard to say at this point; not much to go on. Does the connection complete successfully without restricting the allowed IP addresses?

the connection does not  complete successfully.

no messages arrive after adding IP to AllowedIPAddresses list 

i tried adding all the sending IP addresses (including the ones i want to filter out) just to see if for some reason me touching  the setting caused the problem, and it that works ok.

when i remove one of the sending IP addresses from the list and receive a message from a IP not in the list. i see "Rejected connection attempt on port ...."  in the log and then  the above error.

Thanks

Yakov,

I'm not sure I understand your comment. It sounds like the setting is working for the most part - when you add all the IPs (desired and undesired) you can see all messages flow. If you remove certain IPs from the list, you can see those IPs being rejected. There is a disconnect between that last sentence, and the behavior you are explaining where allowing IPs doesn't work.

Can you elaborate on this discrepancy?