My Products
Help
andretvard
CONTRIBUTOR ***

IPPException that periodically returned from API

by andretvard

Hi

 

We periodically get IPPException as answers from API when making requests creating shipments and orders. 

We do not see any pattern in why it happens and do not think it is data-related. Out of 20 requests 3-4 might fail which is a lot.

We are using Azure functions to make the requests so most probably they are done simultaneously in parallel. Can this be the cause? Is there a limit of how many parallel calls is allowed to make?

Is there anything else we can do to avoid it?

 

The exception message that we get:

{"ExceptionType":"IPPException","ExceptionMessage":"","ExceptionFaultCode":"5102","ExceptionMessageID":"5102_c3ec5015-d452-47a1-b4ce-abd222b0fe24","ExceptionDetails":""}

4 REPLIES 4

by Magnus Johnsen

Hi,

To some degree this is to be expected, do you have a retry mechanism in place?

 

How often are you experiencing this rate of exceptions?

The error message is for a network connection reset, do you have any timeouts on your end?

andretvard
CONTRIBUTOR ***

by andretvard

Hi

 

We get these error several times a week I would say.

No, we do not have the retry mechanism but this is what we were thinking about. Is it safe to just resend the same request in case of IPPException or should we check that the object from the failed request was not created in Visma?

 

We have a default timeout limit of 100 seconds per request.

Speaking about timeouts, we also get 408 Request Time-out from time to time.

 

 

 

 

by Magnus Johnsen

Try to increase the timeouts and see if it helps.

 

What you can do to make sure the objects does not exist is to PUT -> If statuscode is 404 POST it, if you receive the exception, retry PUT etc.

andretvard
CONTRIBUTOR ***

by andretvard

Hi

 

Could you please also explain the error messages like:

- The transaction has been silently rolled back before a database update operation.

- A task was canceled.

 

Is this also cases when we need to retry our requests?

 

Thank you