Support » Plugin: WP-Matomo (WP-Piwik) » [Plugin: WP-Piwik] Problems reaching an SSL installation of Piwiki

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author braekling


    This seems to be a problem with your OpenSSL and/or PHP module. Are any other PHP applications able to connect to a secured server?

    You’re right, I tried with a custom script and I couldn’t connect. I’ll let you know if I find something relevant to this case.

    Seems like it’s a PHP/OpenSSL bug

    Plugin Author braekling


    Thank you! I’m sorry I can’t help you, but I will add this to the plugins documentation. Hopefully this would be fixed soon.

    The alternative would be to use fsockopen or curl.

    Hmmmm…Only curl would work…

    Plugin Author braekling


    Oh, that’s fine. Because curl is already implemented, but just used if ‘allow_url_fopen’ is disabled. So I can set curl to default and use fopen only if curl isn’t available.


    function get_remote_file($strURL)

    if (ini_get(‘allow_url_fopen’))
    $strResult = file_get_contents($strURL);

    it will look like this:
    function get_remote_file($strURL) {
    if (function_exists(‘curl_init’)) {
    $c = curl_init($strURL);

    There will be a patch soon.

    Thank you!

    Yep, resolved for me too: I have WP3.0.4 running its wp-admin backend over SSL and WP-Piwik works like a charm! (In some cases, also having WordPress HTTPS installed helps to resolve the last odd mixed content bits)

    I got this problem today. After upgrading to latest version it stopped working on two sites. I changed the key to a user key on one site and it started to work again, but a SSL site I can’t get it to work at all. I only get an error when I try to enter the user/pass.

    I see that the above patch is still installed. I don’t have time to look into this before next week, but I just post a note here in case someone else are experiencing problems.

    I’ve just checked and it’s still working for me

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: WP-Piwik] Problems reaching an SSL installation of Piwiki’ is closed to new replies.