• Resolved CarapauCostante

    (@carapaucostante)


    Hello I’m using Google Analytics Dashboard for WP successfully since months, but since yesterday I’m getting “this report is unavailable (0)” on my dashboard. In the error details I got the following trace. Any idea to resolve it?
    Thank you!

    exception 'Google_IO_Exception' with message 'SSL connect error' in /web/htdocs/www.carapaucostante.it/home/ccwp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/IO/Curl.php:86
    Stack trace:
    #0 /web/htdocs/www.carapaucostante.it/home/ccwp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/IO/Abstract.php(135): Google_IO_Curl->executeRequest(Object(Google_Http_Request))
    #1 /web/htdocs/www.carapaucostante.it/home/ccwp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Http/REST.php(39): Google_IO_Abstract->makeRequest(Object(Google_Http_Request))
    #2 /web/htdocs/www.carapaucostante.it/home/ccwp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Client.php(626): Google_Http_REST::execute(Object(Google_Client), Object(Google_Http_Request))
    #3 /web/htdocs/www.carapaucostante.it/home/ccwp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Service/Resource.php(225): Google_Client->execute(Object(Google_Http_Request))
    #4 /web/htdocs/www.carapaucostante.it/home/ccwp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Service/Analytics.php(1909): Google_Service_Resource->call('get', Array, 'Google_Service_...')
    #5 /web/htdocs/www.carapaucostante.it/home/ccwp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(311): Google_Service_Analytics_DataGa_Resource->get('ga:99811962', 'today', 'today', 'ga:sessions,ga:...', Array)
    #6 /web/htdocs/www.carapaucostante.it/home/ccwp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(433): GADWP_GAPI_Controller->handle_corereports('99811962', 'today', 'today', 'ga:sessions,ga:...', Array, 'gadash_qr3_1203...')
    #7 /web/htdocs/www.carapaucostante.it/home/ccwp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(764): GADWP_GAPI_Controller->get_bottomstats('99811962', 'today', 'today', '')
    #8 /web/htdocs/www.carapaucostante.it/home/ccwp/wp-content/plugins/google-analytics-dashboard-for-wp/admin/ajax-actions.php(139): GADWP_GAPI_Controller->get('99811962', 'bottomstats', 'today', 'today')
    #9 [internal function]: GADWP_Backend_Ajax->ajax_widget_reports('')
    #10 /web/htdocs/www.carapaucostante.it/home/ccwp/wp-includes/plugin.php(496): call_user_func_array(Array, Array)
    #11 /web/htdocs/www.carapaucostante.it/home/ccwp/wp-admin/admin-ajax.php(86): do_action('wp_ajax_gadash_...')
    #12 {main}

    https://www.ads-software.com/plugins/google-analytics-dashboard-for-wp/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Same problem for me.

    PS are you on Aruba provider?

    Same problem here! I also use Aruba provider…
    Any solution?

    Thread Starter CarapauCostante

    (@carapaucostante)

    Yes I’m on Aruba and both my websites have the same problem.

    same error, same provider…

    oh ok i think i ‘ve found a workaraound by looking at the error log posted by CarapauCostante
    it says exception 'Google_IO_Exception' with message 'SSL connect error' in /web/htdocs/www.carapaucostante.it/home/ccwp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/IO/Curl.php:86

    so if you open up that file you’ll see some lines before (exactly @ line #59-60):

    // 1 is CURL_SSLVERSION_TLSv1, which is not always defined in PHP.
            curl_setopt($curl, CURLOPT_SSLVERSION, 1);

    you have to disable SSL by setting this param to 0 (ZERO)

    // 1 is CURL_SSLVERSION_TLSv1, which is not always defined in PHP.
            curl_setopt($curl, CURLOPT_SSLVERSION, 0);

    keep in mind that this is a temporary workaround and the next plugin update will reset this setting to it’s initial value

    maybe we can ask the Dev to insert a checkbox in the settings to disable/enable SSL?

    Thanks meuro, your workaround works perfectly.
    I think disabling SSL is not a good idea, so I hope that the Dev will bring us a new version of this plugin that solves the problem.

    Thread Starter CarapauCostante

    (@carapaucostante)

    I also opened a ticket to Aruba, I think it could be something related to their servers. I don’t think disabling SSL is the right way, It could be a security issue. Don’t you think so?

    yes of course is not the optimal solution because you opt out from the extra security layer given by the data encryption.
    but if you think… 2 days ago it was working then it stopped for us… so i’m assuming the ‘SSL thing’ has been introduced with the last update and before we all used non-encrypted data transfer. But, again, it’s my assumption.

    This is just a patch (or a ‘dirty hack’) to make it work again *temporarily*, so if you feel insecure/vulnerable you may want to revert to the original code.

    Thread Starter CarapauCostante

    (@carapaucostante)

    The last update of Google Analytics Dashboard for WP
    is 2015-7-9. Nothing changed in the plugin after 28-7-2015, I think it’s a problem with Aruba servers. If they answer me I’ll post here.

    Thank you CarapauCostante, I also think it’s an Aruba related problem.
    Keep us informed if you can!

    @meuro that’s not going to disable SSL, you may also have a look here: https://github.com/google/google-api-php-client/pull/360

    Since this issue surfaced just recently, I suspect it could be something on your hosting provider server side.

    Thread Starter CarapauCostante

    (@carapaucostante)

    I contacted my hosting provider (Aruba). They found out a wrong server side configuration. If you still have problem you should open a ticket to Aruba.

    Tell them is the same problem of ticket 04D-1D4E008B-0281

    Thread Starter CarapauCostante

    (@carapaucostante)

    resolved ??

    Thanks @alin Marcu for the interest. yes now i realize we were using a different version of encryption, not entirely disabling it!
    it sure is (or was, as now i have just re-edited the file and reverted to the original value and it’s working) an issue with the server configuration on our side. It was too strange that we happened to have the same error *and* the same provider!

    however, thanks to @carapaucostante ??
    ..and Alin, keep up with the good work you are doing here!

    Thank you all for the awesome feedback!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘this report is unavailable (0)’ is closed to new replies.