I have attempted several configs to get websockets to properly proxy with 
apache, however I am still running into this error.

failed: Error during WebSocket handshake: Unexpected response code: 400

Below is the current applicable part of the apache config.

RewriteRule ^/jupyter$ /jupyter/ [R]
RewriteRule ^/jupyter(.*) http://localhost:8000/jupyter$1 [P]
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule 
^/jupyter/(services/[^/]*)|(user/[^/]*)/(api/kernels/[^/]+/channels|terminals/websocket)/?
 
wss://localhost:8000/$1 [P,L]

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/872a2f33-c277-4dbe-88be-ee2e96ff7681%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to