cancel
Showing results for 
Search instead for 
Did you mean: 

Hybris is not loading datahub impex, ??

0 Kudos

Task is to send data to hybris via datahub to existing hybris item (ProductModel),

raw,canonical, and target model has been created in datahub .

csv is also created.

from datahub side i am geting log like this

2021-06-16 19:59:49,114 [INFO] [c.h.d.c.c.i.DefaultExportClient] Authenticating publish to HybrisApparelCoreInstallation 2021-06-16 19:59:49,315 [INFO] [c.h.d.c.c.i.DefaultExportClient] Exporting 2 publication to HybrisApparelCoreInstallation 2021-06-16 19:59:49,347 [INFO] [c.h.d.c.c.i.DefaultExportClient] Status of the response from publish to target system: HybrisApparelCoreInstallation, 200


on hybris side


INFO [hybrisHTTP4] [ItemImportController] Received request PUT: /import/pools/GLOBAL/publications/2 INFO [hybrisHTTP4] [ItemImportController] resultCallbackUrl: http://localhost:8080/datahub-webapp/v1/core-publications/2


Getting this but from hybris side no impex is imported and in db there is no data,

please if you know anything, would be great

Thanks in advance

satwati27
Discoverer
0 Kudos

Hi Siddharth,

Were you able to fix this issue? I'm facing the same issue in datahub version 1905 in a clustered environment. Any inputs on this would be helpful.

Thanks,

Satwati

Accepted Solutions (0)

Answers (1)

Answers (1)

Slava
Advisor
Advisor
0 Kudos

Is this CCv2 environment? In CCv2 http://localhost:8080/datahub-webapp/v1/core-publications/2 is incorrect. localhost:8080 should be replaced with datahub:8080.

You can get basic understanding of the process from this document: https://help.sap.com/viewer/c65fa30c12ec4c2dbe04becf73f0943d/2011/en-US/770faae727f04ef584c9881f054e...

That #URL value is generated by the DataHub when it generates the impex and it uses datahub.server.url property for that. If that property is misconfigured, the datahubadapter won't be able to fetch data records for the impex and therefore nothing will be loaded.

Another possible reason, if that URL is correct, datahubadapter fails authentication into the datahub while fetching those impex records. Check datahubadapter.datahuboutbound.password property value on the ECP side and make sure it matches the admin's password on the DataHub side.