Google_IO_Exception: Cannot connect
-
After having authorized the plugin, I keep getting the error below.
If I fetch the URL, it contains “error 401” and “Login required”. What else am I supposed to configure in the plugin to make it work?I keep getting this error after having authorized the plugin:
exception ‘Google_IO_Exception’ with message ‘HTTP Error: Unable to connect: ‘fopen(compress.zlib://https://www.googleapis.com/analytics/v3/management/accounts/%7Eall/webproperties/%7Eall/profiles?key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) [function.fopen]: failed to open stream: operation failed” in D:\Inetpub\webs\xxxxx\wordpress\wp-content\plugins\google-analytics-dashboard-for-wp\tools\src\Google\IO\Stream.php:99
Stack trace:
#0 D:\Inetpub\webs\xxxxx\wordpress\wp-content\plugins\google-analytics-dashboard-for-wp\tools\src\Google\IO\Abstract.php(130): Google_IO_Stream->executeRequest(Object(Google_Http_Request))
#1 D:\Inetpub\webs\xxxxx\wordpress\wp-content\plugins\google-analytics-dashboard-for-wp\tools\src\Google\Http\REST.php(39): Google_IO_Abstract->makeRequest(Object(Google_Http_Request))
#2 D:\Inetpub\webs\xxxxx\wordpress\wp-content\plugins\google-analytics-dashboard-for-wp\tools\src\Google\Client.php(617): Google_Http_REST::execute(Object(Google_Client), Object(Google_Http_Request))
#3 D:\Inetpub\webs\xxxxx\wordpress\wp-content\plugins\google-analytics-dashboard-for-wp\tools\src\Google\Service\Resource.php(220): Google_Client->execute(Object(Google_Http_Request))
#4 D:\Inetpub\webs\xxxxx\wordpress\wp-content\plugins\google-analytics-dashboard-for-wp\tools\src\Google\Service\Analytics.php(3376): Google_Service_Resource->call(‘list’, Array, ‘Google_Service_…’)
#5 D:\Inetpub\webs\xxxxx\wordpress\wp-content\plugins\google-analytics-dashboard-for-wp\tools\gapi.php(161): Google_Service_Analytics_ManagementProfiles_Resource->listManagementProfiles(‘~all’, ‘~all’)
#6 D:\Inetpub\webs\xxxxx\wordpress\wp-content\plugins\google-analytics-dashboard-for-wp\admin\settings.php(859): GADASH_GAPI->refresh_profiles()
#7 [internal function]: GADASH_Settings::general_settings(”)
#8 D:\Inetpub\webs\xxxxx\wordpress\wp-includes\plugin.php(496): call_user_func_array(Array, Array)
#9 D:\Inetpub\webs\xxxxx\wordpress\wp-admin\admin.php(212): do_action(‘toplevel_page_g…’)
#10 {main}https://ww.wp.xz.cn/plugins/google-analytics-dashboard-for-wp/
The topic ‘Google_IO_Exception: Cannot connect’ is closed to new replies.