Closed (fixed)
Project:
Piwik Web Analytics
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2009 at 12:02 UTC
Updated:
12 Jul 2013 at 23:26 UTC
Hi,
Got the module installed correctly, but on the settings page (/admin/settings/piwik), I cannot save the settings. When I do I receive the error message:
The validation of "http://www.MYDOMAIN.com/piwik/piwik.php" failed with error "Connection refused" (HTTP code -111).
Obviously, I'm not using "MYDOMAIN", I'm using the proper domain, but I'm not entirely comfortable putting the full URL up for the sake of my clients' privacy.
Any help, as always, appreciated.
Regards
Patrick
Comments
Comment #1
hass commentedCarefully read the description below the input box.
Comment #2
Patrick Nelson commentedOK, let me try again.
The input box is labelled Piwik HTTP URL: *
The description below it reads The URL to your Piwik base directory. Example: "http://www.example.com/piwik".
So I enter http://www.bournesdebt.co.uk/piwik
And I get the error message:
Is that careful enough for you?
Regards
Patrick
Comment #3
hass commentedOpen http://www.bournesdebt.co.uk/piwik/piwik.php manually from the same host and check out the HTTP status code - must be the same. Fix your broken webserver configuration, please. Very often mod_security was found as the reason... or it's a loopback interface/firewall issue (if your Drupal and Piwik site is on the same host).
The error is not in the piwik module - it's your webserver that refuses the connection and you need to find out why...
Comment #5
flatfeat commentedFor anyone else having this problem, it turned out that the resolution for me wasn't a permissions issue, but that the url I entered had to have the www in front of it, in order to exactly match the url I had entered during setting up the module on my server. Make sure that the URL exactly matches.