phax / phoss-smp

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

InternalErrorFault when registrering in SML #85

Closed mikkelbm closed 5 years ago

mikkelbm commented 5 years ago

Hi,

I'm trying to setup an test SMP, and have reached the point where I want it to be registered in the SMK.

But I'm getting an internal error, when I hit the "Register" button:

The error from the frontend: Error registering SMP 'TEST-SMP-BIZBRAINS' with physical address '13.93.106.9' and logical address 'http://test-smp-peppol.bizbrains.com' to the SML 'https://acc.edelivery.tech.ec.europa.eu/edelivery-sml'. Technical details: InternalErrorFault Internal error [JUoL1ErIUgK56OLafokUNOsXYXfi9R05r0rNP4vJ4QtvoEOOM3wE!179131750!1542091721416]

And the error from the tomcat log:

[2018-11-13T07:48:41,770] [SMP-SERVER] [ERROR] [http-nio-80-exec-9] Error registering SMP 'TEST-SMP-BIZBRAINS' with physical address '13.93.106.9' and logical address 'http://test-smp-peppol.bizbrains.com' to the SML 'https://acc.edelivery.tech.ec.europa.eu/edelivery-sml'. -- com.helger.peppol.smpserver.ui.secure.PageSecureSMLRegistration._registerSMPtoSML(PageSecureSMLRegistration.java:231)
com.helger.peppol.smlclient.smp.InternalErrorFault: Internal error [JUoL1ErIUgK56OLafokUNOsXYXfi9R05r0rNP4vJ4QtvoEOOM3wE!179131750!1542091721416]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_191]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_191]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_191]
    at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_191]
    at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:150) ~[jaxws-rt-2.2.10.jar:2.2.10]
    at com.sun.xml.ws.client.sei.StubHandler.readResponse(StubHandler.java:253) ~[jaxws-rt-2.2.10.jar:2.2.10]
    at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:203) ~[jaxws-rt-2.2.10.jar:2.2.10]
    at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:290) ~[jaxws-rt-2.2.10.jar:2.2.10]
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119) ~[jaxws-rt-2.2.10.jar:2.2.10]
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:92) ~[jaxws-rt-2.2.10.jar:2.2.10]
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:161) ~[jaxws-rt-2.2.10.jar:2.2.10]
    at com.sun.proxy.$Proxy85.create(Unknown Source) ~[?:?]
    at com.helger.peppol.smlclient.ManageServiceMetadataServiceCaller.create(ManageServiceMetadataServiceCaller.java:187) ~[peppol-sml-client-6.2.0.jar:6.2.0]
...

I'm not sure how I should debug this error or how I can find out what's wrong. Are there any other logs I can look into?

Any help will be appreciated...

Thanks...

/Mikkel

mikkelbm commented 5 years ago

I have just tried to register via this page: https://peppol.helger.com/public/locale-en_US/menuitem-tools-smp-sml - but It looks like it's the same error that occurs as with my local setup.

Error registering SMP 'TEST-SMP-BIZBRAINS' with physical address '13.93.106.9' and logical address 'http://test-smp-peppol.bizbrains.com' to the SML 'https://acc.edelivery.tech.ec.europa.eu/edelivery-sml'. Technical details: InternalErrorFault Internal error [Ru0L7BVegrzUctYmWSn6REItD1mcSBl_VFp6T7uMNiTdu1yXkq2S!179131750!1542093280606]

mikkelbm commented 5 years ago

I think I have found the issue... For some reason our Operations team have created the private key without a password - and when I created the keystore I put a password on both the keystore and the imported key-pair.

When I removed these passwords, I was able to register in the SML with success...