[W 2018-08-21 17:43:33.352 NotebookApp] 404 PUT /api/contents/PySpark/notebook.ipynb (10.16.0.144) 4504.03ms referer=https://pnhr01hdi-corpdir.msappproxy.net/jupyter/notebooks/PySpark/notebook.ipynb Blocking Cross Origin API request. Origin: https://xxx.xxx.xxx, Host: pnhr01.j101qxjrl...
后台报Blocking Cross Origin API request? A: 在jupyter_notebook_config.py中找到c.NotebookApp.allow_origin(48行左右), 取消注释并将值改为'*'. Q: 无法访问Notebook, 后台报non localhost? A: 在jupyter_notebook_config.py中找到c.NotebookApp.ip(204行左右), 取消注释并将值改为'*'. Q: 无法访...
其中allow_origin如果不设置,会报Blocking Cross Origin API request for /api/contents错误。certfile和keyfile是 https 协议的签名文件路径,详见下文。 开启远程服务,需设置登录密码: $ jupyter notebook password Enter password: *** Verify password: *** 该密码会记录在~/.jupyter/jupyter_notebook_config.jso...
看看后台的错误输出。 如果是 Blocking Cross Origin API request for /api/XXX 那是因为 jupyter 认为这个请求跨域了。 修改jupyter 配置,c.NotebookApp.allow\_origin = '*' 参考:jupyter 错误 Blocking Cross Origin API request for /api/XXX 解决有用 回复 撰写回答 你尚未登录,登录后可以 和开发者交流...
Q:反代后创建笔记本/别的操作失败? 后台报Blocking Cross Origin API request? A:在jupyter_notebook_config.py中找到c.NotebookApp.allow_origin(48行左右), 取消注释并将值改为'*'. Q:无法访问Notebook, 后台报non localhost? A:在jupyter_notebook_config.py中找到c.NotebookApp.ip(204行左右), 取消注释...
[W 05:32:04.276 NotebookApp] 404 POST /api/contents (172.17.0.1) 1.510000ms referer=http://jupyter.codingsprite.cn/tree? [W 05:38:44.705 NotebookApp] Blocking Cross Origin API request for /api/contents. Origin: http://jupyter.codingsprite.cn, Host: 172.17.0.1:8088 ...
log import LogFormatter, app_log, access_log, gen_log if not sys.platform.startswith('win'): from tornado.netutil import bind_unix_socket from notebook import ( DEFAULT_NOTEBOOK_PORT, DEFAULT_STATIC_FILES_PATH, DEFAULT_TEMPLATE_PATH_LIST, __version__, ) from .base.handlers import ...
(signal.SIGINT, self._signal_stop) # request confirmation dialog in bg thread, to avoid # blocking the App thread = threading.Thread(target=self._confirm_exit) thread.daemon = True thread.start() def _restore_sigint_handler(self): """callback for restoring original SIGIN...
jupyter notebook 404请求错误 将jupyter部署到服务器后,发现无法新建文件 错误日志如图 尝试了以下方法: 升级jupyter 原先是pip安装,改为conda安装 nginx配置调试 最终错误定位在jupyter config文件的配置 错误日志中出现这样一句Blocking Cross Origin API request. Origin: http://evil.co... ...
jupyternotebook404请求错误 将jupyter部署到服务器后,发现无法新建文件 错误日志如图 尝试了以下方法: 升级jupyter原先是pip安装,改为conda安装nginx配置调试 最终错误定位在jupyterconfig文件的配置错误日志中出现这样一句Blocking Cross Origin API request. Origin: http ...