Skip to Content
0
Former Member
Apr 28, 2015 at 07:14 AM

Auto Catalog Import failed and getting the readtimedout error from Hybris

57 Views

Hi Team,

Regarding auto catalog import issue, while executing auto catalog import, inconsistently, we are getting read timed out error from Hybris. While doing manual import, it is getting success response.

PF below logs attached. We are facing this issue frequently these days. Please let us know if any solution for this.

Hybris version used: 4.8.12.

10.04.2015 11:21:47.848 INFO [pool-5-thread-2] org.apache.commons.httpclient.HttpMethodDirector I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server 10.54.54.51 failed to respond 10.04.2015 11:21:47.848 INFO [pool-5-thread-2] org.apache.commons.httpclient.HttpMethodDirector Retrying request 10.04.2015 11:31:48.173 ERROR [pool-5-thread-2] com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl Updating catalog "ProductCatalog" from Hybris failed: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1098] Message: Read timed out at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:596) at com.sun.xml.internal.stream.XMLEventReaderImpl.peek(XMLEventReaderImpl.java:275) at com.adobe.cq.commerce.hybris.importer.XMLEventReaderUtil.skipNonElementEvents(XMLEventReaderUtil.java:127) at com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl.importProducts(HybrisImporterImpl.java:308) at com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl.updateCatalog(HybrisImporterImpl.java:164) at com.adobe.cq.commerce.hybris.impl.importer.PollingCatalogUpdater.importData(PollingCatalogUpdater.java:52) at com.day.cq.polling.importer.impl.PollingImporterImpl.importData(PollingImporterImpl.java:341) at com.day.cq.polling.importer.impl.PollingImporterImpl.access$000(PollingImporterImpl.java:52) at com.day.cq.polling.importer.impl.PollingImporterImpl$1.run(PollingImporterImpl.java:262) at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:56) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)

All the last three auto catalog import happened successfully. PFB for log. 10.04.2015 15:22:15.675 INFO [pool-5-thread-4] com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl Total Product Count: 2307 10.04.2015 15:52:13.024 INFO [pool-5-thread-2] com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl Total Product Count: 2307 10.04.2015 16:22:12.324 INFO [pool-5-thread-3] com.adobe.cq.commerce.hybris.impl.importer.HybrisImporterImpl Total Product Count: 2307