In the latest versions of LiteSpeed server, the default settings for External Application Abort were changed. As a result, Litespeed server closes connection and synchronization is not completed successfully.
All users who had their LiteSpeed server upgraded recently started having issues in Synchronisation.
Cron Service is a predefined free service from M2E Pro that lets Users to not be nervous about Linux Cron job settings. The principle of its work is based on the regular requests to a particular endpoint in Extension with a further run of synchronization tasks at the moment of this connection.
In two words it works as follows: remote Cron Service initializes a request to a particular endpoint of M2E Pro Extension with further disconnection from its side. However, the PHP scripts should be running even after connection with Cron Service fails. But in some versions of LiteSpeed web-servers, the default setting does not let the Cron Service run synchronization after disconnection.
There are two ways to make M2E Pro Cron Service work correctly:
- you can go to WebAdmin console > Configuration > Server > General > External Application Abort and set No Abort value; (preferred solution)
- in the first line of .htaccess file of Magento root folder add line "SetEnvIf Request_URI "M2ePro/cron" noabort".