jhub_remote_user_authenticator
jhub_remote_user_authenticator copied to clipboard
getting error: 500 GET /hub/user/(null)/ ((null)
Hi,
I am working setting up jhub authentication with shibboleth. I came across your post and installed it. I am getting the following error when I try to authenticate with shibboleth:
E 2018-10-05 17:24:24.077 JupyterHub log:158] 500 GET /hub/user/(null)/ ((null)@128.200.34.48) 437.95ms
Can you please shed some light into this? Here is my apache config: <Location /> RequestHeader unset Accept-Encoding ProxyPass http://128.x.x.x:8000/ ProxyPassReverse http://128.x.x.x:8000/ ProxyPreserveHost on AuthType shibboleth ShibRequestSetting requireSession 1 Require valid-user ShibUseHeaders On RewriteEngine On
SetEnvIfNoCase ^REMOTE_USER$ ^(.*)$ Remote_user=$1 RequestHeader set X-Remote-User %{Remote_user}s env=Remote_user </Location>
This is a setup with reverse proxy, apache version 2.4.
Thanks.
You might want to take a look at the test VM I use. It uses Apache with Basic AuthN as a reverse proxy. The relevant Apache config might be useful.
I think an acquaintance of mine actually set up a Shibboleth SP using this authenticator. If I can find the settings he used, I'll try to include them as an example.