Re: LB problems - 'too many directs'.

Tim O'Connor <[email protected]> Mon, 25 Nov 2019 04:37:52 +0000
Newsgroups gmane.education.ezproxy
Message-ID <ME2PR01MB40198F309863BD6096E90464B84A0@ME2PR01MB4019.ausprd01.prod.outlook.com>
That should have been 'too many redirects'.

From: Tim O'Connor
Sent: Monday, 25 November 2019 11:23 AM
To: EZproxy List <[email protected]>
Subject: LB problems - 'too many directs'.

So I am trying to put our ezproxy behind a Load balancer. We have two nodes, and have the following config for each:

LoginPort -virtual 80
LoginPortSSL -virtual 443
LoginPort 8080
LoginPortSSL -http 8081

The LB is offloading https->http to port 8081.  Non http traffic is going to port 8080.  I can get each separate exproxy node to work just fine, but as soon as I have both running at the same time, all hell breaks loose.  I am getting 'to many redirects, as soon as I try to access resources.  I am guessing that this is because Ezproxy must make redirects to itself, and has no way of knowing which session it came from, and so is bouncing around.  I actually tried this config:

LBPeer -host=ezprtstap21.int.its.rmit.edu.au -http=8080 tstezpalum1
LBPeer -host=ezprtstap21.int.its.rmit.edu.au -https=8081 tstezpalum2

LBPeer -host=ezprtstap22.int.its.rmit.edu.au -http=8080 tstezpalum3
LBPeer -host=ezprtstap22.int.its.rmit.edu.au -http=8081 tstezpalum4

But it doesn't appear to do anything.

Has anyone gotten their Ezproxy environment working behind a LB with multiple nodes?

-
Tim O'Connor (Senior Developer),  Learning Teaching and Research Solutions Centre.


********************************************************************
If you wish to stop receiving messages from EZPROXY-L or otherwise amend your preferences,
you can do so <a href="https://www.oclc.org/forms/internet-subscription.en.html">here</a>.
Or email [email protected] including the relevant text below in the body of the email:
• To unsubscribe: "unsubscribe EZPROXY-L"
• To receive EZPROXY-L in digest form: "set EZPROXY-L digest"
• To set your options to no mail: "set EZPROXY-L nomail"
• To receive these messages in the future "set EZPROXY-L mail"
To contact the list owners directly please send your message to [email protected].
If you unsubscribe from EZPROXY-L, you will no longer be able to participate in any of its features, including the public forum.
To unsubscribe from all OCLC marketing email communications
(including all OCLC listervs, OCLC Connect emails, OCLC event notifications, product/service/cooperative updates and newsletters),
please email us at [email protected].