When viewing a page that is HTTP auth password protected, we sometimes
get
an error 500 (internal server error), but 100% of the time, a browser
reload
of the page makes it work the second time around. The ngnix error log
shows
this:
It makes me wonder if maybe nginx worker processes can never read the
auth_basic_user_file the first time it tries for some reason (but always
can
after that first try)? Like I mentioned, it will work properly 100% of
the
time on a browser reload.
Thanks… that patch seems to have fixed it. I haven’t done exhaustive
testing, but if the crypt_r()/internal server errors pop up again, I’ll
post
back here.
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.