-
Hello, We're currently in the process of migrating away from Oxalis for performance reasons. We want to merge the efforts of swapping the implementation at the same time as we do our certificate renewal that is happening soon for us. For that purpose, we based our work on phase4-peppol-standalone. Just for sanity's sake before running further tests, we tried to re-run the Peppol TestBed suite, but besides the TLS test, we fail the sending and receiving tests. Are there any known issues regarding TestBed currently? Am I missing something that I perhaps forgot about? This is the error I'm getting when receiving a document from the TestBed:
As stated before, this works if we send to ourselves and the program shows error messages when any of the keystore parameters are wrong ( This is the error I'm getting when sending a document to the TestBed: {
"description":"An undefined error occurred.",
"errorDetails":"The incoming Peppol message could not be processed.: Technical details: com.helger.phase4.peppol.Phase4PeppolException - TestBed Error Response: [Code=-4204, Description=Failed to correlate inbound request to a valid running test case. Make sure that your test case is in a running state and that you have followed the directions., Trace=6d6f3ab7-ca6c-4eb0-a15a-ffbbcc9108dc]",
"category":"Content",
"refToMessageInError":"bb561cb4-fc3f-488b-bee7-d1629ddd29c7@phase4",
"errorCode":"EBMS:0004",
"severity":"failure",
"shortDescription":"Other"
} |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
Hmm - hard to say from the outside. Edit: in general, there are no known issues with the Testbed (as the Testbed also uses phase4) |
Beta Was this translation helpful? Give feedback.
-
I figured it wouldn't be easy to figure out just from what I said, sorry it's a bit vague. As far as I can tell, I have done everything that's required to be considered in the test environment. Extract of application.properties
Tried to switch between the old and the new trust store (jks vs p12), but it doesn't seem to be related. The parameters are doing something, because I get warnings when I change them to files that don't exist. I don't think it is related to test vs. prod, because the document I successfully sent to myself over the test network has Edit: just understood why you might be thinking that I was in prod. When I tested the prod certificate, I had changed all those parameters before testing, in fact it wasn't even on the same server. |
Beta Was this translation helpful? Give feedback.
-
Following along .... looks like the error only happens with the TestBed, not in prod or local setups. |
Beta Was this translation helpful? Give feedback.
Ah okay, I think we're getting closer :) The name of the key doesn't matter - as long as it is configured correctly.
Are you eventually trying to use the Testbed with G3 certificates already? The current testbed can only deal with G2 certificates. For the transmission tests, the Testbed also doesn't do SMP lookups - it is using the client certificate you are providing on "onboarding" (you know what I mean). So if you used a G3 AP certificate to access the Testbed, it will encrypt the messages with this G3 certificate. Please make sure that the certificate you use in the Testbed and the certificate you configured as key in your application are the same.