SAP Knowledge Base Article - Preview

2697084 - Data Hub returned unexpected status. Status Code: 401

Symptom

In the hybris console log, when you login backoffice and try to connect to datahub, there are warning message as below:

=========================================
WARN [hCSHTTP12] [10.34.143.206] [DataHubStatusClient] Data Hub @ http://XX.XX.XX.XXXX:XXXX/datahub-webapp/v1 returned unexpected status. Status Code: 401, Status Message: <!doctype html><html lang="en"><head><title>HTTP Status 401 – Unauthorized</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 401 – Unauthorized</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Bad credentials</p><p><b>Description</b> The request has not been applied because it lacks valid authentication credentials for the target resource.</p><hr class="line" /><h3>Apache Tomcat/8.5.30</h3></body></html>
=========================================


Read more...

Environment

Datahub 6.6

Datahub 6.7

Product

SAP Hybris Commerce 6.6 ; SAP Hybris Commerce 6.7

Keywords

 DataHubStatusClient, HTTP Status 401 – Unauthorized , KBA , CEC-COM-HUB , SAP Commerce Data Hub , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.