First thanks for the great work on PIWIK.
"Waiting for webanalytics.piwik-server.com......"
Whilst this doesn't impact the site majorly it's undesirable to have this message displayed for a long time (when a connection is made this flashes up very quickly and is not noticeable) and also shows the revolving icon in the header tab that shows the page is still doing something. Fiddler confirms that the requests runs for * 21 seconds* and then reports a timeout as below.
[Fiddler] The connection to 'webanalytics.piwik-server.com' failed. Error: TimedOut (0x274c). System.Net.Sockets.SocketException A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond XXX.XXX.XXX.XX:80
If anybody could offer any suggestions i'd be really grateful!
Thanks in advance, Adham
Is this message shown for loading the
piwik.js or for actually sending a tracking request?
In case of a tracking request: So far we do not set any timeout. Feel free to send us a PR that let's anyone configure a timeout, this would be useful. The call is done here: https://github.com/piwik/piwik/blob/2.16.1-b1/js/piwik.js#L3198-L3217
try also to: - Disable Provider plugin (if it is enabled) - Use the QueuedTracking plugin: http://plugins.piwik.org/QueuedTracking (for faster tracker)
Hi, what Adham is suggesting would be really useful ("an option to set a request timeout somewhere of say 1 or 2 seconds") for us as well, is there any code for this we could use?
Cheers and thanks for a great software! Pontus