Request timed out due to default_socket_timeout php.ini
-
Hello
Following topic https://forum.netgate.com/topic/176882/request-timed-out-due-to-default_socket_timeout-php-ini-setting/1I have a similar issue, similar errors in logs :
MASTER :
Jul 3 10:09:06 pfsense-hits-ha1 php-fpm[96023]: /rc.filter_synchronize: Beginning XMLRPC sync data to https://192.168.159.3:443/xmlrpc.php.
Jul 3 10:09:07 pfsense-hits-ha1 php-fpm[22401]: /rc.filter_synchronize: Beginning XMLRPC sync data to https://192.168.159.3:443/xmlrpc.php.
Jul 3 10:10:07 pfsense-hits-ha1 php-fpm[22401]: /rc.filter_synchronize: Retrying XMLRPC Request due to error: A communications error occurred while attempting to call XMLRPC method restore_config_section: Request timed out due to default_socket_timeout php.ini setting
Jul 3 10:10:07 pfsense-hits-ha1 php-fpm[96023]: /rc.filter_synchronize: Retrying XMLRPC Request due to error: A communications error occurred while attempting to call XMLRPC method restore_config_section: Request timed out due to default_socket_timeout php.ini setting
Jul 3 10:10:08 pfsense-hits-ha1 php-fpm[96023]: /rc.filter_synchronize: Beginning XMLRPC sync data to https://192.168.159.3:443/xmlrpc.php.
Jul 3 10:10:08 pfsense-hits-ha1 php-fpm[22401]: /rc.filter_synchronize: Beginning XMLRPC sync data to https://192.168.159.3:443/xmlrpc.php.
Jul 3 10:11:08 pfsense-hits-ha1 php-fpm[96023]: /rc.filter_synchronize: A communications error occurred while attempting to call XMLRPC method restore_config_section: Request timed out due to default_socket_timeout php.ini setting
Jul 3 10:11:08 pfsense-hits-ha1 php-fpm[22401]: /rc.filter_synchronize: A communications error occurred while attempting to call XMLRPC method restore_config_section: Request timed out due to default_socket_timeout php.ini setting
Jul 3 10:11:08 pfsense-hits-ha1 php-fpm[96023]: /rc.filter_synchronize: New alert found: A communications error occurred while attempting to call XMLRPC method restore_config_section: Request timed out due to default_socket_timeout php.ini setting
Jul 3 10:11:08 pfsense-hits-ha1 php-fpm[22401]: /rc.filter_synchronize: New alert found: A communications error occurred while attempting to call XMLRPC method restore_config_section: Request timed out due to default_socket_timeout php.ini settingno error logs on BACKUP
I have no CARP flaps and only 5 carp interfaces. I've reduced all I could following https://docs.netgate.com/pfsense/en/latest/highavailability/reduce-heartbeat-traffic.html
but I still have sync issues.
HA sync is made via a directly connected IP address :[2.7.0-RELEASE][root@pfsense-hits-ha1]/root: ifconfig pfsync0
pfsync0: flags=41<UP,RUNNING> metric 0 mtu 1500
syncdev: lagg0 syncpeer: 192.168.159.3 maxupd: 128 defer: off
syncok: 1
groups: pfsync
[2.7.0-RELEASE][root@pfsense-hits-ha1]/root: netstat -f inet -rn | grep 159
192.168.159.0/24 link#7 U lagg0
192.168.159.1 link#4 UHS lo0
192.168.159.2 link#4 UHS lo0Any idea about what can be wrong ?
Regards
Cédric