Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vishnukutti opened this issue Oct 16, 2013 · 4 comments

Comments

@vishnukutti
Copy link

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
Copy link

RoMay commented Jul 31, 2014

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
Copy link

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

@ansgarbecker
Copy link

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
Copy link

ghost commented Nov 24, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants