thomasbachem / php-ga

Server-Side Google Analytics PHP Client
Other
318 stars 100 forks source link

unable to connect to www.google-analytics.com:80 (Connection timed out) #2

Open vishnukutti opened 11 years ago

vishnukutti commented 11 years ago

Hi,

I am using PHP-GA client to track my website page views, event and custom variable tracking. it's working good with out any issues for last three months.

but now, some times i got the following error, when i view my tracking url.

fsockopen(): unable to connect to www.google-analytics.com:80 (Connection timed out) (/php-ga-1.1.1/src/GoogleAnalytics/Internals/Request/HttpRequest.php:183)

RoMay commented 10 years ago

The same error appears with interval every 5-10 seconds: PHP Warning: fsockopen(): unable to connect to www.google-analytics.com:80 (Connection timed out) in /Symfony/vendor/unitedprototype/php-ga/src/UnitedPrototype/GoogleAnalytics/Internals/Request/HttpRequest.php on line 182

Any ideas why does it happen? How can I prevent it? Thanks and greets.

maySaghira commented 9 years ago

@RoMay did u find any solution any way to prevent that ? thanks for share it.

ansgarbecker commented 7 years ago

Same problem here, without a reproduction recipe unfortunately. Randomly I get this one:

PHP Warning: fsockopen(): unable to connect to www.google-analytics.com:80 (Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat.) in GoogleAnalytics/Internals/Request/HttpRequest.php on line 182

ghost commented 7 years ago

Any news on this, it happens from time to time on our side.