Jupyter websocket issue -
i have debian jupyter running on port 8888.
i want make easier connect server,so have node.js app running forwards request jupyter.mydomain.com:80 port 8888, andother domains other ports.
this way dont have remember ports of different apps, , instead can refer server different dns names. different names setup links in dns server.
now jupyter works way; websockets report result of calculations not due security error.
is there setting how can work?
regards
andreas
node-http-proxy node proxy supports websockets. node app that's proxying requests must proxy websocket connections.
jupyterhub multi-user server spawning , authenticating single-user notebook servers, , uses configurable-http-proxy, subclass of node-http-proxy adds live configuration, relay connections notebooks. if use nhp or chp proxy app, websockets should work.
from node-http-proxy readme:
you can activate websocket support proxy using
ws:true
in options.// // create proxy server websockets // httpproxy.createserver({ target: 'ws://localhost:9014', ws: true }).listen(8014);
Comments
Post a Comment