![]() |
Timeout in system/core/Input.php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Timeout in system/core/Input.php (/showthread.php?tid=65587) |
Timeout in system/core/Input.php - errGuy - 06-28-2016 I am running CI3, upgraded from CI2 a while ago. I was checking my error logs recently and noticed the following: Code: ERROR - 2016-06-28 21:55:10 --> Severity: Error --> Maximum execution time of 30 seconds exceeded /home/project/public_html/system/core/Input.php 524 My whole error log is filled with these messages. It looks like the line it is timing out on is within the ip_address() function. My site is running behind cloudflare and put an array of cloudflare's proxy ips in the config proxy_ip list. Code: // Source List of IPS: I have done a log of searching and haven't turned anything up. Any advice on how to fix this? Thanks! RE: Timeout in system/core/Input.php - InsiteFX - 06-29-2016 Raise the execution time in php.ini max_execution_time=40 etc; RE: Timeout in system/core/Input.php - errGuy - 06-29-2016 Edit: This turns out to be a bug in CI core. https://github.com/bcit-ci/CodeIgniter/issues/4679 RE: Timeout in system/core/Input.php - InsiteFX - 06-29-2016 It could be a number of things, did you try profiling the app? Could be an endless loop or a missing tag some place. RE: Timeout in system/core/Input.php - errGuy - 06-29-2016 Sorry, I should have just posted a new reply instead of editing my post above. I didn't see your reply yet when I edited it. Anyway, I submitted an issue on github. https://github.com/bcit-ci/CodeIgniter/issues/4679 |