HTTPS SSL Proxy Dropdown Menu Issues

HTTPS SSL Proxy Dropdown Menu Issues

by Seth Whitworth -
Number of replies: 2

Hello,

We recently tried to change one of our sites from http to https. We are running Moodle 2.2.4 and using an SSL Offloader built into our LoadBalancer.

To change the site addresses I updated $CFG->wwwroot to have the https address, I also set $CFG->sslproxy =1 and finally I ran the /admin/tool/replace to replace http://domain.com with https://domain.com.

All seemed okay, the site loads, but we have teachers reporting issues. Now my teachers are unable to access any of the drop-down menus in the Navigation Blocks or Settings Block. When you click link  My Profile, for example, (or the arrow) nothing loads. The link highlights but the tree doesn’t expand.

I decided to switch back to standard http and removed the sslproxy setting and all works as expected. I am unsure how to proceed, any advice is greatly appreciated.

Thanks,

Seth

 

Average of ratings: -
In reply to Seth Whitworth

Re: HTTPS SSL Proxy Dropdown Menu Issues

by Seth Whitworth -

I think I have identified the problem. It looks like it is related to http://tracker.moodle.org/browse/MDL-33636.

When I have YUI Combo Loading enabled one of the combo loads returns a "Request URI too long" error message which was causing the issues. When I disable Combo loading everything works as expected. The only problem with this is the performance. 

I noticed that it was fixed in 2.3, I need to try and find a workaround for 2.2.4, anyone have an ideas?

In reply to Seth Whitworth

Re: HTTPS SSL Proxy Dropdown Menu Issues

by Seth Whitworth -

Final Update:

Looks like this problem was caused by our SSL Proxy not accepting the same size URL as our Apache Server. The error was being returned from the SSL Proxy (pound) and not Apache. 

After changing the MAXBUF setting in pound we are good to go!