Archiving sporadically process fails with curl_exec issue (blocking whole processing) - CURL HTTP/2 configurable? #20053
Labels
answered
For when a question was asked and we referred to forum or answered it.
Expected Behavior
Archiving process should execute tasks and gracefully handle exceptions on single API calls
Current Behavior
Executing the archiving process currently chokes if a single API request may fail.
Possible Solution
Maybe allow a setting to indicate if an exception should stop the whole execution. Also maybe allow to configure CURL options.
Steps to Reproduce (for Bugs)
If an API HTTP call fails (we cannot reproduce why yet), an error like this is created in the archiving cronjob output:
This is actually caused by an issue with the SprintfProcessor.php because it passes a raw error string to vsprintf() and the URL encoded "%3D" is tried to be interpreted, but not a valid printf command.
SprintfProcess.php actually gets this as input:
So actually two things:
Context
(Sorry I wasn't able to split the bug and context from each other, so my response to this is contained above.
Your Environment
(Thank you!)
The text was updated successfully, but these errors were encountered: