Your software
My Mautic version is: 4.2.2
My PHP version is: 7.4.28
My Database type and version is: 10.3.34-MariaDB-log-cll-lve
Your problem
My problem is: api stops to work after a few calls.
Hi everone. I have integrated Mautic php API library (using composter) into my cms to sync users with my mautic installation.
I have several websites where users are registered and every website must sync users data to a single mautic installation.
For example
- www.my-mautic-website.it is where i have mautic installed
- www.website-one.it is a website
- www.website-two.it is another website
- www.website-three.it is another website
etcetera
I have developed a class that takes user’s data and send it to mautic api. I can call this class manually (for a single user) or automatically (if i want to sync all users)
calls are made via a javascript that recursively calls methods to add/edit users on mautic installation
i noticed that after a few syncs (i don’t know exactly how many syncs) the system stops to work and it seems like i cannot make any other api call manually or automatically because the api returns timeout connection. I tried adding 5 seconds, 10 seconds and it is always the same
thanks
These errors are showing in the log: NO
Steps I have tried to fix the problem: