-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in creating Participant in MySQL #277
Comments
@skizup lets take this separately. Can you please show me the "cause" of the SQLException you shown in the logs? Seems some DB specific problem... |
@skizub In your original post you added this image: I would need to know the further details of the stack trace in that image (the "caused by..." stuff). Can you please post it here. Thanks |
The problem is, that the creation of the Service Group in the SML did not work. Please make sure you selected the correct "SML" in the "SMP Settings". Should be "SMK" for test and "SML" for production. |
Well yes it works now, but also means: Your participants don't end up in the SML and therefore they are not disoverable by other Peppol participants. Are you using Peppol certificates? If so, Test or Production? |
That's correct - I just tried to retrieve one of the service groups registered via PEPPOL Practical portal - getting an error saying that service group is not registered. We are using TEST PEPPOL certificates. |
@skizub okay, that is weird. The initial setting is the correct one: Are you using an outbound proxy server for connections to the Internet? |
@phax , I'm not aware of any proxy server used at our end, but I'll try to dig out more details from networking team and get post an update. |
Please check if your configuration contains any of the items mentioned at https://github.com/phax/phoss-smp/wiki/Configuration#httpproxy - the UI should also give an indicator. But the underlying problem is clearly that you can reach the SML. Maybe it was just a temportary hickup and a retry will work?? |
@phax, thank you - I'll double-check configuration. Also it doesn't look like a temporary issue, I just tried to set two "SML connection..." fields to 'true' and got same error back. When I set them back to 'false', registration works, but only in local database SML is not being updated. Except proxy option, cannot it be a firewall blocking outgoing connections? |
Yes, it might also be some firewall issue - but they usually prevent connection and don't respond with an HTTP error code. You may try to use the "debug" log level to see the transmission and the headers returned - maybe that helps to see the source of the error. |
@phax, Proxy Initialization (from application.properties) Service Group registration(beginning before producing exceptions): If I can read logs correctly it uses direct connection. |
Yes thanks - it uses direct connection. Or do you also get an HTTP 404 when trying to do so? |
@phax, tried to access SML from browser, which I'm using to configure SMP backend. Here is a reply I got: |
Hmm, this is very weird. I am afraid I can't help you any further without looking at the system. Please reach out to me via email (firstname@lastname.com) and lets see if we can have a Zoom session or so... |
We are trying to resolve the topic out of band. It seems to have been a network level configuration issue... |
@phax , many thanks for your help. All works perfectly now. Just as an nice to have point for future versions: is it possible to mention that given exception could be linked to the networking issue? What it says currently somehow leads user to check database... |
a very similar problem:
SMP server version 7.1.1 with SQL backend:
On JDBC settings: amended after checking your post above - no luck:
In logs:
Database user must have full access to database schema.
All database tables were created during server startup:
Originally posted by @skizub in #273 (comment)
The text was updated successfully, but these errors were encountered: