Title: [Plugin: WordPress HTTPS (SSL)] 502 Proxy Error
Last modified: August 20, 2016

---

# [Plugin: WordPress HTTPS (SSL)] 502 Proxy Error

 *  Resolved [timbunch](https://wordpress.org/support/users/timbunch/)
 * (@timbunch)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-502-proxy-error/)
 * I have random 502 proxy errors after activating this plugin.
 *     ```
       Proxy Error
   
       The proxy server received an invalid response from an upstream server.
       The proxy server could not handle the request GET /.
   
       Reason: Error reading from remote server
       ```
   
 * This is inconsistent behavior and does not happen on every page load. It ceases
   to happen when I deactivate the plugin.
 * This appears to be a request time out issue. But I am unsure what could be causing
   it.
 * It is not a new bug with the new release. It was happening before as well.
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-502-proxy-error/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-502-proxy-error/?output_format=md)
2

 *  Thread Starter [timbunch](https://wordpress.org/support/users/timbunch/)
 * (@timbunch)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-502-proxy-error/page/2/#post-2420983)
 * There are two ways to solve this.
 * 1. Switch everything to SSL and stop using this plugin (which I did)
    2. Switch
   to a different product or web host (which I am making plans to do)
 * Rackspace Cloud Sites has been too unstable for us and we cannot afford to go
   down for hours at a time, or deal with configuration issues with their poor SSL
   support.
 *  [stimsonm](https://wordpress.org/support/users/stimsonm/)
 * (@stimsonm)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-502-proxy-error/page/2/#post-2420984)
 * Thanks for your response, yes in the brief time I’ve been there I’ve had little
   bits of outages and this proxy thing which I can’t deal with so I’m switching
   to media temple they have a dedicated vps with more bandwidth and its cheaper
   and a full plesk control panel and root access, hopefully this will solve the
   issue, if not I’ll be back. Good luck to you.
 * Thanks
 *  [Matt](https://wordpress.org/support/users/mvincik/)
 * (@mvincik)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-502-proxy-error/page/2/#post-2421053)
 * Your other option is to add conditional coding around elements to have them switch
   to https. I have done this on many sites. I use the wordpress-https plugin which
   handles most of the plugin elements.
 * You can get http watch pro which is an add-in for your browser which will tell
   you which elements are not being served in a secure manner.
 * Anything else I hard code a switch like this:
    ‘ <?php if ( !is_page(‘shopping-
   cart’) ) { ?> <img src=”[http://www.yourwebsite.com/yourimage.jpg&#8221](http://www.yourwebsite.com/yourimage.jpg&#8221);/
   > <?php } else { ?> <img src=”[https://www.yourwebsite.com/yourimage.jpg&#8221](https://www.yourwebsite.com/yourimage.jpg&#8221);/
   > <?php } ?> ‘
 * This code basically says if you are on any page except the /shopping-cart/ page
   do this, otherwise do this.
 * You can rewrite that differently if it bothers you but this works for me. I preferred
   using !is_page excluding the one page rather than using is_page and including
   only the pages I want to have the https show up on.
 * I don’t have the proxy problem any more and I was able to eliminate a plugin 
   so this worked. Hope it helps!

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-502-proxy-error/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-502-proxy-error/?output_format=md)
2

The topic ‘[Plugin: WordPress HTTPS (SSL)] 502 Proxy Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 18 replies
 * 4 participants
 * Last reply from: [Matt](https://wordpress.org/support/users/mvincik/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-502-proxy-error/page/2/#post-2421053)
 * Status: resolved