‎2018 Jan 30 4:10 PM - edited ‎2024 Feb 04 4:10 AM
Hi All, I am seeing the following error in Hybris logs. I configured DH instance in Hybris and provided instance name and url. The url is accessible via postman, still seeing this in the logs.
[mWARN [hybrisHTTP116] [10.1.4.35] [DataHubStatusClient] Data Hub @ http://172.16.8.168:8080/datahub-webapp/v1 returned unexpected status. Status Code: 401, Status Message:
type Status report
message Bad credentials
description This request requires HTTP authentication.
Request clarification before answering.
, hybris side please enter below to keys in the local.properties :
datahub.backoffice.rest.client.username.admin=dhadmin datahub.backoffice.rest.client.password.admin=datahub111
user name and password should be same what is there against below properties in Datahub local.properties :
datahub.security.basic.admin.user=dhadmin datahub.security.basic.admin.password=datahub111
Regards, Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, which way you install the DH? standalone or with recipe ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Open you apache tomcat.. check the tomcat-users.xml file check the credentials...
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<role rolename="admin-gui"/>
<role rolename="admin-script"/>
<user username="admin" password="nimda" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-gui,admin-script"/>
You should have these. then pass this userid and password admin nimda in your local.properties
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you have to type http://localhost:8080/datahub-webapp/v1/status in the browser. If it is asking for userid and password. then try enter the password which you maintained in tomcat users xml. it should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.