Plugin stops running after a while
-
Hello, first of all, thanks for a great and versatile plugin that overall works very well and is both easy to setup as well as manage programatically.
I am running a multisite that has worked very well with your plugin for months. I had to renew my Salesforce Certificates (un Certificate and Key management) in early October, 2021, when one of the sites started to have an issue that the plugin would stop syncing.
When I change the time under the “Pull from Salesforce” (Schedule-tab) in the “Run schedule every” input field and save it starts again, but unfortunately it stops again after some time. It seemed to go better out of it self after some time and me trying to disconnect and reconnect a few times.
Recently I moved servers and now 4 or 5 sites seem to have the same issue, and no matter if I disconnect and reconnect the issue remains. I can still change the Schedule time to start it up again.
When the plugin is syncing it does connect as it should and pulls and pushes data. After a while, in no pattern in terms of time, sometimes it takes 4 hours and sometimes it takes 3 days or even longer, the syncing stops. It also doesn’t stop at the same time on the different sites.
In the Scheduled action page I find that the Hook “object_sync_for_salesforce_pull_check_records” has status “Failed”, and then hasn’t continued, even though the Recurrence is says “Every two minutes”.
I am looking in the log (I turned on debug mode in the plugin settings) but can’t find anything suspicious, though it’s a lot of information and I don’t really know what I’m looking for, so potentially I’m missing something.
I also turned on the debug mode and debug log in WordPress, though I’m not sure the errors from the Scheduled action would show up in there. Looking at the logs I can’t find any commonalities at the time of the errors besides some PHP notices that also happens when the plugin isn’t stopping.
Has anyone had the same issue and if so can you shine some light at this situation?
Thanks in advance!
Best,
Andreas
- The topic ‘Plugin stops running after a while’ is closed to new replies.