Answers.Body: <p>This error indicates that the web server is trying to connect to another service in order to respond to your request but is unable to. A common scenario is web server software such as nginx, which does not incorporate a PHP interpreter, contacting a service such as php-fpm (typically running on the same server) in order to process PHP.</p>
  
  <p>php-fpm might be unavailable because it is currently handling too many requests and has no free processes to handle your request. Or it is configured with too low a limit on the number of processes.</p>
  
  <p>Alternatively if you access the web via a proxy server, the error might indicate that the proxy server is unable to contact the server where your site is hosted.</p>
  
  <p>Does this error only occur on CiviCRM pages, can you access the rest of your site?</p>
  
  <p>If you don't manage or have access to the server yourself, then best to contact your hosting provider.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-23T09:32:01.303Z
Answers.LastActivityDate: 2015-07-23T09:32:01.303Z
Answers.UserDisplayName: davejenx
Answers.Body: <p>This is a common problem with CiviCRM on Pantheon and hasn't entirely been solved, but it has been mitigated. </p>
  
  <p>If you follow the instructions and add the patch described <a href="https://www.drupal.org/node/2392643" rel="nofollow">here</a>, then there is about a 50% chance it will solve your problem.</p>
  
  <p>(In essence it simply requires that you apply <a href="https://github.com/freeform/civicrm-drupal-pantheon/blob/4.4.x/patches/skip-config-cache.patch" rel="nofollow">this patch</a>.)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-26T10:47:45.393Z
Answers.LastActivityDate: 2015-08-26T10:47:45.393Z
Answers.UserDisplayName: TheBarnacle
Body: <p>I am getting a 502 when I try to access CiviCRM from my site. Is the server down? What does this mean and how can it be corrected?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-23T09:33:32.090Z
Comments.Text: Might be worth stating what sort of hosting you have. Eg we have lots of sites hosted on Linodes and have no such issues. We have one trial set up on Pantheon and we do see 502 errors on that system.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-23T15:56:46.323Z
Comments.Text: Also precise in what context do you get those error. Is it for every pages or some specific pages / workflow ?
Comments.UserDisplayName: samuelsov
Tags: <drupal><error-page>
Title: 502 Bad Gateway Error
ThreadText: # 502 Bad Gateway Error
  
  (Asked by: username_0 on 2015-07-22)
  
  I am getting a 502 when I try to access CiviCRM from my site. Is the server down? What does this mean and how can it be corrected?
  
  **Tags:** drupal, error-page
  
  > **Comments:**
  > **username_1**: Might be worth stating what sort of hosting you have. Eg we have lots of sites hosted on Linodes and have no such issues. We have one trial set up on Pantheon and we do see 502 errors on that system.  
  > **username_2**: Also precise in what context do you get those error. Is it for every pages or some specific pages / workflow ?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2015-07-23. Score: 2
  
  This error indicates that the web server is trying to connect to another service in order to respond to your request but is unable to. A common scenario is web server software such as nginx, which does not incorporate a PHP interpreter, contacting a service such as php-fpm (typically running on the same server) in order to process PHP.
  
  php-fpm might be unavailable because it is currently handling too many requests and has no free processes to handle your request. Or it is configured with too low a limit on the number of processes.
  
  Alternatively if you access the web via a proxy server, the error might indicate that the proxy server is unable to contact the server where your site is hosted.
  
  Does this error only occur on CiviCRM pages, can you access the rest of your site?
  
  If you don't manage or have access to the server yourself, then best to contact your hosting provider.
  
  
  ---
  
  ### Answer by username_4 on 2015-08-26. Score: 2
  
  This is a common problem with CiviCRM on Pantheon and hasn't entirely been solved, but it has been mitigated.
  
  If you follow the instructions and add the patch described [here](https://www.drupal.org/node/2392643), then there is about a 50% chance it will solve your problem.
  
  (In essence it simply requires that you apply [this patch](https://github.com/freeform/civicrm-drupal-pantheon/blob/4.4.x/patches/skip-config-cache.patch).)
  
  
  ---
  
  