I'm trying to debug a situation I have, and I don't know if it's F3 or another issue, right now I'm trying to determine the source of the problem.
My Setup:
- I have a script that simply loads F3 so I can use the \DB\SQL\Mapper class and send data returned from the Infusion API to my database table.
- I have a CSV file that is parsed, and the rows are prepared into an array.
- I process the prepared array and send the data to Infusion, and insert/update records w/ the update rows information.
The problem:
- The script runs for a few seconds and then I get a 500 Internal Server Error.
- My logs contain no errors. My hosting provider found an error in their logs that report the script timed out.
- I can see new rows being added to the database after the script has been reported as being timed out.
- I confirmed with my host that the script continues to process to completion, and the 500 error is bogus.
Scenario 1:
My first scenario does not use F3 or a database and is stable when executed.
I have a script that processes a CSV, and communicates with Infusions using their API. Infusion throttles their API, so the script sleep(1)s and then continues. The script will make over 100K iterations and never time out.
Scenario 2:
This is where I run into the issue. This script is configured a little differently, they're not identical, and this script uses F3 and a database. The Infusion iSDK is the same library files as in scenario 1. This script can't run 30 iterations before it reports that it says it's timed out. In fact I can only make it through 28 iterations successfully w/o getting the 500 Error.
I guess that only question I have, is can F3 be at fault in this scenario some how, possibly triggering the 500 error prematurely?
This whole situation seriously has me confused, and it making the data migration I'm working on take longer than it should.
Just curious of any one has any insight?