##// END OF EJS Templates
Set kernel_id before checking websocket...
Set kernel_id before checking websocket If websocket attempt fails and cross origin attempt is detected, a HTTPError(404) error is raised. However, in the process of closing connections because of this 404 error, an unhandled Attribute exception (kernel_id not an attribute) is raised. Setting the kernel_id first avoids this.

File last commit:

r14009:6f019b30
r17010:30f006db
Show More
cluster.py
3 lines | 115 B | text/x-python | PythonLexer
if __name__ == '__main__':
from IPython.parallel.apps import ipclusterapp as app
app.launch_new_instance()