Skip to Content
author's profile photo Former Member
Former Member

Unable to authenticate to Target System [v5.6]

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 11, 2016 at 07:30 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.