PHP Warning : fsockopen() to maxmind

Project:RUcore API's
Version:7.2.1
Component:Statistics API
Category:bug report
Priority:normal
Assigned:jgeng
Status:closed
Description

From production since r7.2 rollout. Not sure of the cause.

[01-Aug-2013 23:12:35 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[02-Aug-2013 14:19:13 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[05-Aug-2013 22:09:32 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[05-Aug-2013 22:40:53 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[05-Aug-2013 22:41:52 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[05-Aug-2013 22:42:28 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[05-Aug-2013 22:56:15 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[05-Aug-2013 23:38:25 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[05-Aug-2013 23:38:26 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[05-Aug-2013 23:38:37 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[06-Aug-2013 08:34:03 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[06-Aug-2013 08:34:12 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[14-Aug-2013 16:23:58 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection refused) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[14-Aug-2013 18:05:04 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[14-Aug-2013 23:37:43 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[14-Aug-2013 23:38:29 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[15-Aug-2013 02:12:45 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[16-Aug-2013 13:00:21 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761
[16-Aug-2013 13:00:43 America/New_York] PHP Warning: fsockopen(): unable to connect to geoip.maxmind.com:80 (Connection timed out) in /home/httpd/html/rucore/api/stats/statsapi.php on line 761

Comments

#1

Status:active» test

I have added error handing to fsockopen() if there is connection problem and also increased the time out to 30 seconds.

#2

Version:7-x» 7.2.1
Status:test» fixed

Confirmed the value has been increased. Will watch logs on production for future reports.

#3

Status:fixed» closed

Closing

Back to top