Hi Tim,
First, apologies for the breach in etiquette, will use reply-all on this
list.
After following the thread in github and your hint that a apt-gettable
package for luasocket exists, I purged everything from luarocks and
installed from debian repos and the script is no longer producing errors
and the backend is successfully logging connections.
A follow up question, if I may: my backend leads to a simple apache
DocumentRoot with auth that works as expected when accessed directly. I
was expecting when accessing through haproxy that when the auth-request
script did its subrequest, I would get the apache credentials pop up in
the browser. However, no pop up happens, and the backend immediately
fails. Did I misunderstand how this would work?
I thought that maybe the user/pass needs to be included in the url
(http://user:[email protected]), but the behaviour remains the same....
On 2018-09-04 07:35 AM, Tim Düsterhus wrote:
Hi all,
Am 04.09.2018 um 13:50 schrieb Tim Düsterhus:
Someone reported the same error in the issue tracker on GitHub:
https://github.com/TimWolla/haproxy-auth-request/issues/4
The issue in the bug tracker was caused by an old version of lua-socket.
Unfortunately the author of lua-socket does not seem to do regular
releases (at least there are no git tags) which makes it hard to specify
what a supported version is.
Best regards
Tim Düsterhus