cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to authenticate to Target System [v5.6]

Former Member
0 Kudos

Is there any reason why this error happens during publication to hybris, while the credentials are correct? Such as networking, environment issues etc? During deployments, we see this happening a few times, without any changes to the target system credentials and DH IP, port.

hybris log:

 INFO   | jvm 1    | main    | 2016/05/11 13:20:29.253 | WARN  [hybrisHTTP27] [10.32.94.78] [ContextInformationLoader] Cannot find CMSSite associated with current URL (http://10.33.5.123:992/datahubadapter/oauth/token?client_id=eic&client_secret=secret&grant_type=password&username=admin&password=nimda)!
 

Data Hub log:

 2016-05-11 13:20:29,168 [ERROR] [c.h.d.s.i.PublicationActionHandler] Publication #3 to target system HybrisInvoiceHistory failed
 com.hybris.datahub.api.publication.PublicationException: An error occurred during the export of impex file
         at com.hybris.datahub.core.adapter.impl.CoreAdapterService.targetSystemPublication(CoreAdapterService.java:108) ~[datahub-core-export-service-5.6.0.2-RC1.jar:na]
  ....
 Caused by: com.hybris.datahub.api.publication.PublicationException: Unable to authenticate to Target System
         at com.hybris.datahub.core.client.impl.DefaultExportClient.validateAuthResponse(DefaultExportClient.java:138) ~[datahub-core-export-service-5.6.0.2-RC1.jar:na]
 

EDIT: Restarted hybris server and problem was gone. Any explanation?

Former Member
0 Kudos

I also suffered same problem in hybris 6.0, have you find out the reason for this issue, and how did you resolved it?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

can you please make sure target system credential are correct in your local.properties

Former Member
0 Kudos

Hi Mohammad, Yes the credential config are correct. They are not changed after hybris restart. It started working after only hybris server restart.