axgriffiths67 Posted May 11, 2020 Share Posted May 11, 2020 So I recently noticed a weird bug. All of a sudden, I was getting an invalid IP error from the WHMCS API. I checked all my configurations, the IP was in the WHMCS admin panel under Setup > General > Security in the white listed IPs, I even manually checked the database to make sure I wasn't accidentally connected to the old database. After trying what I thought was everything, I rebooted the server, and to my surprise. It fixed the problem. But now, it has happened again, and again, rebooting the server has solved the issue. This has happened twice within the last few hours and I have no idea why. Anyone have any suggestions, locations for error logs, literally anything that helps me figure out why this is happening? Here's a copy of my Health Check if that helps WHMCS Health Check ================================================================================ error: * The system cron does not appear to have completed successfully within the last 24 hours. Check your activity logs or learn more about enabling the cron in our documentation. * Your configuration file is writable. This can be a security risk. We recommend setting the permissions to read only. .trimmed-dir-list li { text-decoration: underline dashed; } The following directories are owned by a different user from that which is executing WHMCS. This indicates a potentially insecure configuration:crons You can learn more about this in our documentation. * Your system is set to display errors. While this is useful for some debugging situations, it can interfere with some operations and is a security risk. For more information please refer to our documentation. warning: * - Automatic Updates require a writeable directory for staging files during an update. You must provide a directory via the Updater Configuration before you can update. * Your PHP memory_limit value 64M is lower than recommended. WHMCS recommends at least a 128M limit, however your value is higher than the minimum requirement of 64M. You can change this in your php.ini with the set_ini command. * Your PHP version 7.2.30 is supported by WHMCS. The PHP 7.2 branch no longer receives regular bug fixes and will only receive critical security updates until it reaches its end of life. Please see our documentation for more information. * The following PHP extensions are recommended for best performance and trouble free operation. While optional for core WHMCS functionality, certain modules and addons may require them to fully function as intended: - soap - xmlrpc - zip Please review the current system recommendations and search our documentation for the specific modules you use to learn more. * We have detected that your WHMCS installation is currently using the default template names for one or more of the active templates. If you have made any customisations, we strongly recommend creating a custom template directory to avoid losing your customisations the next time you upgrade.You are currently using a default template in the following locations: - Cart - Client Area Please review our documentation on making a custom theme for help doing this. notice: * Sensitive directories cannot be accessed from the web. * Your system is setup to not log unnecessary error levels. * Your PHP installation has all extensions loaded and enabled required for WHMCS to operate. * You are using custom paths for all the recommended WHMCS directories. * Your PHP installation has all required functions enabled for WHMCS to operate. * PHP session support is enabled.Session autostart is disabled.The PHP session save path /var/cpanel/php/sessions/ea-php72 is writable. * Your PHP environment uses a valid timezone. * You currently have version 7.70.0 of cURL installed. This version uses a secure cipher list. * cURL reports that it does support SSL * cURL reports that it does support Secure TLS 1.1 and 1.2 * A verified SSL certificate was detected for your site. * You are running MySQL version 5.7.30. This version supports all features required for full compatibility with WHMCS. * Your system is running "Apache" web server. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted May 13, 2020 Share Posted May 13, 2020 How are you running your API function? Cron maybe? 0 Quote Link to comment Share on other sites More sharing options...
Rk Barnwal Posted September 17, 2024 Share Posted September 17, 2024 On 13/05/2020 at 1:09 PM, Kian said: How are you running your API function? Cron maybe? Yes I am also getting same issue 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.