We have configured our element to listen on a smart serial port, but it does not seem to be receiving data. The device that posts to this port has errors of "No connection could be made because the target machine actively refused it".
Looking on the machine itself, I can see that the port is not open (using Resource Monitor), but all 5 instances of SLPort are running and no apparent errors in the logs.
Where would you start to investigate? Please note that it will be very challenging to install wireshark so any other suggested tips would be appreciated (but if this is the only way then so be it).
Recently upgraded from DM9.6.10 to DM10.1 CU2 (unsure if related, but other environments do not have the above issue)
Hi,
First place to look in these cases is the StreamViewer.
This will show you all the incoming data.
In case you see data and you don't see that represented into your displayed parameters it means that the received data does not correspond with the defined expected response.
You can use the element log > Debug level on Log Everything. Using this level you should be able to see what responses do not match.
As an extra Tip:
Smart-serial integrations usually find issues by defining header or trailer params that are not used. It is often forgotten that SLPort will take these definition into account even when it's not part of a Response definition. My personal reminder for this is to see these params as indications to SLPort to "pay attention to these keywords in the big pile of data it will/can receive" A bit like someone would say your name in a conversation you are not even part of.
Hi Mieke. Thanks for the suggestions.
As it turns out, we see nothing on StreamViewer, even where this is working on our other agents. Even after raising the logging to 6-6-6.
I’ve just come from the incident being resolved so will add an edit on my original question with how it was (embarrassingly) resolved, but thanks for the tips