I'm running jupyterhub on RHEL7 with authentication through generic oauth2, apache reverse proxy. I can login, spawn a server and see the environment and launch notebooks. When the notebook launches I can not run it. I keep getting "kernel connecting " errors and messages that the websocket connection has closed early. I added this to my httpd.conf file:
# Use RewriteEngine to handle websocket connection upgrades
RewriteEngine On
RewriteCond %
{HTTP:Connection
} Upgrade
[NC
]
RewriteCond %
{HTTP:Upgrade
} websocket
[NC
]
RewriteRule /
(.*
) ws://
127.0.0.1:8000/$1 [P,L
]
but still the websocket closes and the kernel will not connect. Can anyone offer any insight?