403: Forbidden when exporting a Jupyter notebook

I write Julia codes in Jupyter Lab on Safari and Mac computer with the latest OSX BigSur. When I try to export the notebook, regardless which export option I choose, the Safari browser always give me an error message ‘403: Forbidden. Blocking request from unknown origin’.

Could anyone here share some helpful information with me? Thank you in advance.

3 Likes

Also receiving this error! Running Jupyter Lab on Windows 11 via WSL2 (Ubuntu-20.04).

I also see receive, on export:

403: Forbidden
The error was: Blocking request from unknown origin

The logs specify:

[W 2021-12-05 13:02:56.303 ServerApp] Blocking request with no referer
[W 2021-12-05 13:02:56.304 ServerApp] 403 GET /nbconvert/pdf/hw6.ipynb?download=true (127.0.0.1): Blocking request from unknown origin
[W 2021-12-05 13:02:56.342 ServerApp] 403 GET /nbconvert/pdf/hw6.ipynb?download=true (127.0.0.1) 39.57ms referer=None

Anyone make any progress on solving this? It also doesn’t work on Safari for me for Jupyter Lab.

Experiencing this too. Might be related to Blocking request from unknown origin in Chrome not Firefox · Issue #7539 · jupyterlab/jupyterlab · GitHub and/or CSPReportHandler should likely be unauthenticated. · Issue #11916 · jupyterlab/jupyterlab · GitHub ?

anyone solved this problem?