Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting error: 500 GET /hub/user/(null)/ ((null) #12

Open
techie879 opened this issue Oct 6, 2018 · 1 comment
Open

getting error: 500 GET /hub/user/(null)/ ((null) #12

techie879 opened this issue Oct 6, 2018 · 1 comment

Comments

@techie879
Copy link

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:

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

This is a setup with reverse proxy, apache version 2.4.

Thanks.

@cwaldbieser
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@cwaldbieser @techie879 and others