29 Messages
Authenticating with the Collibra Platform fail in sprint boot integration
hi
im using the integration -sbi-template-file-source and im getting below error while trying to run the maven project.
14:50:05,937 [main] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2306 ms
2022-09-01 14:50:06,817 [main] INFO com.collibra.marketplace.library.integration.InternalSharedLibraryConnection - Authenticating with the Collibra Platform…
2022-09-01 14:50:49,228 [main] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘entryPointController’ defined in file [C:\Users\5si\OneDrive - Sydney Water Corporation\collibra\Spring Boot integration\sbi-template-file-source-1.0.2\sbi-template-file-source\target\classes\com\collibra\marketplace\template\sync\file\sample\controller\EntryPointController.class]: Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘integrationProcessorService’ defined in file [C:\Users\5si\OneDrive - Sydney Water Corporation\collibra\Spring Boot integration\sbi-template-file-source-1.0.2\sbi-template-file-source\target\classes\com\collibra\marketplace\template\sync\file\sample\service\IntegrationProcessorService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘csvIntegrationProcessorService’ defined in file [C:\Users\5si\OneDrive - Sydney Water Corporation\collibra\Spring Boot integration\sbi-template-file-source-1.0.2\sbi-template-file-source\target\classes\com\collibra\marketplace\template\sync\file\sample\service\CsvIntegrationProcessorService.class]: Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘collibraImportApiHelper’ defined in URL [jar:file:/C:/Users/5si/.m2/repository/com/collibra/marketplace/collibra-integration-library/1.1.8/collibra-integration-library-1.1.8.jar!/com/collibra/marketplace/library/integration/CollibraImportApiHelper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘internalSharedLibraryConnection’: Invocation of init method failed; nested exception is com.collibra.marketplace.library.integration.exception.CollibraIntegrationLibraryException: {“message”:“An unexpected error occurred during execution.”,“details”:“java.net.ConnectException: Connection timed out: connect”,“cause”:“Connection timed out: connect”}
2022-09-01 14:50:49,234 [main] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
2022-09-01 14:50:49,242 [main] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener
springboot_team
368 Messages
2 years ago
Hi @anie.issac,
Thanks for trying the file source template.
Regarding the above error, it seems that there was a timeout when trying to connect from the Collibra Integration Library to your Collibra instance.
Can you please confirm the following:
Thank you
0
0
anieissac
29 Messages
2 years ago
thanks for quick response
Please find my updates
0
0
springboot_team
368 Messages
2 years ago
Hi @anie.issac,
Thanks for the information provided.
Since a proxy is being used, you would need to set the following configuration properties (explained in the Collibra Integration Library documentation) in the application.properties file of your template:
collibra.proxy.host
– The host name of the proxy servercollibra.proxy.port
– The port number of the proxy serverAdditionally, if your proxy server requires authentication, the following should also be set:
collibra.proxy.username
– The proxy server usernamecollibra.proxy.password
– The proxy server password0
0
anieissac
29 Messages
2 years ago
thanks for the updates.
i have updated proxy and now im receiving error related to certificare validation. please find below
{“message”:“An unexpected error occurred during execution.”,“details”:“javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”,“cause”:“sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”
I tried adding Collibra instance certificate to cacert, but i dont have required permission to edit cacert. Is there a option to skip ssl verification?(some thing like --ssl-no-revoke while doing CURL command)
please advise?
0
0
springboot_team
368 Messages
2 years ago
Hi @anie.issac,
Thanks for the update.
Regarding this error, can you please confirm whether there is a log that indicates the following?
Also, is this error when starting/deploying the integration or when triggering the synchronization please?
To skip the SSL verification, there is this –
collibra.trust-self-signed-certificates
– property. However, you can also specify a TrustStore file (and a KeyStore file) using the following properties:More information is also available in the Collibra Integration Library documentation.
0
0
anieissac
29 Messages
2 years ago
thanks for the updates.
I dont have log that states - ```
Successfully authenticated with the Collibra Platform.
0
0
springboot_team
368 Messages
2 years ago
Hi @anie.issac,
Thanks for the information provided.
It seems that the initial request to the Collibra instance is failing. Therefore, it might be ideal to try the following:
Thanks
0
0