michel

EVENT NOTIFICATIONS retries and time outs

0 votes
We are successfully receiving EVENT NOTIFICATIONS on one of our service endpoints:
name=PACKAGE_COMPLETE, sessionUser=xxx, packageId=rf3254trfdsdsa-K3PDEY=, message=null, documentId=null, createdDate=2019-08-07T14:14:58.508Z
This works great. Unfortunately I can not find any information about how our esignlive provider handles none 2xx response codes from our site. So what happens when our service is down or some network interruptions are there? Is there some retry mechanism implemented by esignlive? thanks in advance

Approved Answer

Reply to: EVENT NOTIFICATIONS retries and time outs

1 votes
Hey michel, Sorry for the confusion, OneSpan Sign system was expecting 2xx(like 200 or 204) response from your listener. Any response other than that will results in a Callback failed email. Time-out also counts, and you will see a "java.util.concurrent.TimeoutException" error in your email: The default callback timeout is an instance setting, it's 20 seconds now. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: EVENT NOTIFICATIONS retries and time outs

1 votes
Hey Michel, Unfortunately, callbacks don't currently have a real retry mechanism. - If a failure occurs during the callback itself, then an e-mail with the failure reason is sent to the package owner. - If the failure occurs before, then the uncaught exception will cause a JMS retry. After the maximum number of attempts, the message gets sent to the dead-letter-queue, which is ignored. To minimize the risk that your listener missed a call, your could then actively polling the relevant information every 12 or 24 hours as a backup. Hope this could help! Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: EVENT NOTIFICATIONS retries and time outs

0 votes
Thanks for the anwers. Some more questions to make it more clear for me because I don't understand it completely
"If a failure occurs during the callback itself, then an e-mail with the failure reason is sent to the package owner."
  1. Whats does this mean? Which http response codes from our site results in this e-mail? Or is it when a time-out occurs?
  2. And how long does your system wait for a response?
Thanks

Reply to: EVENT NOTIFICATIONS retries and time outs

0 votes
Great. This will answer all my question. It looks like a polling mechanism will be the best option for our situation. Thanks

Reply to: EVENT NOTIFICATIONS retries and time outs

0 votes
Glad to help! :)

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off