I am trying to connect to remote jupyter server which is running in remote server inside a docker. from vs code (local machine) with the help of jupyter extension, and running a newly created notebook. The problem seems to be the kernel creation via this method for this newly created notebook.
My Jupyter Server is running in remote server, inside a docker environment, with port forwarding enable. I can access it via my browser by http://{remote_machine_ip}:{port}/, and I am able to create new jupyter notebook. However when I use the vs code to open local notebook file, and connect to the remote jupyter server. When I try to run the cells, it shows the following error:
Failed to start the Kernel.
'_xsrf' argument missing from POST.
View Jupyter log for further details.
Possible solution However, if I try to open a new kernel in browser, and connect it to same kernel in vs code, the problem goes away.