Title: Authorize Plugin Under authenticated proxy
Last modified: August 24, 2016

---

# Authorize Plugin Under authenticated proxy

 *  [erihenrique](https://wordpress.org/support/users/erihenrique/)
 * (@erihenrique)
 * [11 years ago](https://wordpress.org/support/topic/authorize-plugin-under-authenticated-proxy/)
 * Hi
 * I’m trying to authorize the plugin but I can not.
    It is a government site on
   an intranet, and internet access an authenticated proxy is required. In the wp-
   config.php file are the credentials for access to the proxy, which allows upgrades
   and installation of plugins. But when trying to authorize Google Analytics Dashboard
   for WP, I have these errors Last Error: 2015-05-20 13:19:58: exception ‘Google_IO_Exception’
   with message ‘connect() timed out!’ in /srv/www/vhosts/dp/wp-content/plugins/
   google-analytics-dashboard-for-wp/tools/src/Google/IO/Curl.php:86 Stack trace:#
   0 /srv/www/vhosts/dp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/
   src/Google/IO/Abstract.php(135): Google_IO_Curl->executeRequest(Object(Google_Http_Request))#
   1 /srv/www/vhosts/dp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/
   src/Google/Auth/OAuth2.php(113): Google_IO_Abstract->makeRequest(Object(Google_Http_Request))#
   2 /srv/www/vhosts/dp/wp-content/plugins/google-analytics-dashboard-for-wp/tools/
   src/Google/Client.php(133): Google_Auth_OAuth2->authenticate(‘4/0lBdtMSBXtXaB…’)#
   3 /srv/www/vhosts/dp/wp-content/plugins/google-analytics-dashboard-for-wp/admin/
   settings.php(750): Google_Client->authenticate(‘4/0lBdtMSBXtXaB…’) #4 [internal
   function]: GADWP_Settings::general_settings(”) #5 /srv/www/vhosts/dp/wp-includes/
   plugin.php(496): call_user_func_array(Array, Array) #6 /srv/www/vhosts/dp/wp-
   admin/admin.php(226): do_action(‘toplevel_page_g…’) #7 {main}
 * It’s possible to configure any file with the credentials for access to the proxy
   and authorize the plugin?
 * Thanks
 * Erivelto
 * [https://wordpress.org/plugins/google-analytics-dashboard-for-wp/](https://wordpress.org/plugins/google-analytics-dashboard-for-wp/)

Viewing 1 replies (of 1 total)

 *  [Alin Marcu](https://wordpress.org/support/users/deconf/)
 * (@deconf)
 * [11 years ago](https://wordpress.org/support/topic/authorize-plugin-under-authenticated-proxy/#post-6149736)
 * That’s not supported because I’m not using wp_remote_get to retrieve the reports.
 * But it can be implemented using an extension, see this pull request which is 
   also available in my library and was merged in latest version of official Google
   APIs Client Library for PHP:
 * [https://github.com/google/google-api-php-client/pull/461](https://github.com/google/google-api-php-client/pull/461)
 * and how I use it to force IPv4 when needed:
 * [https://github.com/deconf/Google-Analytics-Dashboard-for-WP/blob/master/tools/gapi.php#L40](https://github.com/deconf/Google-Analytics-Dashboard-for-WP/blob/master/tools/gapi.php#L40)
 * Using the same principle you can set the needed cURL options in GADWP to connect
   through a proxy.

Viewing 1 replies (of 1 total)

The topic ‘Authorize Plugin Under authenticated proxy’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-dashboard-for-wp/assets/icon.svg?rev=2243225)
 * [ExactMetrics - Google Analytics Dashboard for WordPress (Website Stats Plugin)](https://wordpress.org/plugins/google-analytics-dashboard-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-dashboard-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Alin Marcu](https://wordpress.org/support/users/deconf/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/authorize-plugin-under-authenticated-proxy/#post-6149736)
 * Status: not resolved