Hi, I noticed a strange behavior when using a jupyter lab server running on a docker image.
when I put this below in google chrome:
http://localhost:8888/api/kernelspecs?token=4dc1910c6ba58541990ec8ad5fabacd5990113fd065f838c
i get:
{“message”: “Forbidden”, “reason”: null}
When i put the exact same url in microsoft explorer, i get the kernelspecs json below. Any ideas why? I am trying to do the same with an html webapp and getting the same behavior than chrome ( ie no answer). thank you
I did add “disable_check_xsrf”: true in the json config file (/home/sysml/.jupyter/jupyter_notebook_config.json) but no effect on the behaviour in chrome or the local webapp.
{
“default”: “python3”,
“kernelspecs”: {
“sysml”: {
“name”: “sysml”,
“spec”: {
“argv”: [
“java”,
“-jar”,
“/home/sysml/conda/share/jupyter/kernels/sysml/jupyter-sysml-kernel-0.33.0-all.jar”,
“{connection_file}”
],
“env”: {
"ISY
},
“display_name”: “SysML”,
“language”: “sysml”,
“interrupt_mode”: “message”,
“metadata”: {}
},
“resources”: {
“kernel.js”: “/kernelspecs/sysml/kernel.js”
}
},
“python3”: {
“name”: “python3”,
“spec”: {
“argv”: [
“/home/sysml/conda/bin/python”,
“-m”,
“ipykernel_launcher”,
“-f”,
“{connection_file}”
],
“env”: {},
“display_name”: “Python 3 (ipykernel)”,
“language”: “python”,
“interrupt_mode”: “signal”,
“metadata”: {
“debugger”: true
}
},
“resources”: {
“logo-64x64”: “/kernelspecs/python3/logo-64x64.png”,
“logo-svg”: “/kernelspecs/python3/logo-svg.svg”,
“logo-32x32”: “/kernelspecs/python3/logo-32x32.png”
}
}
}
}