Skip to Content
Technical Articles
Author's profile photo deepthi polipilli

DataHub SSL Configuration Error.

Hello All,

As like previous blogs, am sharing the things which am facing while am doing any development related to Hybris. Like wise, In this blog-I would like to share the error which I have faced while setup the datahub in my local system. I got the below error, while I started the tomcat server.

The Error is:

2019-10-23 16:11:16,479 [ERROR] [o.s.w.c.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘defaultSSLValidationService’ defined in class path resource [META-INF/datahub-service-validation-spring.xml]: Invocation of init method failed; nested exception is com.hybris.datahub.validation.SSLConfigurationException: Data Hub cannot start if ‘datahub.server.url’ does not start with https.

 

Solution:

The simple solution for the above error is please add the below line in your local.properties which is configured in datahub folder.

datahub.security.https.enabled=false

 

Now start the Apache Tomcat Server. Your server got started and your able to access the below links as well.

http://localhost:8080/datahub-webapp/v1/data-feeds

http://localhost:8080/datahub-webapp/v1/pools

 

 

Thank you,

Deepthi P.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.