Websockets will not stay open

12 views
Skip to first unread message

platreides720

unread,
Jun 4, 2020, 5:11:52 PM6/4/20
to Project Jupyter
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?

Reply all
Reply to author
Forward
0 new messages