on 05-11-2016 4:28 PM - last edited on 02-04-2024 4:43 AM by postmig_api_4
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?
can you please make sure target system credential are correct 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.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.