We have a problem to monitor AS2 connectivity. If I try to telnet OpenAS2 port, we get error and AS2 send to us notification email:
senderid=
receiverid=
exception=org.openas2.NetException
description=Address = /192.168.100.200 port = 1308
trace:
org.openas2.NetException: Address = /192.168.100.200 port = 1308
at org.openas2.processor.receiver.AS2ReceiverHandler.handle(AS2ReceiverHandler.java:62)
at org.openas2.processor.receiver.NetModule$ConnectionThread.run(NetModule.java:105)
Caused by: java.io.IOException: Invalid HTTP Request
at org.openas2.util.HTTPUtil.readRequest(HTTPUtil.java:283)
at org.openas2.util.HTTPUtil.readData(HTTPUtil.java:231)
at org.openas2.processor.receiver.AS2ReceiverHandler.handle(AS2ReceiverHandler.java:60)
... 1 more
My questions is: How is possible to monitor OpenAS2 if it's alive and don't get this exception error?
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One method is to have another openas2 server that sends a message every 20 minutes and to either monitor the mdn directory or msghdr directory and generate an error if the newest file is older than 20 mins.
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i had the same problem to find a way to monitor our system. So i added a bit code to the openAs2 implementation,
that writes each poll a timestamp to a file. I don't know if you are familiar with java, but thats an easy solution
and you don't have to install another server. Sure you don't monitor the complete transmission of a file, but
to check, if the system is running, it should be enough.
Lars
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
We have a problem to monitor AS2 connectivity. If I try to telnet OpenAS2 port, we get error and AS2 send to us notification email:
senderid=
receiverid=
exception=org.openas2.NetException
description=Address = /192.168.100.200 port = 1308
trace:
org.openas2.NetException: Address = /192.168.100.200 port = 1308
at org.openas2.processor.receiver.AS2ReceiverHandler.handle(AS2ReceiverHandler.java:62)
at org.openas2.processor.receiver.NetModule$ConnectionThread.run(NetModule.java:105)
Caused by: java.io.IOException: Invalid HTTP Request
at org.openas2.util.HTTPUtil.readRequest(HTTPUtil.java:283)
at org.openas2.util.HTTPUtil.readData(HTTPUtil.java:231)
at org.openas2.processor.receiver.AS2ReceiverHandler.handle(AS2ReceiverHandler.java:60)
... 1 more
My questions is: How is possible to monitor OpenAS2 if it's alive and don't get this exception error?
Thank you.
Yuri,
One method is to have another openas2 server that sends a message every 20 minutes and to either monitor the mdn directory or msghdr directory and generate an error if the newest file is older than 20 mins.
John
Hi Yuri,
i had the same problem to find a way to monitor our system. So i added a bit code to the openAs2 implementation,
that writes each poll a timestamp to a file. I don't know if you are familiar with java, but thats an easy solution
and you don't have to install another server. Sure you don't monitor the complete transmission of a file, but
to check, if the system is running, it should be enough.
Lars