Closed bdijk12 closed 2 years ago
The problem has nothing to do with the database. The problem was the creation of the participant in the centralized SML. Please check the following things:
hth
Hi,
I did some checking:
Id 9944:62405292 is registered at the SMK
When creating a new service group I now get
Error creating the new SMP Service Group for participant 'iso6523-actorid-upis::9944:62405292'. Technical details: SMPInternalErrorException - Error creating ServiceGroup 'iso6523-actorid-upis::9944:62405292' Caused by: SQLException - Caught exception while perfoming something in a level 1 transaction [3] Caused by: RegistrationHookException - Could not create business iso6523-actorid-upis::9944:62405292 in SML Caused by: ClientTransportException - The server sent HTTP status code 400: Bad Request
But: when I try to create one for
iso6523-actorid-upis::0106:23082475
It works.
So where does it go wrong?
Outlook voor Androidhttps://aka.ms/AAb9ysg downloaden
From: Philip Helger @.> Sent: Tuesday, January 4, 2022 5:33:11 PM To: phax/phoss-smp @.> Cc: Bart-Jan van Dijk @.>; Author @.> Subject: Re: [phax/phoss-smp] Error creating new SMP Service Group (Issue #187)
The problem has nothing to do with the database. The problem was the creation of the participant in the centralized SML. Please check the following things:
hth
— Reply to this email directly, view it on GitHubhttps://github.com/phax/phoss-smp/issues/187#issuecomment-1004959965, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXEYPCXNO2VRMXRI2DYSXS3UUMOMPANCNFSM5LHBNPWQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>
I deleted the SMP from the SMK, and tried to reregister.
Error registering SMP 'QUYNTESS-SMK' with physical address '94.228.219.40' and logical address 'http://smp-test.quyntess.com' to the SML 'https://acc.edelivery.tech.ec.europa.eu/edelivery-sml'. Technical details: ClientTransportException - Der Server hat HTTP-Statuscode 400 gesendet: Bad Request
Now I’m really stuck.
Any ideas?
Bart-Jan
From: Philip Helger @.> Sent: Tuesday, January 4, 2022 5:33 PM To: phax/phoss-smp @.> Cc: Bart-Jan van Dijk @.>; Author @.> Subject: Re: [phax/phoss-smp] Error creating new SMP Service Group (Issue #187)
The problem has nothing to do with the database. The problem was the creation of the participant in the centralized SML. Please check the following things:
hth
— Reply to this email directly, view it on GitHubhttps://github.com/phax/phoss-smp/issues/187#issuecomment-1004959965, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXEYPCXNO2VRMXRI2DYSXS3UUMOMPANCNFSM5LHBNPWQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.**@.>>
I'll be stumped. I redeleted the SMP and now it worked.
Successfully registered SMP 'QUYNTESS-SMK' with physical address '94.228.219.40' and logical address 'http://smp-test.quyntess.com' to the SML 'https://acc.edelivery.tech.ec.europa.eu/edelivery-sml'.
And now of course, my participants are not know and I cannot delete them
And found that check-dns state can help :-) Nice
Okay, so you are digging yourself the way through :) Alternatively you can always go to the "SMP Settings" and disable the SML there. Than you can create/delete entries "just locally". Btw. I can't reach your SMP from the outside.
Under which url?
Outlook voor Androidhttps://aka.ms/AAb9ysg downloaden
From: Philip Helger @.> Sent: Tuesday, January 4, 2022 8:47:36 PM To: phax/phoss-smp @.> Cc: Bart-Jan van Dijk @.>; Author @.> Subject: Re: [phax/phoss-smp] Error creating new SMP Service Group (Issue #187)
Okay, so you are digging yourself the way through :) Alternatively you can always go to the "SMP Settings" and disable the SML there. Than you can create/delete entries "just locally". Btw. I can't reach your SMP from the outside.
— Reply to this email directly, view it on GitHubhttps://github.com/phax/phoss-smp/issues/187#issuecomment-1005120478, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXEYPCUHYUO3OJ32YLJ6D7DUUNFFRANCNFSM5LHBNPWQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>
I removed all paths from port 80 except /secure. Is that correct or should I block more on oort 80?
If the SMP is for Peppol it MUSt run the query API under Port 80. You can put /secure etc. under Port 443 if you like
In the meantime I can access http://smp-test.quyntess.com/public from my machine - nice
So I assume everything works now as expected?
Yes. Although the http errors are a bit strange. Seems to arise ifyou do not wait long enough for the update to go through. Am I correct?
Op ma 10 jan. 2022 21:17 schreef Philip Helger @.***>:
So I assume everything works now as expected?
— Reply to this email directly, view it on GitHub https://github.com/phax/phoss-smp/issues/187#issuecomment-1009307229, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJIPRJ3QOQYZ5MLXJ534OLUVM5F7ANCNFSM5LHBNPWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
These errors can have plenty of reasons.
If you have a slow network, you may increase the sml.connection.timeout.ms
and sml.request.timeout.ms
values to increase the timeout.
The other HTTP errors from the SML usually have a semantic meaning as described in https://github.com/phax/phoss-smp/wiki/SML-notes
We have deployed a new release, but when we try to create a service group we get the below error:
Error creating the new SMP Service Group for participant 'iso6523-actorid-upis::0106:xxxxxxx'. Technical details: SMPInternalErrorException - Error creating ServiceGroup 'iso6523-actorid-upis::0106:xxxxxxx' Caused by: SQLException - Caught exception while perfoming something in a level 1 transaction [2] Caused by: RegistrationHookException - Could not create business iso6523-actorid-upis::0106:xxxxxx in SML Caused by: ClientTransportException - The server sent HTTP status code 404: null
It looks like it is running into an SQL issue, so I re-inited the database, to no avail.
Any thoughts how to debug this issue further?