Meter reading error

Avatar

rudiemm
2012-02-16 10:49

Question:
I get the below error when trying to do a read on a meter.


Tags: servicewebwebservicewebservices
Avatar

rudiemm
2012-02-16 10:50

Answer:Cleaning up server TCP sockets is sometimes a bit messy - requiring a longer timeout - and then after repeated attempts you collide with yourself coming & going.I've investigated this case, and it seems the Maestro modem has stopped connecting to us. Is it prepaid? Is the modem freezing up? (do you have a watchdog configured or installed on it?)When I did a netcat -lvvp 13589, the server socket opened fine. That means no-one else is hogging that port.When I then tried to connect from a telnet session on my notebook to www.pnpscada.com 13589, it connected without a problem. Therefore it seems that the server socket does usually get cleaned up correctly (after a while); and that connections from outside do go through (no firewall); so the only thing that can be wrong is the modem not connecting to us.When I look at the Meter Read Log, it corraborates my story: most of the problems happening are 'Accept timed out'. This means it usually manages to create the listening server socket correctly (in your example it didn't); and that the main reason the meter is not reading in is in fact because the modem is not connecting to the listening server socket in question.

Please log in to post a comment