[Drupal] Trouble installing Drupal in a forced SSL environment with a content-switching load balancer.

Bondra, Joseph (Joe) bondra.4 at osu.edu
Mon Apr 8 08:55:56 EDT 2013


Hi Luke,

Have you tried setting the $conf['reverse_proxy'] = TRUE in settings.php? There are a few reverse proxy settings for Drupal that might help.

http://drupal.org/node/425990 (It's mentioned in the comments...)

...starting around line 402 in the standard settings.php, you'll find some commented out reverse proxy stuff.

I have no idea if these will do anything, but it's something that I was looking into since I might have to deal with this myself eventually. Hopefully someone else knows more about this...


~Joe


From: drupal-bounces at lists.service.ohio-state.edu [mailto:drupal-bounces at lists.service.ohio-state.edu] On Behalf Of Gaddie, Herbert (Luke)
Sent: Monday, April 08, 2013 2:05 AM
To: drupal at lists.service.ohio-state.edu
Subject: [Drupal] Trouble installing Drupal in a forced SSL environment with a content-switching load balancer.


I've already submitted a bug report<http://drupal.org/node/481758#comment-7209478> on some of the issues I'm having with this, but I'm curious to see if anyone else has some input on the issue I'm having.

Our server is set up behind a Citrix NetScaler load balancer that enforces SSL through Content switching so that:

  *   Any requests made to http://example.com are automatically redirected to https://example.com.
  *   Any requests made to https://example.com are forwarded through to the web server via HTTP, then the NetScaler forwards the response back to the requester via HTTPS (SSL Offloading).

In the end, the path that all HTTP traffic takes is as such: User -(443)> NetScaler -(80)> Web Server -(80)> NetScaler -(443)> User



Now, the problem that I'm facing is in installing Drupal. During installation, I'm getting these two errors:

  *   In error.log: PHP Fatal error: Call to undefined function field_attach_load() in /var/www/it/includes/entity.inc on line 321, referer: https://it.osu.edu/install.php?profile=standard&locale=en
  *   In the browser: An AJAX HTTP request terminated abnormally. Debugging information follows. Path: http://it.osu.edu/install.php?profile=standard&locale=en&id=1&op=do StatusText: ResponseText: ReadyState: 4

This error is thrown almost immediately (.5-1 second) after entering the database details and continuing to the next (progress bar) screen.



The issue seems to be spawning from the fact that Drupal is attempting to perform a HTTP AJAX request, as opposed to a HTTPS request. Due to our network setup, all web traffic to the end user is done via HTTPS and all traffic between the NetScaler is done via HTTP.



There's a ton more information, including what I've tried and specific environment information, in the bug report. I would love to hear any input that anyone has on this!



Thanks,

-Luke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/drupal/attachments/20130408/736c91e0/attachment.html>


More information about the Drupal mailing list