Open zry979 opened 4 years ago
The notebook server works but floods the terminal log with these messages every few seconds.
[W 21:35:59.166 NotebookApp] 403 GET /api/kernels?1672259759163 (127.0.0.1) 0.720000ms referer=None
[W 21:36:01.825 NotebookApp] Forbidden
[W 21:36:01.825 NotebookApp] 403 GET /api/kernelspecs?1672259761822 (127.0.0.1) 0.990000ms referer=None
[W 21:36:14.655 NotebookApp] Forbidden
[W 21:36:14.655 NotebookApp] 403 GET /api/sessions?1672259774651 (127.0.0.1) 0.910000ms referer=None
[W 21:36:16.212 NotebookApp] Forbidden
[W 21:36:16.213 NotebookApp] 403 GET /api/sessions?1672259776209 (127.0.0.1) 0.700000ms referer=None
Also having similar issues:
[W 12:49:38.781 NotebookApp] 403 PUT /api/contents/mnist/notebook19f6927d6b.ipynb (::1) 1.330000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 12:51:38.748 NotebookApp] Forbidden
[W 12:51:38.748 NotebookApp] 403 GET /api/contents/mnist/notebook19f6927d6b.ipynb?content=0&_=1673540578348 (::1) 1.070000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 12:51:38.769 NotebookApp] Forbidden
[W 12:51:38.769 NotebookApp] 403 PUT /api/contents/mnist/notebook19f6927d6b.ipynb (::1) 1.190000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 12:53:38.827 NotebookApp] Forbidden
[W 12:53:38.829 NotebookApp] 403 GET /api/contents/mnist/notebook19f6927d6b.ipynb?content=0&_=1673540578349 (::1) 3.070000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 12:53:38.859 NotebookApp] Forbidden
[W 12:53:38.860 NotebookApp] 403 PUT /api/contents/mnist/notebook19f6927d6b.ipynb (::1) 1.630000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 12:55:39.138 NotebookApp] Forbidden
[W 12:55:39.138 NotebookApp] 403 GET /api/contents/mnist/notebook19f6927d6b.ipynb?content=0&_=1673540578350 (::1) 1.210000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 12:55:39.188 NotebookApp] Forbidden
[W 12:55:39.188 NotebookApp] 403 PUT /api/contents/mnist/notebook19f6927d6b.ipynb (::1) 1.670000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 12:57:38.751 NotebookApp] Forbidden
[W 12:57:38.752 NotebookApp] 403 GET /api/contents/mnist/notebook19f6927d6b.ipynb?content=0&_=1673540578351 (::1) 0.950000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 12:57:38.777 NotebookApp] Forbidden
[W 12:57:38.777 NotebookApp] 403 PUT /api/contents/mnist/notebook19f6927d6b.ipynb (::1) 2.160000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 12:59:39.387 NotebookApp] Forbidden
[W 12:59:39.388 NotebookApp] 403 GET /api/contents/mnist/notebook19f6927d6b.ipynb?content=0&_=1673540578352 (::1) 1.700000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 12:59:39.412 NotebookApp] Forbidden
[W 12:59:39.412 NotebookApp] 403 PUT /api/contents/mnist/notebook19f6927d6b.ipynb (::1) 2.270000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 13:01:38.749 NotebookApp] Forbidden
[W 13:01:38.749 NotebookApp] 403 GET /api/contents/mnist/notebook19f6927d6b.ipynb?content=0&_=1673540578353 (::1) 0.890000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 13:01:38.772 NotebookApp] Forbidden
[W 13:01:38.772 NotebookApp] 403 PUT /api/contents/mnist/notebook19f6927d6b.ipynb (::1) 1.480000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 13:03:38.780 NotebookApp] Forbidden
[W 13:03:38.781 NotebookApp] 403 GET /api/contents/mnist/notebook19f6927d6b.ipynb?content=0&_=1673540578354 (::1) 1.790000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
[W 13:03:38.816 NotebookApp] Forbidden
[W 13:03:38.816 NotebookApp] 403 PUT /api/contents/mnist/notebook19f6927d6b.ipynb (::1) 1.420000ms referer=http://localhost:8889/notebooks/mnist/notebook19f6927d6b.ipynb
In addition I notice on refresh of a notebook or jupyter page, I get re-prompted for my token. I'm also seeing this in my log:
[E 13:23:56.741 NotebookApp] Error unpacking user from cookie: Extra data: line 1 column 8 (char 7)
In addition I notice on refresh of a notebook or jupyter page, I get re-prompted for my token. I'm also seeing this in my log:
[E 13:23:56.741 NotebookApp] Error unpacking user from cookie: Extra data: line 1 column 8 (char 7)
@TheCleric - interesting, we're seeing this too via Binder - linking here in case it's relevant... https://github.com/jupyterhub/binderhub/issues/1622
@TheCleric - see my comment here ... have you tried pinning to jupyterlab 3.4.8?
I just ran into this as well, and installing an older version of jupyter-server (pip install 'jupyter-server<2'
) made it work. I see there's also a jupyter-server issue: https://github.com/jupyter-server/jupyter_server/issues/1038
Same issue here, downgrading jupyter-server didn't work either
edit: not sure why but changing the port from 8888 to 8885 made the warnings go away
Forbidden 403 GET /api/sessions?1590785577432 (127.0.0.1) 4.99ms referer=None
I can open the jupyter notebook with chorme successfully but cannot do anything with the errors above