phax / phoss-smp

phoss SMP - a Peppol and OASIS BDXR SMP Server, CEF eDelivery compliant
126 stars 37 forks source link

Internal error in addServiceGroupToIndex from SMP server #282

Closed katoduwee closed 3 days ago

katoduwee commented 1 month ago

Hi Philip,

We received a weird error from the SMP server based on your phoss-smp repository. You can find the stacktrace from our logs in annexe. The specific error we encountered was the following: [2024-07-09T09:05:54,315] [SMP-SERVER] [ERROR] [http-nio-8080-exec-11] Internal error in addServiceGroupToIndex for iso6523-actorid-upis::0106:01072024 -- com.helger.pd.client.PDClient.lambda$_createDefaultExCb$0(PDClient.java:62)

Is this a common error? What is the PDClient? How do we fix this?

extract-2024-07-11T15_46_06.021Z.csv

phax commented 1 month ago

Hi @katoduwee, In your log, you show adding a Business Card via REST API. In this case, it seems like you had issues with reaching the Peppol Directory on a network level. Most likely the Directory was busy.... Just try again and you should be good. PDClient is the "Peppol Directory Client" and is used to trigger the update of the BusinessCard inside the Directory solution (directory.peppol.eu and test-directory.peppol.eu)

katoduwee commented 1 month ago

Hi,

Thank you for the quick response! Is there a reason we ain't calling the peppol directory asynchronously since it doesn't affect the status of the createBusinesscard?

phax commented 1 month ago

@katoduwee No, there is no particular reason why this isn't called asynchronously. Calling it synchronously is just easier :) However, in this case there is no harm. The only consequence is, that the Business Card is not syneced to the Directory. With the next change of the ServiceInformation of that participant, the Business Card gets pushed again, or you can simply push the "sync all" button on the GUI.

phax commented 3 weeks ago

@katoduwee is there anything else you need to know, or can this issue be closed?