Skip to Main Content
Status Completed
Created by Claus B. Eide
Created on Sep 6, 2023

Better help with the most basic errors

Some very basic and common errors do not have any solution and are classified as unexpected errors


For the two errors illustrated in the screenshots, we need to have relevant and helpful texts in:

  • Execption solution

  • Technical description

  • Exception message (e.g. which IDs that has been used for look up)


Consider if it could be a good idea to run through "Top 10 most frequent errors" and do the same for them. Or perhaps all errors?

Fra: .[ErrorHandling].[tExceptionTypes] og [ErrorHandling].[tExceptionCategories]

Select [ExceptionCategoryName], [ErrorCode], [ExceptionCause] [ExceptionSolution], count(*), min([ErrorHandling].[tExceptionInstances])


See this sheet made by HCE: https://bizbrainseu.sharepoint.com/:x:/g/EbwHYbv9vc5Jr7cJVe5nSVAB4miLSjOfN4XfWWEa13z6Pw?e=hRlnPz

Newer xsl here:

Exceptions in Link 3 - all tenants.xlsx

Data available here:

Jeg har oprettet databasen BizbrainsRepository på EBV-SQL05, og en tabel der hedder [Operations].[tExceptions].


PSP Tanke: Kunne man mon forestille sig at man har nogle actions tilknyttet en fejlkode. Fx er der nogen fejlkoder hvor Resend ofte er action, og andre hvor ”Manually Handle” er en ofte brugt action.


Wish list:

Errorcode: MMTTR occurs a lot. It needs to be split into several messages with better cause and solution:

Sample 1:

https://bizbrains-van-link.bizbrains.com/tracking/result/details;documentIds=42222;internalReload=true

Cause: SSL Connection could not be established to host.

Message should include the specific host it tries to establish connection to:
https://ed.edimondo.com/oxalis/as4

Solution:

Test if the connection is up again manully. If the connection is up resend the document, if it is still not responding contact the reciepient to make sure endpoint is correct.

Category: TransportErrors


Sample 2:

https://bizbrains-van-link.bizbrains.com/tracking/result/details;documentIds=1869466;internalReload=true

Cause: Timeout occured while establishing the http connection.

Solution: Contact endpoint to let them know they most likely have operation issue with their endpoint. Another possibility could be to increase the timeout or retry interval, or if the endpoint is responding again just to resend the document.

Message: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing when connecting to host XXX.

Category: TransportErrors


Sample 3:

https://bizbrains-van-link.bizbrains.com/tracking/result/details;documentIds=1635294;internalReload=true

Cause: Http connection was refused by recipient

Solution: Contact endpoint to let them know they most likely have operation issue with their endpoint. Another possibility could be to increase the timeout or retry interval, or if the endpoint is responding again just to resend the document.

Message: Connection refused (prod01nhedelivery.vax360.dk:443)

Category: TransportErrors


Sample 4:

https://evida-link.bizbrains.com/tracking/result/details;documentIds=173073;internalReload=true

Cause: Recipient send back unknown exception from their system

Solution: Contact the recipient to make sure they have setup the AS4 connection correct at their end and it is running successfull.

Message: AccessDeniedException: C:\EDIGAS_Move_Folder\NorlysEnergi\inbox\_tempAS44570192169315346388.tmp -> C:\EDIGAS_Move_Folder\NorlysEnergi\inbox\payload1668451971516161423.bin

Category: TransportErrors


Sample 5:

https://evida-link.bizbrains.com/tracking/result/details;documentIds=24814168;internalReload=true

Cause: Recipient server return 502 Bad gateway. Could be caused by temporary downtime or overload of server.

Solution: Retry, or contact the endpoint if the problem persist.

Message: 502 Bad gateway while connecting to: xxx

Category: TransportErrors


Sample 6:

https://leman-link.bizbrains.com/tracking/result/details;documentIds=4501992,4496276;internalReload=true

Cause: Connection was refused by recipient

Solution: If this is a concurrency issue setup a concurrency key on the location to limit number of simultaneous connections. Otherwise contact recipient.

Message: Connection refused while connecting to XXX.

Category: TransportErrors

  • Attach files
  • Nicolai Krog
    Reply
    |
    Sep 21, 2023

    Thanks. This will be fixed in one of the next stable releases.

  • Claus B. Eide
    Reply
    |
    Sep 6, 2023

    These two errors happen a lot and the solution is often quite simple.